]> 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.20
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
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121 #endif
122
123 /***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134 #include "Python.h"
135
136 #ifdef __cplusplus
137 extern "C" {
138 #endif
139
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
145
146 /* Flags for pointer conversion */
147
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
150
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
153
154 /* Constant information structure */
155 typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162 } swig_const_info;
163
164
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204 /* Contract support */
205
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216 #ifdef __cplusplus
217 }
218 #endif
219
220
221
222 /* -------- TYPES TABLE (BEGIN) -------- */
223
224 #define SWIGTYPE_p_wxLogChain swig_types[0]
225 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
226 #define SWIGTYPE_p_wxFileHistory swig_types[2]
227 #define SWIGTYPE_p_wxLog swig_types[3]
228 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
229 #define SWIGTYPE_p_wxMenu swig_types[5]
230 #define SWIGTYPE_p_wxEvent swig_types[6]
231 #define SWIGTYPE_p_wxConfigBase swig_types[7]
232 #define SWIGTYPE_p_wxWave swig_types[8]
233 #define SWIGTYPE_p_wxFileType swig_types[9]
234 #define SWIGTYPE_p_wxLogGui swig_types[10]
235 #define SWIGTYPE_p_wxFont swig_types[11]
236 #define SWIGTYPE_p_wxDataFormat swig_types[12]
237 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
238 #define SWIGTYPE_p_wxCaret swig_types[14]
239 #define SWIGTYPE_p_int swig_types[15]
240 #define SWIGTYPE_p_wxSize swig_types[16]
241 #define SWIGTYPE_p_wxClipboard swig_types[17]
242 #define SWIGTYPE_p_wxStopWatch swig_types[18]
243 #define SWIGTYPE_p_wxDC swig_types[19]
244 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
245 #define SWIGTYPE_p_wxIcon swig_types[21]
246 #define SWIGTYPE_p_wxLogStderr swig_types[22]
247 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
248 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
249 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
250 #define SWIGTYPE_p_wxFileDataObject swig_types[26]
251 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
252 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
253 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
254 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
255 #define SWIGTYPE_p_wxDataObject swig_types[31]
256 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
257 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
258 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
259 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
260 #define SWIGTYPE_p_wxLogWindow swig_types[36]
261 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
262 #define SWIGTYPE_p_wxArrayString swig_types[38]
263 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
264 #define SWIGTYPE_p_wxToolTip swig_types[40]
265 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
266 #define SWIGTYPE_p_wxFileConfig swig_types[42]
267 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
268 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
269 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
270 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
271 #define SWIGTYPE_p_wxRect swig_types[47]
272 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
273 #define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
274 #define SWIGTYPE_p_wxFrame swig_types[50]
275 #define SWIGTYPE_p_wxTimer swig_types[51]
276 #define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
277 #define SWIGTYPE_p_wxPyArtProvider swig_types[53]
278 #define SWIGTYPE_p_wxPyTipProvider swig_types[54]
279 #define SWIGTYPE_p_wxTipProvider swig_types[55]
280 #define SWIGTYPE_p_wxJoystick swig_types[56]
281 #define SWIGTYPE_p_wxSystemOptions swig_types[57]
282 #define SWIGTYPE_p_wxPoint swig_types[58]
283 #define SWIGTYPE_p_wxJoystickEvent swig_types[59]
284 #define SWIGTYPE_p_wxCursor swig_types[60]
285 #define SWIGTYPE_p_wxObject swig_types[61]
286 #define SWIGTYPE_p_wxOutputStream swig_types[62]
287 #define SWIGTYPE_p_wxDateTime swig_types[63]
288 #define SWIGTYPE_p_wxPyDropSource swig_types[64]
289 #define SWIGTYPE_p_wxWindow swig_types[65]
290 #define SWIGTYPE_p_wxString swig_types[66]
291 #define SWIGTYPE_p_wxPyProcess swig_types[67]
292 #define SWIGTYPE_p_wxBitmap swig_types[68]
293 #define SWIGTYPE_p_wxConfig swig_types[69]
294 #define SWIGTYPE_p_wxChar swig_types[70]
295 #define SWIGTYPE_p_wxBusyInfo swig_types[71]
296 #define SWIGTYPE_p_wxPyDropTarget swig_types[72]
297 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
298 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
299 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
300 #define SWIGTYPE_p_wxPyLog swig_types[76]
301 #define SWIGTYPE_p_wxLogNull swig_types[77]
302 #define SWIGTYPE_p_wxColour swig_types[78]
303 #define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
304 #define SWIGTYPE_p_wxPyTimer swig_types[80]
305 #define SWIGTYPE_p_wxDateSpan swig_types[81]
306 static swig_type_info *swig_types[83];
307
308 /* -------- TYPES TABLE (END) -------- */
309
310
311 /*-----------------------------------------------
312 @(target):= _misc.so
313 ------------------------------------------------*/
314 #define SWIG_init init_misc
315
316 #define SWIG_name "_misc"
317
318 #include "wx/wxPython/wxPython.h"
319 #include "wx/wxPython/pyclasses.h"
320 #include "wx/wxPython/pyistream.h"
321
322 DECLARE_DEF_STRING(EmptyString);
323
324
325
326
327
328 DECLARE_DEF_STRING(FileSelectorPromptStr);
329 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
330 DECLARE_DEF_STRING(DirSelectorPromptStr);
331
332
333 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
334 PyObject* o2;
335 PyObject* o3;
336
337 if (!target) {
338 target = o;
339 } else if (target == Py_None) {
340 Py_DECREF(Py_None);
341 target = o;
342 } else {
343 if (!PyTuple_Check(target)) {
344 o2 = target;
345 target = PyTuple_New(1);
346 PyTuple_SetItem(target, 0, o2);
347 }
348 o3 = PyTuple_New(1);
349 PyTuple_SetItem(o3, 0, o);
350
351 o2 = target;
352 target = PySequence_Concat(o2, o3);
353 Py_DECREF(o2);
354 Py_DECREF(o3);
355 }
356 return target;
357 }
358
359
360 long wxGetFreeMemory()
361 { PyErr_SetNone(PyExc_NotImplementedError); return 0; }
362
363
364 void wxWakeUpMainThread() {}
365
366
367 bool wxThread_IsMain() {
368 #ifdef WXP_WITH_THREAD
369 return wxThread::IsMain();
370 #else
371 return True;
372 #endif
373 }
374
375
376 int wxCaret_GetBlinkTime() {
377 return wxCaret::GetBlinkTime();
378 }
379
380 void wxCaret_SetBlinkTime(int milliseconds) {
381 wxCaret::SetBlinkTime(milliseconds);
382 }
383
384
385 #include <wx/snglinst.h>
386
387
388 #ifdef __WXMSW__
389 #include <wx/msw/private.h>
390 #include <wx/dynload.h>
391 #endif
392
393
394
395 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
396 {
397 #ifdef __WXMSW__
398
399 switch (method)
400 {
401 case 1:
402 // This one only partially works. Appears to be an undocumented
403 // "standard" convention that not all widgets adhear to. For
404 // example, for some widgets backgrounds or non-client areas may
405 // not be painted.
406 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
407 break;
408
409 case 2:
410 // This one works much better, except for on XP. On Win2k nearly
411 // all widgets and their children are captured correctly[**]. On
412 // XP with Themes activated most native widgets draw only
413 // partially, if at all. Without themes it works just like on
414 // Win2k.
415 //
416 // ** For example the radio buttons in a wxRadioBox are not its
417 // children by default, but you can capture it via the panel
418 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
419 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
420 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
421 PRF_ERASEBKGND | PRF_OWNED );
422 break;
423
424 case 3:
425 // This one is only defined in the latest SDK and is only
426 // available on XP. MSDN says it is similar to sending WM_PRINT
427 // so I expect that it will work similar to the above. Since it
428 // is avaialble only on XP, it can't be compiled like this and
429 // will have to be loaded dynamically.
430 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
431
432 // fall through
433
434 case 4:
435 // Use PrintWindow if available, or fallback to WM_PRINT
436 // otherwise. Unfortunately using PrintWindow is even worse than
437 // WM_PRINT. For most native widgets nothing is drawn to the dc
438 // at all, with or without Themes.
439 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
440 static bool s_triedToLoad = False;
441 static PrintWindow_t pfnPrintWindow = NULL;
442 if ( !s_triedToLoad )
443 {
444
445 s_triedToLoad = True;
446 wxDynamicLibrary dllUser32(_T("user32.dll"));
447 if ( dllUser32.IsLoaded() )
448 {
449 wxLogNull nolog; // Don't report errors here
450 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
451 }
452 }
453 if (pfnPrintWindow)
454 {
455 printf("Using PrintWindow\n");
456 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
457 }
458 else
459 {
460 printf("Using WM_PRINT\n");
461 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
462 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
463 }
464 }
465 #endif
466 }
467
468
469
470 #include <wx/tipdlg.h>
471
472
473 class wxPyTipProvider : public wxTipProvider {
474 public:
475 wxPyTipProvider(size_t currentTip)
476 : wxTipProvider(currentTip) {}
477
478 DEC_PYCALLBACK_STRING__pure(GetTip);
479 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
480 PYPRIVATE;
481 };
482
483 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
484 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
485
486
487 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
488
489 wxString Log_TimeStamp(){
490 wxString msg;
491 wxLog::TimeStamp(&msg);
492 return msg;
493 }
494 void wxLog_Destroy(wxLog *self){ delete self; }
495
496 // A wxLog class that can be derived from in wxPython
497 class wxPyLog : public wxLog {
498 public:
499 wxPyLog() : wxLog() {}
500
501 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
502 bool found;
503 wxPyBeginBlockThreads();
504 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
505 PyObject* s = wx2PyString(szString);
506 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
507 Py_DECREF(s);
508 }
509 wxPyEndBlockThreads();
510 if (! found)
511 wxLog::DoLog(level, szString, t);
512 }
513
514 virtual void DoLogString(const wxChar *szString, time_t t) {
515 bool found;
516 wxPyBeginBlockThreads();
517 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
518 PyObject* s = wx2PyString(szString);
519 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
520 Py_DECREF(s);
521 }
522 wxPyEndBlockThreads();
523 if (! found)
524 wxLog::DoLogString(szString, t);
525 }
526
527 PYPRIVATE;
528 };
529
530
531
532
533 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
534
535
536 #include <wx/joystick.h>
537
538
539 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
540 // A C++ stub class for wxJoystick for platforms that don't have it.
541 class wxJoystick : public wxObject {
542 public:
543 wxJoystick(int joystick = wxJOYSTICK1) {
544 wxPyBeginBlockThreads();
545 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
546 wxPyEndBlockThreads();
547 }
548 wxPoint GetPosition() { return wxPoint(-1,-1); }
549 int GetZPosition() { return -1; }
550 int GetButtonState() { return -1; }
551 int GetPOVPosition() { return -1; }
552 int GetPOVCTSPosition() { return -1; }
553 int GetRudderPosition() { return -1; }
554 int GetUPosition() { return -1; }
555 int GetVPosition() { return -1; }
556 int GetMovementThreshold() { return -1; }
557 void SetMovementThreshold(int threshold) {}
558
559 bool IsOk(void) { return False; }
560 int GetNumberJoysticks() { return -1; }
561 int GetManufacturerId() { return -1; }
562 int GetProductId() { return -1; }
563 wxString GetProductName() { return ""; }
564 int GetXMin() { return -1; }
565 int GetYMin() { return -1; }
566 int GetZMin() { return -1; }
567 int GetXMax() { return -1; }
568 int GetYMax() { return -1; }
569 int GetZMax() { return -1; }
570 int GetNumberButtons() { return -1; }
571 int GetNumberAxes() { return -1; }
572 int GetMaxButtons() { return -1; }
573 int GetMaxAxes() { return -1; }
574 int GetPollingMin() { return -1; }
575 int GetPollingMax() { return -1; }
576 int GetRudderMin() { return -1; }
577 int GetRudderMax() { return -1; }
578 int GetUMin() { return -1; }
579 int GetUMax() { return -1; }
580 int GetVMin() { return -1; }
581 int GetVMax() { return -1; }
582
583 bool HasRudder() { return False; }
584 bool HasZ() { return False; }
585 bool HasU() { return False; }
586 bool HasV() { return False; }
587 bool HasPOV() { return False; }
588 bool HasPOV4Dir() { return False; }
589 bool HasPOVCTS() { return False; }
590
591 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
592 bool ReleaseCapture() { return False; }
593 };
594 #endif
595
596
597 #include <wx/wave.h>
598
599
600 #if !wxUSE_WAVE
601 // A C++ stub class for wxWave for platforms that don't have it.
602 class wxWave : public wxObject
603 {
604 public:
605 wxWave(const wxString& fileName, bool isResource = False) {
606 wxPyBeginBlockThreads();
607 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
608 wxPyEndBlockThreads();
609 }
610 wxWave(int size, const wxByte* data) {
611 wxPyBeginBlockThreads();
612 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
613 wxPyEndBlockThreads();
614 }
615
616 ~wxWave() {}
617
618 bool IsOk() const { return False; }
619 bool Play(bool async = True, bool looped = False) const { return False; }
620 };
621
622 #endif
623
624 wxWave *new_wxWave(wxString const &data){
625 return new wxWave(data.Len(), (wxByte*)data.c_str());
626 }
627
628 #include <wx/mimetype.h>
629
630 PyObject *wxFileType_GetMimeType(wxFileType *self){
631 wxString str;
632 if (self->GetMimeType(&str))
633 return wx2PyString(str);
634 else
635 RETURN_NONE();
636 }
637 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
638 wxArrayString arr;
639 if (self->GetMimeTypes(arr))
640 return wxArrayString2PyList_helper(arr);
641 else
642 RETURN_NONE();
643 }
644 PyObject *wxFileType_GetExtensions(wxFileType *self){
645 wxArrayString arr;
646 if (self->GetExtensions(arr))
647 return wxArrayString2PyList_helper(arr);
648 else
649 RETURN_NONE();
650 }
651 wxIcon *wxFileType_GetIcon(wxFileType *self){
652 wxIconLocation loc;
653 if (self->GetIcon(&loc))
654 return new wxIcon(loc);
655 else
656 return NULL;
657 }
658 PyObject *wxFileType_GetIconInfo(wxFileType *self){
659 wxIconLocation loc;
660 if (self->GetIcon(&loc)) {
661 wxString iconFile = loc.GetFileName();
662 int iconIndex = -1;
663
664
665
666 // Make a tuple and put the values in it
667 wxPyBeginBlockThreads();
668 PyObject* tuple = PyTuple_New(3);
669 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
670 wxT("wxIcon"), True));
671 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
672 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
673 wxPyEndBlockThreads();
674 return tuple;
675 }
676 else
677 RETURN_NONE();
678 }
679 PyObject *wxFileType_GetDescription(wxFileType *self){
680 wxString str;
681 if (self->GetDescription(&str))
682 return wx2PyString(str);
683 else
684 RETURN_NONE();
685 }
686 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
687 wxString str;
688 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
689 return wx2PyString(str);
690 else
691 RETURN_NONE();
692 }
693 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
694 wxString str;
695 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
696 return wx2PyString(str);
697 else
698 RETURN_NONE();
699 }
700 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
701 wxArrayString verbs;
702 wxArrayString commands;
703 if (self->GetAllCommands(&verbs, &commands,
704 wxFileType::MessageParameters(filename, mimetype))) {
705 wxPyBeginBlockThreads();
706 PyObject* tuple = PyTuple_New(2);
707 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
708 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
709 wxPyEndBlockThreads();
710 return tuple;
711 }
712 else
713 RETURN_NONE();
714 }
715 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
716 return wxFileType::ExpandCommand(command,
717 wxFileType::MessageParameters(filename, mimetype));
718 }
719 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
720 wxArrayString arr;
721 self->EnumAllFileTypes(arr);
722 return wxArrayString2PyList_helper(arr);
723 }
724
725 #include <wx/artprov.h>
726
727 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
728 static const wxString wxPyART_MENU(wxART_MENU);
729 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
730 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
731 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
732 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
733 static const wxString wxPyART_OTHER(wxART_OTHER);
734 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
735 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
736 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
737 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
738 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
739 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
740 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
741 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
742 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
743 static const wxString wxPyART_GO_UP(wxART_GO_UP);
744 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
745 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
746 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
747 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
748 static const wxString wxPyART_PRINT(wxART_PRINT);
749 static const wxString wxPyART_HELP(wxART_HELP);
750 static const wxString wxPyART_TIP(wxART_TIP);
751 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
752 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
753 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
754 static const wxString wxPyART_FOLDER(wxART_FOLDER);
755 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
756 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
757 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
758 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
759 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
760 static const wxString wxPyART_ERROR(wxART_ERROR);
761 static const wxString wxPyART_QUESTION(wxART_QUESTION);
762 static const wxString wxPyART_WARNING(wxART_WARNING);
763 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
764 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
765 // Python aware wxArtProvider
766 class wxPyArtProvider : public wxArtProvider {
767 public:
768
769 virtual wxBitmap CreateBitmap(const wxArtID& id,
770 const wxArtClient& client,
771 const wxSize& size) {
772 wxBitmap rval = wxNullBitmap;
773 wxPyBeginBlockThreads();
774 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
775 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
776 PyObject* ro;
777 wxBitmap* ptr;
778 PyObject* s1, *s2;
779 s1 = wx2PyString(id);
780 s2 = wx2PyString(client);
781 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
782 Py_DECREF(so);
783 Py_DECREF(s1);
784 Py_DECREF(s2);
785 if (ro) {
786 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
787 rval = *ptr;
788 Py_DECREF(ro);
789 }
790 }
791 wxPyEndBlockThreads();
792 return rval;
793 }
794
795 PYPRIVATE;
796 };
797
798
799
800
801 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
802 PyObject* ret = PyTuple_New(3);
803 if (ret) {
804 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
805 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
806 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
807 }
808 return ret;
809 }
810
811 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
812 bool cont;
813 long index = 0;
814 wxString value;
815
816 cont = self->GetFirstGroup(value, index);
817 return __EnumerationHelper(cont, value, index);
818 }
819 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
820 bool cont;
821 wxString value;
822
823 cont = self->GetNextGroup(value, index);
824 return __EnumerationHelper(cont, value, index);
825 }
826 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
827 bool cont;
828 long index = 0;
829 wxString value;
830
831 cont = self->GetFirstEntry(value, index);
832 return __EnumerationHelper(cont, value, index);
833 }
834 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
835 bool cont;
836 wxString value;
837
838 cont = self->GetNextEntry(value, index);
839 return __EnumerationHelper(cont, value, index);
840 }
841 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
842 long rv;
843 self->Read(key, &rv, defaultVal);
844 return rv;
845 }
846 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
847 double rv;
848 self->Read(key, &rv, defaultVal);
849 return rv;
850 }
851 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
852 bool rv;
853 self->Read(key, &rv, defaultVal);
854 return rv;
855 }
856
857 #include <wx/datetime.h>
858
859 DECLARE_DEF_STRING2(DateFormatStr, wxT("%c"));
860 DECLARE_DEF_STRING2(TimeSpanFormatStr, wxT("%H:%M:%S"));
861
862
863
864 #define LOCAL_TZ wxDateTime::Local
865
866 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
867 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
868 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
869 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
870 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
871 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
872 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
873 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
874 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
875 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
876 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
877 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
878 const wxChar* rv;
879 const wxChar* _date = date;
880 rv = self->ParseRfc822Date(_date);
881 if (rv == NULL) return -1;
882 return rv - _date;
883 }
884 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
885 const wxChar* rv;
886 const wxChar* _date = date;
887 rv = self->ParseFormat(_date, format, dateDef);
888 if (rv == NULL) return -1;
889 return rv - _date;
890 }
891 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
892 const wxChar* rv;
893 const wxChar* _datetime = datetime;
894 rv = self->ParseDateTime(_datetime);
895 if (rv == NULL) return -1;
896 return rv - _datetime;
897 }
898 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
899 const wxChar* rv;
900 const wxChar* _date = date;
901 rv = self->ParseDate(_date);
902 if (rv == NULL) return -1;
903 return rv - _date;
904 }
905 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
906 const wxChar* rv;
907 const wxChar* _time = time;
908 rv = self->ParseTime(_time);
909 if (rv == NULL) return -1;
910 return rv - _time;
911 }
912 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
913 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
914 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
915 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
916 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
917 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
918 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
919 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
920 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
921 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
922 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
923 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
924 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
925 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
926 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
927 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
928
929 #include <wx/dataobj.h>
930
931 // Create a new class for wxPython to use
932 class wxPyDataObjectSimple : public wxDataObjectSimple {
933 public:
934 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
935 : wxDataObjectSimple(format) {}
936
937 DEC_PYCALLBACK_SIZET__const(GetDataSize);
938 bool GetDataHere(void *buf) const;
939 bool SetData(size_t len, const void *buf) const;
940 PYPRIVATE;
941 };
942
943 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
944
945 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
946 // We need to get the data for this object and write it to buf. I think
947 // the best way to do this for wxPython is to have the Python method
948 // return either a string or None and then act appropriately with the
949 // C++ version.
950
951 bool rval = False;
952 wxPyBeginBlockThreads();
953 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
954 PyObject* ro;
955 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
956 if (ro) {
957 rval = (ro != Py_None && PyString_Check(ro));
958 if (rval)
959 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
960 Py_DECREF(ro);
961 }
962 }
963 wxPyEndBlockThreads();
964 return rval;
965 }
966
967 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
968 // For this one we simply need to make a string from buf and len
969 // and send it to the Python method.
970 bool rval = False;
971 wxPyBeginBlockThreads();
972 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
973 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
974 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
975 Py_DECREF(data);
976 }
977 wxPyEndBlockThreads();
978 return rval;
979 }
980
981 // Create a new class for wxPython to use
982 class wxPyTextDataObject : public wxTextDataObject {
983 public:
984 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
985 : wxTextDataObject(text) {}
986
987 DEC_PYCALLBACK_SIZET__const(GetTextLength);
988 DEC_PYCALLBACK_STRING__const(GetText);
989 DEC_PYCALLBACK__STRING(SetText);
990 PYPRIVATE;
991 };
992
993 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
994 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
995 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
996
997
998 // Create a new class for wxPython to use
999 class wxPyBitmapDataObject : public wxBitmapDataObject {
1000 public:
1001 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1002 : wxBitmapDataObject(bitmap) {}
1003
1004 wxBitmap GetBitmap() const;
1005 void SetBitmap(const wxBitmap& bitmap);
1006 PYPRIVATE;
1007 };
1008
1009 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1010 wxBitmap* rval = &wxNullBitmap;
1011 wxPyBeginBlockThreads();
1012 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1013 PyObject* ro;
1014 wxBitmap* ptr;
1015 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1016 if (ro) {
1017 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1018 rval = ptr;
1019 Py_DECREF(ro);
1020 }
1021 }
1022 wxPyEndBlockThreads();
1023 return *rval;
1024 }
1025
1026 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1027 wxPyBeginBlockThreads();
1028 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1029 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1030 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1031 Py_DECREF(bo);
1032 }
1033 wxPyEndBlockThreads();
1034 }
1035
1036 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1037 if (PyString_Check(data)) {
1038 // for Python we just call SetData here since we always need it to make a copy.
1039 self->SetData(PyString_Size(data), PyString_AsString(data));
1040 }
1041 else {
1042 // raise a TypeError if not a string
1043 PyErr_SetString(PyExc_TypeError, "String expected.");
1044 }
1045 }
1046 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1047 if (PyString_Check(data)) {
1048 return self->SetData(PyString_Size(data), PyString_AsString(data));
1049 }
1050 else {
1051 // raise a TypeError if not a string
1052 PyErr_SetString(PyExc_TypeError, "String expected.");
1053 return False;
1054 }
1055 }
1056 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1057 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1058 }
1059
1060 class wxMetafileDataObject : public wxDataObjectSimple
1061 {
1062 public:
1063 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); }
1064 };
1065
1066
1067 #include <wx/dnd.h>
1068
1069
1070 class wxPyDropSource : public wxDropSource {
1071 public:
1072 #ifndef __WXGTK__
1073 wxPyDropSource(wxWindow *win = NULL,
1074 const wxCursor &copy = wxNullCursor,
1075 const wxCursor &move = wxNullCursor,
1076 const wxCursor &none = wxNullCursor)
1077 : wxDropSource(win, copy, move, none) {}
1078 #else
1079 wxPyDropSource(wxWindow *win = NULL,
1080 const wxIcon& copy = wxNullIcon,
1081 const wxIcon& move = wxNullIcon,
1082 const wxIcon& none = wxNullIcon)
1083 : wxDropSource(win, copy, move, none) {}
1084 #endif
1085 ~wxPyDropSource() { }
1086
1087 DEC_PYCALLBACK_BOOL_DR(GiveFeedback);
1088 PYPRIVATE;
1089 };
1090
1091 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1092
1093
1094
1095 class wxPyDropTarget : public wxDropTarget {
1096 public:
1097 wxPyDropTarget(wxDataObject *dataObject = NULL)
1098 : wxDropTarget(dataObject) {}
1099
1100 // called when mouse leaves the window: might be used to remove the
1101 // feedback which was given in OnEnter()
1102 DEC_PYCALLBACK__(OnLeave);
1103
1104 // called when the mouse enters the window (only once until OnLeave())
1105 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1106
1107 // called when the mouse moves in the window - shouldn't take long to
1108 // execute or otherwise mouse movement would be too slow
1109 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1110
1111 // called after OnDrop() returns True: you will usually just call
1112 // GetData() from here and, probably, also refresh something to update the
1113 // new data and, finally, return the code indicating how did the operation
1114 // complete (returning default value in case of success and wxDragError on
1115 // failure is usually ok)
1116 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData);
1117
1118 // this function is called when data is dropped at position (x, y) - if it
1119 // returns True, OnData() will be called immediately afterwards which will
1120 // allow to retrieve the data dropped.
1121 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1122
1123 PYPRIVATE;
1124 };
1125
1126 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1127 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1128 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1129 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1130 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1131
1132
1133
1134 class wxPyTextDropTarget : public wxTextDropTarget {
1135 public:
1136 wxPyTextDropTarget() {}
1137
1138 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1139
1140 DEC_PYCALLBACK__(OnLeave);
1141 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1142 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1143 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1144 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1145
1146 PYPRIVATE;
1147 };
1148
1149 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1150 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1151 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1152 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1153 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1154 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1155
1156
1157
1158 class wxPyFileDropTarget : public wxFileDropTarget {
1159 public:
1160 wxPyFileDropTarget() {}
1161
1162 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1163
1164 DEC_PYCALLBACK__(OnLeave);
1165 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1166 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1167 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1168 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1169
1170 PYPRIVATE;
1171 };
1172
1173 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1174 const wxArrayString& filenames) {
1175 bool rval = False;
1176 wxPyBeginBlockThreads();
1177 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1178 PyObject* list = wxArrayString2PyList_helper(filenames);
1179 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1180 Py_DECREF(list);
1181 }
1182 wxPyEndBlockThreads();
1183 return rval;
1184 }
1185
1186
1187
1188 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1189 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1190 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1191 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1192 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1193
1194
1195
1196
1197 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1198 #ifdef __cplusplus
1199 extern "C" {
1200 #endif
1201 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject *resultobj;
1203 int arg1 ;
1204 wxColour result;
1205 char *kwnames[] = {
1206 (char *) "index", NULL
1207 };
1208
1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1210 {
1211 PyThreadState* __tstate = wxPyBeginAllowThreads();
1212 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1213
1214 wxPyEndAllowThreads(__tstate);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 }
1217 {
1218 wxColour * resultptr;
1219 resultptr = new wxColour((wxColour &) result);
1220 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1221 }
1222 return resultobj;
1223 fail:
1224 return NULL;
1225 }
1226
1227
1228 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1229 PyObject *resultobj;
1230 int arg1 ;
1231 wxFont result;
1232 char *kwnames[] = {
1233 (char *) "index", NULL
1234 };
1235
1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 {
1245 wxFont * resultptr;
1246 resultptr = new wxFont((wxFont &) result);
1247 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1248 }
1249 return resultobj;
1250 fail:
1251 return NULL;
1252 }
1253
1254
1255 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1256 PyObject *resultobj;
1257 int arg1 ;
1258 int result;
1259 char *kwnames[] = {
1260 (char *) "index", NULL
1261 };
1262
1263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1264 {
1265 PyThreadState* __tstate = wxPyBeginAllowThreads();
1266 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1267
1268 wxPyEndAllowThreads(__tstate);
1269 if (PyErr_Occurred()) SWIG_fail;
1270 }
1271 resultobj = PyInt_FromLong((long)result);
1272 return resultobj;
1273 fail:
1274 return NULL;
1275 }
1276
1277
1278 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 int arg1 ;
1281 bool result;
1282 char *kwnames[] = {
1283 (char *) "index", NULL
1284 };
1285
1286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1287 {
1288 PyThreadState* __tstate = wxPyBeginAllowThreads();
1289 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1290
1291 wxPyEndAllowThreads(__tstate);
1292 if (PyErr_Occurred()) SWIG_fail;
1293 }
1294 resultobj = PyInt_FromLong((long)result);
1295 return resultobj;
1296 fail:
1297 return NULL;
1298 }
1299
1300
1301 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1302 PyObject *resultobj;
1303 int result;
1304 char *kwnames[] = {
1305 NULL
1306 };
1307
1308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1309 {
1310 PyThreadState* __tstate = wxPyBeginAllowThreads();
1311 result = (int)wxSystemSettings::GetScreenType();
1312
1313 wxPyEndAllowThreads(__tstate);
1314 if (PyErr_Occurred()) SWIG_fail;
1315 }
1316 resultobj = PyInt_FromLong((long)result);
1317 return resultobj;
1318 fail:
1319 return NULL;
1320 }
1321
1322
1323 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1324 PyObject *resultobj;
1325 int arg1 ;
1326 char *kwnames[] = {
1327 (char *) "screen", NULL
1328 };
1329
1330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1331 {
1332 PyThreadState* __tstate = wxPyBeginAllowThreads();
1333 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1334
1335 wxPyEndAllowThreads(__tstate);
1336 if (PyErr_Occurred()) SWIG_fail;
1337 }
1338 Py_INCREF(Py_None); resultobj = Py_None;
1339 return resultobj;
1340 fail:
1341 return NULL;
1342 }
1343
1344
1345 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1346 PyObject *obj;
1347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1348 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1349 Py_INCREF(obj);
1350 return Py_BuildValue((char *)"");
1351 }
1352 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject *resultobj;
1354 wxSystemOptions *result;
1355 char *kwnames[] = {
1356 NULL
1357 };
1358
1359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1360 {
1361 PyThreadState* __tstate = wxPyBeginAllowThreads();
1362 result = (wxSystemOptions *)new wxSystemOptions();
1363
1364 wxPyEndAllowThreads(__tstate);
1365 if (PyErr_Occurred()) SWIG_fail;
1366 }
1367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1368 return resultobj;
1369 fail:
1370 return NULL;
1371 }
1372
1373
1374 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1375 PyObject *resultobj;
1376 wxString *arg1 = 0 ;
1377 wxString *arg2 = 0 ;
1378 bool temp1 = False ;
1379 bool temp2 = False ;
1380 PyObject * obj0 = 0 ;
1381 PyObject * obj1 = 0 ;
1382 char *kwnames[] = {
1383 (char *) "name",(char *) "value", NULL
1384 };
1385
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1387 {
1388 arg1 = wxString_in_helper(obj0);
1389 if (arg1 == NULL) SWIG_fail;
1390 temp1 = True;
1391 }
1392 {
1393 arg2 = wxString_in_helper(obj1);
1394 if (arg2 == NULL) SWIG_fail;
1395 temp2 = True;
1396 }
1397 {
1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
1399 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1400
1401 wxPyEndAllowThreads(__tstate);
1402 if (PyErr_Occurred()) SWIG_fail;
1403 }
1404 Py_INCREF(Py_None); resultobj = Py_None;
1405 {
1406 if (temp1)
1407 delete arg1;
1408 }
1409 {
1410 if (temp2)
1411 delete arg2;
1412 }
1413 return resultobj;
1414 fail:
1415 {
1416 if (temp1)
1417 delete arg1;
1418 }
1419 {
1420 if (temp2)
1421 delete arg2;
1422 }
1423 return NULL;
1424 }
1425
1426
1427 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxString *arg1 = 0 ;
1430 int arg2 ;
1431 bool temp1 = False ;
1432 PyObject * obj0 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "name",(char *) "value", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1438 {
1439 arg1 = wxString_in_helper(obj0);
1440 if (arg1 == NULL) SWIG_fail;
1441 temp1 = True;
1442 }
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 Py_INCREF(Py_None); resultobj = Py_None;
1451 {
1452 if (temp1)
1453 delete arg1;
1454 }
1455 return resultobj;
1456 fail:
1457 {
1458 if (temp1)
1459 delete arg1;
1460 }
1461 return NULL;
1462 }
1463
1464
1465 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1466 PyObject *resultobj;
1467 wxString *arg1 = 0 ;
1468 wxString result;
1469 bool temp1 = False ;
1470 PyObject * obj0 = 0 ;
1471 char *kwnames[] = {
1472 (char *) "name", NULL
1473 };
1474
1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1476 {
1477 arg1 = wxString_in_helper(obj0);
1478 if (arg1 == NULL) SWIG_fail;
1479 temp1 = True;
1480 }
1481 {
1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
1483 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1484
1485 wxPyEndAllowThreads(__tstate);
1486 if (PyErr_Occurred()) SWIG_fail;
1487 }
1488 {
1489 #if wxUSE_UNICODE
1490 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1491 #else
1492 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1493 #endif
1494 }
1495 {
1496 if (temp1)
1497 delete arg1;
1498 }
1499 return resultobj;
1500 fail:
1501 {
1502 if (temp1)
1503 delete arg1;
1504 }
1505 return NULL;
1506 }
1507
1508
1509 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1510 PyObject *resultobj;
1511 wxString *arg1 = 0 ;
1512 int result;
1513 bool temp1 = False ;
1514 PyObject * obj0 = 0 ;
1515 char *kwnames[] = {
1516 (char *) "name", NULL
1517 };
1518
1519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1520 {
1521 arg1 = wxString_in_helper(obj0);
1522 if (arg1 == NULL) SWIG_fail;
1523 temp1 = True;
1524 }
1525 {
1526 PyThreadState* __tstate = wxPyBeginAllowThreads();
1527 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1528
1529 wxPyEndAllowThreads(__tstate);
1530 if (PyErr_Occurred()) SWIG_fail;
1531 }
1532 resultobj = PyInt_FromLong((long)result);
1533 {
1534 if (temp1)
1535 delete arg1;
1536 }
1537 return resultobj;
1538 fail:
1539 {
1540 if (temp1)
1541 delete arg1;
1542 }
1543 return NULL;
1544 }
1545
1546
1547 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 wxString *arg1 = 0 ;
1550 bool result;
1551 bool temp1 = False ;
1552 PyObject * obj0 = 0 ;
1553 char *kwnames[] = {
1554 (char *) "name", NULL
1555 };
1556
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1558 {
1559 arg1 = wxString_in_helper(obj0);
1560 if (arg1 == NULL) SWIG_fail;
1561 temp1 = True;
1562 }
1563 {
1564 PyThreadState* __tstate = wxPyBeginAllowThreads();
1565 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1566
1567 wxPyEndAllowThreads(__tstate);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 resultobj = PyInt_FromLong((long)result);
1571 {
1572 if (temp1)
1573 delete arg1;
1574 }
1575 return resultobj;
1576 fail:
1577 {
1578 if (temp1)
1579 delete arg1;
1580 }
1581 return NULL;
1582 }
1583
1584
1585 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1586 PyObject *obj;
1587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1588 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1589 Py_INCREF(obj);
1590 return Py_BuildValue((char *)"");
1591 }
1592 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 long result;
1595 char *kwnames[] = {
1596 NULL
1597 };
1598
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 result = (long)wxNewId();
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) SWIG_fail;
1606 }
1607 resultobj = PyInt_FromLong((long)result);
1608 return resultobj;
1609 fail:
1610 return NULL;
1611 }
1612
1613
1614 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1615 PyObject *resultobj;
1616 long arg1 ;
1617 char *kwnames[] = {
1618 (char *) "id", NULL
1619 };
1620
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1622 {
1623 PyThreadState* __tstate = wxPyBeginAllowThreads();
1624 wxRegisterId(arg1);
1625
1626 wxPyEndAllowThreads(__tstate);
1627 if (PyErr_Occurred()) SWIG_fail;
1628 }
1629 Py_INCREF(Py_None); resultobj = Py_None;
1630 return resultobj;
1631 fail:
1632 return NULL;
1633 }
1634
1635
1636 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject *resultobj;
1638 long result;
1639 char *kwnames[] = {
1640 NULL
1641 };
1642
1643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1644 {
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (long)wxGetCurrentId();
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 resultobj = PyInt_FromLong((long)result);
1652 return resultobj;
1653 fail:
1654 return NULL;
1655 }
1656
1657
1658 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1659 PyObject *resultobj;
1660 char *kwnames[] = {
1661 NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1665 {
1666 PyThreadState* __tstate = wxPyBeginAllowThreads();
1667 wxBell();
1668
1669 wxPyEndAllowThreads(__tstate);
1670 if (PyErr_Occurred()) SWIG_fail;
1671 }
1672 Py_INCREF(Py_None); resultobj = Py_None;
1673 return resultobj;
1674 fail:
1675 return NULL;
1676 }
1677
1678
1679 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject *resultobj;
1681 char *kwnames[] = {
1682 NULL
1683 };
1684
1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1686 {
1687 PyThreadState* __tstate = wxPyBeginAllowThreads();
1688 wxEndBusyCursor();
1689
1690 wxPyEndAllowThreads(__tstate);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 }
1693 Py_INCREF(Py_None); resultobj = Py_None;
1694 return resultobj;
1695 fail:
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject *resultobj;
1702 bool arg1 = (bool) True ;
1703 long result;
1704 PyObject * obj0 = 0 ;
1705 char *kwnames[] = {
1706 (char *) "resetTimer", NULL
1707 };
1708
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1710 if (obj0) {
1711 arg1 = PyInt_AsLong(obj0) ? true : false;
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 {
1715 PyThreadState* __tstate = wxPyBeginAllowThreads();
1716 result = (long)wxGetElapsedTime(arg1);
1717
1718 wxPyEndAllowThreads(__tstate);
1719 if (PyErr_Occurred()) SWIG_fail;
1720 }
1721 resultobj = PyInt_FromLong((long)result);
1722 return resultobj;
1723 fail:
1724 return NULL;
1725 }
1726
1727
1728 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1729 PyObject *resultobj;
1730 int *arg1 = (int *) 0 ;
1731 int *arg2 = (int *) 0 ;
1732 int temp1 ;
1733 int temp2 ;
1734 char *kwnames[] = {
1735 NULL
1736 };
1737
1738 arg1 = &temp1;
1739 arg2 = &temp2;
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 wxGetMousePosition(arg1,arg2);
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 Py_INCREF(Py_None); resultobj = Py_None;
1749 {
1750 PyObject *o = PyInt_FromLong((long) (*arg1));
1751 resultobj = t_output_helper(resultobj,o);
1752 }
1753 {
1754 PyObject *o = PyInt_FromLong((long) (*arg2));
1755 resultobj = t_output_helper(resultobj,o);
1756 }
1757 return resultobj;
1758 fail:
1759 return NULL;
1760 }
1761
1762
1763 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject *resultobj;
1765 bool result;
1766 char *kwnames[] = {
1767 NULL
1768 };
1769
1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 result = (bool)wxIsBusy();
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 resultobj = PyInt_FromLong((long)result);
1779 return resultobj;
1780 fail:
1781 return NULL;
1782 }
1783
1784
1785 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject *resultobj;
1787 wxString result;
1788 char *kwnames[] = {
1789 NULL
1790 };
1791
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1793 {
1794 PyThreadState* __tstate = wxPyBeginAllowThreads();
1795 result = wxNow();
1796
1797 wxPyEndAllowThreads(__tstate);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 }
1800 {
1801 #if wxUSE_UNICODE
1802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1803 #else
1804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1805 #endif
1806 }
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxString const &arg1_defvalue = wxPyEmptyString ;
1816 wxString *arg1 = (wxString *) &arg1_defvalue ;
1817 bool result;
1818 bool temp1 = False ;
1819 PyObject * obj0 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "command", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1825 if (obj0) {
1826 {
1827 arg1 = wxString_in_helper(obj0);
1828 if (arg1 == NULL) SWIG_fail;
1829 temp1 = True;
1830 }
1831 }
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 result = (bool)wxShell((wxString const &)*arg1);
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 resultobj = PyInt_FromLong((long)result);
1840 {
1841 if (temp1)
1842 delete arg1;
1843 }
1844 return resultobj;
1845 fail:
1846 {
1847 if (temp1)
1848 delete arg1;
1849 }
1850 return NULL;
1851 }
1852
1853
1854 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1855 PyObject *resultobj;
1856 char *kwnames[] = {
1857 NULL
1858 };
1859
1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 wxStartTimer();
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 Py_INCREF(Py_None); resultobj = Py_None;
1869 return resultobj;
1870 fail:
1871 return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 int *arg1 = (int *) 0 ;
1878 int *arg2 = (int *) 0 ;
1879 int result;
1880 int temp1 ;
1881 int temp2 ;
1882 char *kwnames[] = {
1883 NULL
1884 };
1885
1886 arg1 = &temp1;
1887 arg2 = &temp2;
1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1889 {
1890 PyThreadState* __tstate = wxPyBeginAllowThreads();
1891 result = (int)wxGetOsVersion(arg1,arg2);
1892
1893 wxPyEndAllowThreads(__tstate);
1894 if (PyErr_Occurred()) SWIG_fail;
1895 }
1896 resultobj = PyInt_FromLong((long)result);
1897 {
1898 PyObject *o = PyInt_FromLong((long) (*arg1));
1899 resultobj = t_output_helper(resultobj,o);
1900 }
1901 {
1902 PyObject *o = PyInt_FromLong((long) (*arg2));
1903 resultobj = t_output_helper(resultobj,o);
1904 }
1905 return resultobj;
1906 fail:
1907 return NULL;
1908 }
1909
1910
1911 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1912 PyObject *resultobj;
1913 wxString result;
1914 char *kwnames[] = {
1915 NULL
1916 };
1917
1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1919 {
1920 PyThreadState* __tstate = wxPyBeginAllowThreads();
1921 result = wxGetOsDescription();
1922
1923 wxPyEndAllowThreads(__tstate);
1924 if (PyErr_Occurred()) SWIG_fail;
1925 }
1926 {
1927 #if wxUSE_UNICODE
1928 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1929 #else
1930 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1931 #endif
1932 }
1933 return resultobj;
1934 fail:
1935 return NULL;
1936 }
1937
1938
1939 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject *resultobj;
1941 long result;
1942 char *kwnames[] = {
1943 NULL
1944 };
1945
1946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1947 {
1948 PyThreadState* __tstate = wxPyBeginAllowThreads();
1949 result = (long)wxGetFreeMemory();
1950
1951 wxPyEndAllowThreads(__tstate);
1952 if (PyErr_Occurred()) SWIG_fail;
1953 }
1954 resultobj = PyInt_FromLong((long)result);
1955 return resultobj;
1956 fail:
1957 return NULL;
1958 }
1959
1960
1961 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1962 PyObject *resultobj;
1963 int arg1 ;
1964 bool result;
1965 char *kwnames[] = {
1966 (char *) "wFlags", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 resultobj = PyInt_FromLong((long)result);
1978 return resultobj;
1979 fail:
1980 return NULL;
1981 }
1982
1983
1984 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject *resultobj;
1986 int arg1 ;
1987 char *kwnames[] = {
1988 (char *) "secs", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 wxSleep(arg1);
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 Py_INCREF(Py_None); resultobj = Py_None;
2000 return resultobj;
2001 fail:
2002 return NULL;
2003 }
2004
2005
2006 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2007 PyObject *resultobj;
2008 unsigned long arg1 ;
2009 PyObject * obj0 = 0 ;
2010 char *kwnames[] = {
2011 (char *) "milliseconds", NULL
2012 };
2013
2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2015 arg1 = (unsigned long) PyInt_AsLong(obj0);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 wxUsleep(arg1);
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 Py_INCREF(Py_None); resultobj = Py_None;
2025 return resultobj;
2026 fail:
2027 return NULL;
2028 }
2029
2030
2031 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 bool arg1 ;
2034 PyObject * obj0 = 0 ;
2035 char *kwnames[] = {
2036 (char *) "enable", NULL
2037 };
2038
2039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2040 arg1 = PyInt_AsLong(obj0) ? true : false;
2041 if (PyErr_Occurred()) SWIG_fail;
2042 {
2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
2044 wxEnableTopLevelWindows(arg1);
2045
2046 wxPyEndAllowThreads(__tstate);
2047 if (PyErr_Occurred()) SWIG_fail;
2048 }
2049 Py_INCREF(Py_None); resultobj = Py_None;
2050 return resultobj;
2051 fail:
2052 return NULL;
2053 }
2054
2055
2056 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2057 PyObject *resultobj;
2058 wxString *arg1 = 0 ;
2059 wxString result;
2060 bool temp1 = False ;
2061 PyObject * obj0 = 0 ;
2062 char *kwnames[] = {
2063 (char *) "in", NULL
2064 };
2065
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2067 {
2068 arg1 = wxString_in_helper(obj0);
2069 if (arg1 == NULL) SWIG_fail;
2070 temp1 = True;
2071 }
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 result = wxStripMenuCodes((wxString const &)*arg1);
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
2079 {
2080 #if wxUSE_UNICODE
2081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2082 #else
2083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2084 #endif
2085 }
2086 {
2087 if (temp1)
2088 delete arg1;
2089 }
2090 return resultobj;
2091 fail:
2092 {
2093 if (temp1)
2094 delete arg1;
2095 }
2096 return NULL;
2097 }
2098
2099
2100 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject *resultobj;
2102 wxString result;
2103 char *kwnames[] = {
2104 NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 result = wxGetEmailAddress();
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 {
2116 #if wxUSE_UNICODE
2117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2118 #else
2119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2120 #endif
2121 }
2122 return resultobj;
2123 fail:
2124 return NULL;
2125 }
2126
2127
2128 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2129 PyObject *resultobj;
2130 wxString result;
2131 char *kwnames[] = {
2132 NULL
2133 };
2134
2135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
2138 result = wxGetHostName();
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) SWIG_fail;
2142 }
2143 {
2144 #if wxUSE_UNICODE
2145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2146 #else
2147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2148 #endif
2149 }
2150 return resultobj;
2151 fail:
2152 return NULL;
2153 }
2154
2155
2156 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2157 PyObject *resultobj;
2158 wxString result;
2159 char *kwnames[] = {
2160 NULL
2161 };
2162
2163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2164 {
2165 PyThreadState* __tstate = wxPyBeginAllowThreads();
2166 result = wxGetFullHostName();
2167
2168 wxPyEndAllowThreads(__tstate);
2169 if (PyErr_Occurred()) SWIG_fail;
2170 }
2171 {
2172 #if wxUSE_UNICODE
2173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2174 #else
2175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2176 #endif
2177 }
2178 return resultobj;
2179 fail:
2180 return NULL;
2181 }
2182
2183
2184 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject *resultobj;
2186 wxString result;
2187 char *kwnames[] = {
2188 NULL
2189 };
2190
2191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2192 {
2193 PyThreadState* __tstate = wxPyBeginAllowThreads();
2194 result = wxGetUserId();
2195
2196 wxPyEndAllowThreads(__tstate);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 }
2199 {
2200 #if wxUSE_UNICODE
2201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2202 #else
2203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2204 #endif
2205 }
2206 return resultobj;
2207 fail:
2208 return NULL;
2209 }
2210
2211
2212 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2213 PyObject *resultobj;
2214 wxString result;
2215 char *kwnames[] = {
2216 NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = wxGetUserName();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 {
2228 #if wxUSE_UNICODE
2229 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2230 #else
2231 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2232 #endif
2233 }
2234 return resultobj;
2235 fail:
2236 return NULL;
2237 }
2238
2239
2240 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2241 PyObject *resultobj;
2242 wxString result;
2243 char *kwnames[] = {
2244 NULL
2245 };
2246
2247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2248 {
2249 PyThreadState* __tstate = wxPyBeginAllowThreads();
2250 result = wxGetHomeDir();
2251
2252 wxPyEndAllowThreads(__tstate);
2253 if (PyErr_Occurred()) SWIG_fail;
2254 }
2255 {
2256 #if wxUSE_UNICODE
2257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2258 #else
2259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2260 #endif
2261 }
2262 return resultobj;
2263 fail:
2264 return NULL;
2265 }
2266
2267
2268 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2269 PyObject *resultobj;
2270 wxString const &arg1_defvalue = wxPyEmptyString ;
2271 wxString *arg1 = (wxString *) &arg1_defvalue ;
2272 wxString result;
2273 bool temp1 = False ;
2274 PyObject * obj0 = 0 ;
2275 char *kwnames[] = {
2276 (char *) "user", NULL
2277 };
2278
2279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2280 if (obj0) {
2281 {
2282 arg1 = wxString_in_helper(obj0);
2283 if (arg1 == NULL) SWIG_fail;
2284 temp1 = True;
2285 }
2286 }
2287 {
2288 PyThreadState* __tstate = wxPyBeginAllowThreads();
2289 result = wxGetUserHome((wxString const &)*arg1);
2290
2291 wxPyEndAllowThreads(__tstate);
2292 if (PyErr_Occurred()) SWIG_fail;
2293 }
2294 {
2295 #if wxUSE_UNICODE
2296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2297 #else
2298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2299 #endif
2300 }
2301 {
2302 if (temp1)
2303 delete arg1;
2304 }
2305 return resultobj;
2306 fail:
2307 {
2308 if (temp1)
2309 delete arg1;
2310 }
2311 return NULL;
2312 }
2313
2314
2315 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2316 PyObject *resultobj;
2317 unsigned long result;
2318 char *kwnames[] = {
2319 NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 result = (unsigned long)wxGetProcessId();
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 resultobj = PyInt_FromLong((long)result);
2331 return resultobj;
2332 fail:
2333 return NULL;
2334 }
2335
2336
2337 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2338 PyObject *resultobj;
2339 char *kwnames[] = {
2340 NULL
2341 };
2342
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2344 {
2345 PyThreadState* __tstate = wxPyBeginAllowThreads();
2346 wxTrap();
2347
2348 wxPyEndAllowThreads(__tstate);
2349 if (PyErr_Occurred()) SWIG_fail;
2350 }
2351 Py_INCREF(Py_None); resultobj = Py_None;
2352 return resultobj;
2353 fail:
2354 return NULL;
2355 }
2356
2357
2358 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2359 PyObject *resultobj;
2360 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2361 wxString *arg1 = (wxString *) &arg1_defvalue ;
2362 wxString const &arg2_defvalue = wxPyEmptyString ;
2363 wxString *arg2 = (wxString *) &arg2_defvalue ;
2364 wxString const &arg3_defvalue = wxPyEmptyString ;
2365 wxString *arg3 = (wxString *) &arg3_defvalue ;
2366 wxString const &arg4_defvalue = wxPyEmptyString ;
2367 wxString *arg4 = (wxString *) &arg4_defvalue ;
2368 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2369 wxString *arg5 = (wxString *) &arg5_defvalue ;
2370 int arg6 = (int) 0 ;
2371 wxWindow *arg7 = (wxWindow *) NULL ;
2372 int arg8 = (int) -1 ;
2373 int arg9 = (int) -1 ;
2374 wxString result;
2375 bool temp1 = False ;
2376 bool temp2 = False ;
2377 bool temp3 = False ;
2378 bool temp4 = False ;
2379 bool temp5 = False ;
2380 PyObject * obj0 = 0 ;
2381 PyObject * obj1 = 0 ;
2382 PyObject * obj2 = 0 ;
2383 PyObject * obj3 = 0 ;
2384 PyObject * obj4 = 0 ;
2385 PyObject * obj6 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2391 if (obj0) {
2392 {
2393 arg1 = wxString_in_helper(obj0);
2394 if (arg1 == NULL) SWIG_fail;
2395 temp1 = True;
2396 }
2397 }
2398 if (obj1) {
2399 {
2400 arg2 = wxString_in_helper(obj1);
2401 if (arg2 == NULL) SWIG_fail;
2402 temp2 = True;
2403 }
2404 }
2405 if (obj2) {
2406 {
2407 arg3 = wxString_in_helper(obj2);
2408 if (arg3 == NULL) SWIG_fail;
2409 temp3 = True;
2410 }
2411 }
2412 if (obj3) {
2413 {
2414 arg4 = wxString_in_helper(obj3);
2415 if (arg4 == NULL) SWIG_fail;
2416 temp4 = True;
2417 }
2418 }
2419 if (obj4) {
2420 {
2421 arg5 = wxString_in_helper(obj4);
2422 if (arg5 == NULL) SWIG_fail;
2423 temp5 = True;
2424 }
2425 }
2426 if (obj6) {
2427 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2428 }
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
2431 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 }
2436 {
2437 #if wxUSE_UNICODE
2438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2439 #else
2440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2441 #endif
2442 }
2443 {
2444 if (temp1)
2445 delete arg1;
2446 }
2447 {
2448 if (temp2)
2449 delete arg2;
2450 }
2451 {
2452 if (temp3)
2453 delete arg3;
2454 }
2455 {
2456 if (temp4)
2457 delete arg4;
2458 }
2459 {
2460 if (temp5)
2461 delete arg5;
2462 }
2463 return resultobj;
2464 fail:
2465 {
2466 if (temp1)
2467 delete arg1;
2468 }
2469 {
2470 if (temp2)
2471 delete arg2;
2472 }
2473 {
2474 if (temp3)
2475 delete arg3;
2476 }
2477 {
2478 if (temp4)
2479 delete arg4;
2480 }
2481 {
2482 if (temp5)
2483 delete arg5;
2484 }
2485 return NULL;
2486 }
2487
2488
2489 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2490 PyObject *resultobj;
2491 wxString *arg1 = 0 ;
2492 wxString *arg2 = 0 ;
2493 wxString const &arg3_defvalue = wxPyEmptyString ;
2494 wxString *arg3 = (wxString *) &arg3_defvalue ;
2495 wxWindow *arg4 = (wxWindow *) NULL ;
2496 wxString result;
2497 bool temp1 = False ;
2498 bool temp2 = False ;
2499 bool temp3 = False ;
2500 PyObject * obj0 = 0 ;
2501 PyObject * obj1 = 0 ;
2502 PyObject * obj2 = 0 ;
2503 PyObject * obj3 = 0 ;
2504 char *kwnames[] = {
2505 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2506 };
2507
2508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2509 {
2510 arg1 = wxString_in_helper(obj0);
2511 if (arg1 == NULL) SWIG_fail;
2512 temp1 = True;
2513 }
2514 {
2515 arg2 = wxString_in_helper(obj1);
2516 if (arg2 == NULL) SWIG_fail;
2517 temp2 = True;
2518 }
2519 if (obj2) {
2520 {
2521 arg3 = wxString_in_helper(obj2);
2522 if (arg3 == NULL) SWIG_fail;
2523 temp3 = True;
2524 }
2525 }
2526 if (obj3) {
2527 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2528 }
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
2531 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
2536 {
2537 #if wxUSE_UNICODE
2538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2539 #else
2540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2541 #endif
2542 }
2543 {
2544 if (temp1)
2545 delete arg1;
2546 }
2547 {
2548 if (temp2)
2549 delete arg2;
2550 }
2551 {
2552 if (temp3)
2553 delete arg3;
2554 }
2555 return resultobj;
2556 fail:
2557 {
2558 if (temp1)
2559 delete arg1;
2560 }
2561 {
2562 if (temp2)
2563 delete arg2;
2564 }
2565 {
2566 if (temp3)
2567 delete arg3;
2568 }
2569 return NULL;
2570 }
2571
2572
2573 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2574 PyObject *resultobj;
2575 wxString *arg1 = 0 ;
2576 wxString *arg2 = 0 ;
2577 wxString const &arg3_defvalue = wxPyEmptyString ;
2578 wxString *arg3 = (wxString *) &arg3_defvalue ;
2579 wxWindow *arg4 = (wxWindow *) NULL ;
2580 wxString result;
2581 bool temp1 = False ;
2582 bool temp2 = False ;
2583 bool temp3 = False ;
2584 PyObject * obj0 = 0 ;
2585 PyObject * obj1 = 0 ;
2586 PyObject * obj2 = 0 ;
2587 PyObject * obj3 = 0 ;
2588 char *kwnames[] = {
2589 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2590 };
2591
2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2593 {
2594 arg1 = wxString_in_helper(obj0);
2595 if (arg1 == NULL) SWIG_fail;
2596 temp1 = True;
2597 }
2598 {
2599 arg2 = wxString_in_helper(obj1);
2600 if (arg2 == NULL) SWIG_fail;
2601 temp2 = True;
2602 }
2603 if (obj2) {
2604 {
2605 arg3 = wxString_in_helper(obj2);
2606 if (arg3 == NULL) SWIG_fail;
2607 temp3 = True;
2608 }
2609 }
2610 if (obj3) {
2611 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2612 }
2613 {
2614 PyThreadState* __tstate = wxPyBeginAllowThreads();
2615 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2616
2617 wxPyEndAllowThreads(__tstate);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 {
2621 #if wxUSE_UNICODE
2622 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2623 #else
2624 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2625 #endif
2626 }
2627 {
2628 if (temp1)
2629 delete arg1;
2630 }
2631 {
2632 if (temp2)
2633 delete arg2;
2634 }
2635 {
2636 if (temp3)
2637 delete arg3;
2638 }
2639 return resultobj;
2640 fail:
2641 {
2642 if (temp1)
2643 delete arg1;
2644 }
2645 {
2646 if (temp2)
2647 delete arg2;
2648 }
2649 {
2650 if (temp3)
2651 delete arg3;
2652 }
2653 return NULL;
2654 }
2655
2656
2657 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject *resultobj;
2659 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2660 wxString *arg1 = (wxString *) &arg1_defvalue ;
2661 wxString const &arg2_defvalue = wxPyEmptyString ;
2662 wxString *arg2 = (wxString *) &arg2_defvalue ;
2663 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2666 wxWindow *arg5 = (wxWindow *) NULL ;
2667 wxString result;
2668 bool temp1 = False ;
2669 bool temp2 = False ;
2670 wxPoint temp4 ;
2671 PyObject * obj0 = 0 ;
2672 PyObject * obj1 = 0 ;
2673 PyObject * obj3 = 0 ;
2674 PyObject * obj4 = 0 ;
2675 char *kwnames[] = {
2676 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2680 if (obj0) {
2681 {
2682 arg1 = wxString_in_helper(obj0);
2683 if (arg1 == NULL) SWIG_fail;
2684 temp1 = True;
2685 }
2686 }
2687 if (obj1) {
2688 {
2689 arg2 = wxString_in_helper(obj1);
2690 if (arg2 == NULL) SWIG_fail;
2691 temp2 = True;
2692 }
2693 }
2694 if (obj3) {
2695 {
2696 arg4 = &temp4;
2697 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2698 }
2699 }
2700 if (obj4) {
2701 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2702 }
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 {
2711 #if wxUSE_UNICODE
2712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2713 #else
2714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2715 #endif
2716 }
2717 {
2718 if (temp1)
2719 delete arg1;
2720 }
2721 {
2722 if (temp2)
2723 delete arg2;
2724 }
2725 return resultobj;
2726 fail:
2727 {
2728 if (temp1)
2729 delete arg1;
2730 }
2731 {
2732 if (temp2)
2733 delete arg2;
2734 }
2735 return NULL;
2736 }
2737
2738
2739 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2740 PyObject *resultobj;
2741 wxString *arg1 = 0 ;
2742 wxString const &arg2_defvalue = wxPyEmptyString ;
2743 wxString *arg2 = (wxString *) &arg2_defvalue ;
2744 wxString const &arg3_defvalue = wxPyEmptyString ;
2745 wxString *arg3 = (wxString *) &arg3_defvalue ;
2746 wxWindow *arg4 = (wxWindow *) NULL ;
2747 int arg5 = (int) -1 ;
2748 int arg6 = (int) -1 ;
2749 bool arg7 = (bool) True ;
2750 wxString result;
2751 bool temp1 = False ;
2752 bool temp2 = False ;
2753 bool temp3 = False ;
2754 PyObject * obj0 = 0 ;
2755 PyObject * obj1 = 0 ;
2756 PyObject * obj2 = 0 ;
2757 PyObject * obj3 = 0 ;
2758 PyObject * obj6 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2764 {
2765 arg1 = wxString_in_helper(obj0);
2766 if (arg1 == NULL) SWIG_fail;
2767 temp1 = True;
2768 }
2769 if (obj1) {
2770 {
2771 arg2 = wxString_in_helper(obj1);
2772 if (arg2 == NULL) SWIG_fail;
2773 temp2 = True;
2774 }
2775 }
2776 if (obj2) {
2777 {
2778 arg3 = wxString_in_helper(obj2);
2779 if (arg3 == NULL) SWIG_fail;
2780 temp3 = True;
2781 }
2782 }
2783 if (obj3) {
2784 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2785 }
2786 if (obj6) {
2787 arg7 = PyInt_AsLong(obj6) ? true : false;
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 {
2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
2792 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2793
2794 wxPyEndAllowThreads(__tstate);
2795 if (PyErr_Occurred()) SWIG_fail;
2796 }
2797 {
2798 #if wxUSE_UNICODE
2799 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2800 #else
2801 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2802 #endif
2803 }
2804 {
2805 if (temp1)
2806 delete arg1;
2807 }
2808 {
2809 if (temp2)
2810 delete arg2;
2811 }
2812 {
2813 if (temp3)
2814 delete arg3;
2815 }
2816 return resultobj;
2817 fail:
2818 {
2819 if (temp1)
2820 delete arg1;
2821 }
2822 {
2823 if (temp2)
2824 delete arg2;
2825 }
2826 {
2827 if (temp3)
2828 delete arg3;
2829 }
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxString *arg1 = 0 ;
2837 wxString const &arg2_defvalue = wxPyEmptyString ;
2838 wxString *arg2 = (wxString *) &arg2_defvalue ;
2839 wxString const &arg3_defvalue = wxPyEmptyString ;
2840 wxString *arg3 = (wxString *) &arg3_defvalue ;
2841 wxWindow *arg4 = (wxWindow *) NULL ;
2842 wxString result;
2843 bool temp1 = False ;
2844 bool temp2 = False ;
2845 bool temp3 = False ;
2846 PyObject * obj0 = 0 ;
2847 PyObject * obj1 = 0 ;
2848 PyObject * obj2 = 0 ;
2849 PyObject * obj3 = 0 ;
2850 char *kwnames[] = {
2851 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2852 };
2853
2854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2855 {
2856 arg1 = wxString_in_helper(obj0);
2857 if (arg1 == NULL) SWIG_fail;
2858 temp1 = True;
2859 }
2860 if (obj1) {
2861 {
2862 arg2 = wxString_in_helper(obj1);
2863 if (arg2 == NULL) SWIG_fail;
2864 temp2 = True;
2865 }
2866 }
2867 if (obj2) {
2868 {
2869 arg3 = wxString_in_helper(obj2);
2870 if (arg3 == NULL) SWIG_fail;
2871 temp3 = True;
2872 }
2873 }
2874 if (obj3) {
2875 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2876 }
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 {
2885 #if wxUSE_UNICODE
2886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2887 #else
2888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2889 #endif
2890 }
2891 {
2892 if (temp1)
2893 delete arg1;
2894 }
2895 {
2896 if (temp2)
2897 delete arg2;
2898 }
2899 {
2900 if (temp3)
2901 delete arg3;
2902 }
2903 return resultobj;
2904 fail:
2905 {
2906 if (temp1)
2907 delete arg1;
2908 }
2909 {
2910 if (temp2)
2911 delete arg2;
2912 }
2913 {
2914 if (temp3)
2915 delete arg3;
2916 }
2917 return NULL;
2918 }
2919
2920
2921 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2922 PyObject *resultobj;
2923 wxString *arg1 = 0 ;
2924 wxString *arg2 = 0 ;
2925 int arg3 ;
2926 wxString *arg4 = (wxString *) 0 ;
2927 wxWindow *arg5 = (wxWindow *) NULL ;
2928 int arg6 = (int) -1 ;
2929 int arg7 = (int) -1 ;
2930 bool arg8 = (bool) True ;
2931 int arg9 = (int) 150 ;
2932 int arg10 = (int) 200 ;
2933 wxString result;
2934 bool temp1 = False ;
2935 bool temp2 = False ;
2936 PyObject * obj0 = 0 ;
2937 PyObject * obj1 = 0 ;
2938 PyObject * obj2 = 0 ;
2939 PyObject * obj3 = 0 ;
2940 PyObject * obj6 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2946 {
2947 arg1 = wxString_in_helper(obj0);
2948 if (arg1 == NULL) SWIG_fail;
2949 temp1 = True;
2950 }
2951 {
2952 arg2 = wxString_in_helper(obj1);
2953 if (arg2 == NULL) SWIG_fail;
2954 temp2 = True;
2955 }
2956 {
2957 arg3 = PyList_Size(obj2);
2958 arg4 = wxString_LIST_helper(obj2);
2959 if (arg4 == NULL) SWIG_fail;
2960 }
2961 if (obj3) {
2962 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2963 }
2964 if (obj6) {
2965 arg8 = PyInt_AsLong(obj6) ? true : false;
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 {
2976 #if wxUSE_UNICODE
2977 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2978 #else
2979 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2980 #endif
2981 }
2982 {
2983 if (temp1)
2984 delete arg1;
2985 }
2986 {
2987 if (temp2)
2988 delete arg2;
2989 }
2990 {
2991 if (arg4) delete [] arg4;
2992 }
2993 return resultobj;
2994 fail:
2995 {
2996 if (temp1)
2997 delete arg1;
2998 }
2999 {
3000 if (temp2)
3001 delete arg2;
3002 }
3003 {
3004 if (arg4) delete [] arg4;
3005 }
3006 return NULL;
3007 }
3008
3009
3010 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxString *arg1 = 0 ;
3013 wxString *arg2 = 0 ;
3014 int arg3 ;
3015 wxString *arg4 = (wxString *) 0 ;
3016 wxWindow *arg5 = (wxWindow *) NULL ;
3017 int arg6 = (int) -1 ;
3018 int arg7 = (int) -1 ;
3019 bool arg8 = (bool) True ;
3020 int arg9 = (int) 150 ;
3021 int arg10 = (int) 200 ;
3022 int result;
3023 bool temp1 = False ;
3024 bool temp2 = False ;
3025 PyObject * obj0 = 0 ;
3026 PyObject * obj1 = 0 ;
3027 PyObject * obj2 = 0 ;
3028 PyObject * obj3 = 0 ;
3029 PyObject * obj6 = 0 ;
3030 char *kwnames[] = {
3031 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3032 };
3033
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3035 {
3036 arg1 = wxString_in_helper(obj0);
3037 if (arg1 == NULL) SWIG_fail;
3038 temp1 = True;
3039 }
3040 {
3041 arg2 = wxString_in_helper(obj1);
3042 if (arg2 == NULL) SWIG_fail;
3043 temp2 = True;
3044 }
3045 {
3046 arg3 = PyList_Size(obj2);
3047 arg4 = wxString_LIST_helper(obj2);
3048 if (arg4 == NULL) SWIG_fail;
3049 }
3050 if (obj3) {
3051 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3052 }
3053 if (obj6) {
3054 arg8 = PyInt_AsLong(obj6) ? true : false;
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 {
3058 PyThreadState* __tstate = wxPyBeginAllowThreads();
3059 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3060
3061 wxPyEndAllowThreads(__tstate);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 resultobj = PyInt_FromLong((long)result);
3065 {
3066 if (temp1)
3067 delete arg1;
3068 }
3069 {
3070 if (temp2)
3071 delete arg2;
3072 }
3073 {
3074 if (arg4) delete [] arg4;
3075 }
3076 return resultobj;
3077 fail:
3078 {
3079 if (temp1)
3080 delete arg1;
3081 }
3082 {
3083 if (temp2)
3084 delete arg2;
3085 }
3086 {
3087 if (arg4) delete [] arg4;
3088 }
3089 return NULL;
3090 }
3091
3092
3093 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxString *arg1 = 0 ;
3096 wxString const &arg2_defvalue = wxPyEmptyString ;
3097 wxString *arg2 = (wxString *) &arg2_defvalue ;
3098 int arg3 = (int) wxOK|wxCENTRE ;
3099 wxWindow *arg4 = (wxWindow *) NULL ;
3100 int arg5 = (int) -1 ;
3101 int arg6 = (int) -1 ;
3102 int result;
3103 bool temp1 = False ;
3104 bool temp2 = False ;
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 PyObject * obj3 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3113 {
3114 arg1 = wxString_in_helper(obj0);
3115 if (arg1 == NULL) SWIG_fail;
3116 temp1 = True;
3117 }
3118 if (obj1) {
3119 {
3120 arg2 = wxString_in_helper(obj1);
3121 if (arg2 == NULL) SWIG_fail;
3122 temp2 = True;
3123 }
3124 }
3125 if (obj3) {
3126 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 }
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 resultobj = PyInt_FromLong((long)result);
3136 {
3137 if (temp1)
3138 delete arg1;
3139 }
3140 {
3141 if (temp2)
3142 delete arg2;
3143 }
3144 return resultobj;
3145 fail:
3146 {
3147 if (temp1)
3148 delete arg1;
3149 }
3150 {
3151 if (temp2)
3152 delete arg2;
3153 }
3154 return NULL;
3155 }
3156
3157
3158 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3159 PyObject *resultobj;
3160 wxString *arg1 = 0 ;
3161 wxString *arg2 = 0 ;
3162 wxString *arg3 = 0 ;
3163 long arg4 ;
3164 long arg5 = (long) 0 ;
3165 long arg6 = (long) 100 ;
3166 wxWindow *arg7 = (wxWindow *) NULL ;
3167 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3168 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3169 long result;
3170 bool temp1 = False ;
3171 bool temp2 = False ;
3172 bool temp3 = False ;
3173 wxPoint temp8 ;
3174 PyObject * obj0 = 0 ;
3175 PyObject * obj1 = 0 ;
3176 PyObject * obj2 = 0 ;
3177 PyObject * obj6 = 0 ;
3178 PyObject * obj7 = 0 ;
3179 char *kwnames[] = {
3180 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3181 };
3182
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3184 {
3185 arg1 = wxString_in_helper(obj0);
3186 if (arg1 == NULL) SWIG_fail;
3187 temp1 = True;
3188 }
3189 {
3190 arg2 = wxString_in_helper(obj1);
3191 if (arg2 == NULL) SWIG_fail;
3192 temp2 = True;
3193 }
3194 {
3195 arg3 = wxString_in_helper(obj2);
3196 if (arg3 == NULL) SWIG_fail;
3197 temp3 = True;
3198 }
3199 if (obj6) {
3200 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201 }
3202 if (obj7) {
3203 {
3204 arg8 = &temp8;
3205 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3206 }
3207 }
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 resultobj = PyInt_FromLong((long)result);
3216 {
3217 if (temp1)
3218 delete arg1;
3219 }
3220 {
3221 if (temp2)
3222 delete arg2;
3223 }
3224 {
3225 if (temp3)
3226 delete arg3;
3227 }
3228 return resultobj;
3229 fail:
3230 {
3231 if (temp1)
3232 delete arg1;
3233 }
3234 {
3235 if (temp2)
3236 delete arg2;
3237 }
3238 {
3239 if (temp3)
3240 delete arg3;
3241 }
3242 return NULL;
3243 }
3244
3245
3246 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject *resultobj;
3248 bool result;
3249 char *kwnames[] = {
3250 NULL
3251 };
3252
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 result = (bool)wxColourDisplay();
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 resultobj = PyInt_FromLong((long)result);
3262 return resultobj;
3263 fail:
3264 return NULL;
3265 }
3266
3267
3268 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3269 PyObject *resultobj;
3270 int result;
3271 char *kwnames[] = {
3272 NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 result = (int)wxDisplayDepth();
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 resultobj = PyInt_FromLong((long)result);
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 int result;
3293 char *kwnames[] = {
3294 NULL
3295 };
3296
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3298 {
3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
3300 result = (int)wxGetDisplayDepth();
3301
3302 wxPyEndAllowThreads(__tstate);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 resultobj = PyInt_FromLong((long)result);
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 int *arg1 = (int *) 0 ;
3315 int *arg2 = (int *) 0 ;
3316 int temp1 ;
3317 int temp2 ;
3318 char *kwnames[] = {
3319 NULL
3320 };
3321
3322 arg1 = &temp1;
3323 arg2 = &temp2;
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 wxDisplaySize(arg1,arg2);
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 Py_INCREF(Py_None); resultobj = Py_None;
3333 {
3334 PyObject *o = PyInt_FromLong((long) (*arg1));
3335 resultobj = t_output_helper(resultobj,o);
3336 }
3337 {
3338 PyObject *o = PyInt_FromLong((long) (*arg2));
3339 resultobj = t_output_helper(resultobj,o);
3340 }
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxSize result;
3350 char *kwnames[] = {
3351 NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 result = wxGetDisplaySize();
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 {
3363 wxSize * resultptr;
3364 resultptr = new wxSize((wxSize &) result);
3365 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3366 }
3367 return resultobj;
3368 fail:
3369 return NULL;
3370 }
3371
3372
3373 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject *resultobj;
3375 int *arg1 = (int *) 0 ;
3376 int *arg2 = (int *) 0 ;
3377 int temp1 ;
3378 int temp2 ;
3379 char *kwnames[] = {
3380 NULL
3381 };
3382
3383 arg1 = &temp1;
3384 arg2 = &temp2;
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 wxDisplaySizeMM(arg1,arg2);
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 Py_INCREF(Py_None); resultobj = Py_None;
3394 {
3395 PyObject *o = PyInt_FromLong((long) (*arg1));
3396 resultobj = t_output_helper(resultobj,o);
3397 }
3398 {
3399 PyObject *o = PyInt_FromLong((long) (*arg2));
3400 resultobj = t_output_helper(resultobj,o);
3401 }
3402 return resultobj;
3403 fail:
3404 return NULL;
3405 }
3406
3407
3408 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3409 PyObject *resultobj;
3410 wxSize result;
3411 char *kwnames[] = {
3412 NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 result = wxGetDisplaySizeMM();
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 {
3424 wxSize * resultptr;
3425 resultptr = new wxSize((wxSize &) result);
3426 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3427 }
3428 return resultobj;
3429 fail:
3430 return NULL;
3431 }
3432
3433
3434 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3435 PyObject *resultobj;
3436 int *arg1 = (int *) 0 ;
3437 int *arg2 = (int *) 0 ;
3438 int *arg3 = (int *) 0 ;
3439 int *arg4 = (int *) 0 ;
3440 int temp1 ;
3441 int temp2 ;
3442 int temp3 ;
3443 int temp4 ;
3444 char *kwnames[] = {
3445 NULL
3446 };
3447
3448 arg1 = &temp1;
3449 arg2 = &temp2;
3450 arg3 = &temp3;
3451 arg4 = &temp4;
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3453 {
3454 PyThreadState* __tstate = wxPyBeginAllowThreads();
3455 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3456
3457 wxPyEndAllowThreads(__tstate);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 Py_INCREF(Py_None); resultobj = Py_None;
3461 {
3462 PyObject *o = PyInt_FromLong((long) (*arg1));
3463 resultobj = t_output_helper(resultobj,o);
3464 }
3465 {
3466 PyObject *o = PyInt_FromLong((long) (*arg2));
3467 resultobj = t_output_helper(resultobj,o);
3468 }
3469 {
3470 PyObject *o = PyInt_FromLong((long) (*arg3));
3471 resultobj = t_output_helper(resultobj,o);
3472 }
3473 {
3474 PyObject *o = PyInt_FromLong((long) (*arg4));
3475 resultobj = t_output_helper(resultobj,o);
3476 }
3477 return resultobj;
3478 fail:
3479 return NULL;
3480 }
3481
3482
3483 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj;
3485 wxRect result;
3486 char *kwnames[] = {
3487 NULL
3488 };
3489
3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 result = wxGetClientDisplayRect();
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
3498 {
3499 wxRect * resultptr;
3500 resultptr = new wxRect((wxRect &) result);
3501 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3502 }
3503 return resultobj;
3504 fail:
3505 return NULL;
3506 }
3507
3508
3509 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3510 PyObject *resultobj;
3511 wxCursor *arg1 = 0 ;
3512 PyObject * obj0 = 0 ;
3513 char *kwnames[] = {
3514 (char *) "cursor", NULL
3515 };
3516
3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519 if (arg1 == NULL) {
3520 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3521 }
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 wxSetCursor(*arg1);
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 Py_INCREF(Py_None); resultobj = Py_None;
3530 return resultobj;
3531 fail:
3532 return NULL;
3533 }
3534
3535
3536 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj;
3538 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3539 PyObject * obj0 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "cursor", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3545 if (obj0) {
3546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3547 }
3548 {
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
3550 wxBeginBusyCursor(arg1);
3551
3552 wxPyEndAllowThreads(__tstate);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 }
3555 Py_INCREF(Py_None); resultobj = Py_None;
3556 return resultobj;
3557 fail:
3558 return NULL;
3559 }
3560
3561
3562 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxWindow *result;
3565 char *kwnames[] = {
3566 NULL
3567 };
3568
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 result = (wxWindow *)wxGetActiveWindow();
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 {
3578 resultobj = wxPyMake_wxObject(result);
3579 }
3580 return resultobj;
3581 fail:
3582 return NULL;
3583 }
3584
3585
3586 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3587 PyObject *resultobj;
3588 wxPoint *arg1 = 0 ;
3589 wxWindow *result;
3590 wxPoint temp1 ;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "pt", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3597 {
3598 arg1 = &temp1;
3599 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3600 }
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 {
3609 resultobj = wxPyMake_wxObject(result);
3610 }
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxPoint *arg1 = 0 ;
3620 wxWindow *result;
3621 wxPoint temp1 ;
3622 PyObject * obj0 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "pt", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3628 {
3629 arg1 = &temp1;
3630 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3631 }
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 resultobj = wxPyMake_wxObject(result);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxWindow *arg1 = (wxWindow *) 0 ;
3651 wxWindow *result;
3652 PyObject * obj0 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "win", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 result = (wxWindow *)wxGetTopLevelParent(arg1);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 {
3667 resultobj = wxPyMake_wxObject(result);
3668 }
3669 return resultobj;
3670 fail:
3671 return NULL;
3672 }
3673
3674
3675 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3676 PyObject *resultobj;
3677 char *kwnames[] = {
3678 NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 wxWakeUpMainThread();
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 Py_INCREF(Py_None); resultobj = Py_None;
3690 return resultobj;
3691 fail:
3692 return NULL;
3693 }
3694
3695
3696 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3697 PyObject *resultobj;
3698 char *kwnames[] = {
3699 NULL
3700 };
3701
3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3703 {
3704 PyThreadState* __tstate = wxPyBeginAllowThreads();
3705 wxMutexGuiEnter();
3706
3707 wxPyEndAllowThreads(__tstate);
3708 if (PyErr_Occurred()) SWIG_fail;
3709 }
3710 Py_INCREF(Py_None); resultobj = Py_None;
3711 return resultobj;
3712 fail:
3713 return NULL;
3714 }
3715
3716
3717 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3718 PyObject *resultobj;
3719 char *kwnames[] = {
3720 NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 wxMutexGuiLeave();
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 Py_INCREF(Py_None); resultobj = Py_None;
3732 return resultobj;
3733 fail:
3734 return NULL;
3735 }
3736
3737
3738 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3739 PyObject *resultobj;
3740 wxMutexGuiLocker *result;
3741 char *kwnames[] = {
3742 NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3754 return resultobj;
3755 fail:
3756 return NULL;
3757 }
3758
3759
3760 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3761 PyObject *resultobj;
3762 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3763 PyObject * obj0 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "self", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3770 {
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 delete arg1;
3773
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 Py_INCREF(Py_None); resultobj = Py_None;
3778 return resultobj;
3779 fail:
3780 return NULL;
3781 }
3782
3783
3784 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3785 PyObject *obj;
3786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3787 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3788 Py_INCREF(obj);
3789 return Py_BuildValue((char *)"");
3790 }
3791 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 bool result;
3794 char *kwnames[] = {
3795 NULL
3796 };
3797
3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 result = (bool)wxThread_IsMain();
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 resultobj = PyInt_FromLong((long)result);
3807 return resultobj;
3808 fail:
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxString *arg1 = 0 ;
3816 wxToolTip *result;
3817 bool temp1 = False ;
3818 PyObject * obj0 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "tip", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3824 {
3825 arg1 = wxString_in_helper(obj0);
3826 if (arg1 == NULL) SWIG_fail;
3827 temp1 = True;
3828 }
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 {
3837 resultobj = wxPyMake_wxObject(result);
3838 }
3839 {
3840 if (temp1)
3841 delete arg1;
3842 }
3843 return resultobj;
3844 fail:
3845 {
3846 if (temp1)
3847 delete arg1;
3848 }
3849 return NULL;
3850 }
3851
3852
3853 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3854 PyObject *resultobj;
3855 wxToolTip *arg1 = (wxToolTip *) 0 ;
3856 wxString *arg2 = 0 ;
3857 bool temp2 = False ;
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 char *kwnames[] = {
3861 (char *) "self",(char *) "tip", NULL
3862 };
3863
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3866 {
3867 arg2 = wxString_in_helper(obj1);
3868 if (arg2 == NULL) SWIG_fail;
3869 temp2 = True;
3870 }
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 (arg1)->SetTip((wxString const &)*arg2);
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 Py_INCREF(Py_None); resultobj = Py_None;
3879 {
3880 if (temp2)
3881 delete arg2;
3882 }
3883 return resultobj;
3884 fail:
3885 {
3886 if (temp2)
3887 delete arg2;
3888 }
3889 return NULL;
3890 }
3891
3892
3893 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3894 PyObject *resultobj;
3895 wxToolTip *arg1 = (wxToolTip *) 0 ;
3896 wxString result;
3897 PyObject * obj0 = 0 ;
3898 char *kwnames[] = {
3899 (char *) "self", NULL
3900 };
3901
3902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = (arg1)->GetTip();
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 {
3912 #if wxUSE_UNICODE
3913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3914 #else
3915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3916 #endif
3917 }
3918 return resultobj;
3919 fail:
3920 return NULL;
3921 }
3922
3923
3924 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3925 PyObject *resultobj;
3926 wxToolTip *arg1 = (wxToolTip *) 0 ;
3927 wxWindow *result;
3928 PyObject * obj0 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3935 {
3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
3937 result = (wxWindow *)(arg1)->GetWindow();
3938
3939 wxPyEndAllowThreads(__tstate);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 }
3942 {
3943 resultobj = wxPyMake_wxObject(result);
3944 }
3945 return resultobj;
3946 fail:
3947 return NULL;
3948 }
3949
3950
3951 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3952 PyObject *resultobj;
3953 bool arg1 ;
3954 PyObject * obj0 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "flag", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3960 arg1 = PyInt_AsLong(obj0) ? true : false;
3961 if (PyErr_Occurred()) SWIG_fail;
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 wxToolTip::Enable(arg1);
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 Py_INCREF(Py_None); resultobj = Py_None;
3970 return resultobj;
3971 fail:
3972 return NULL;
3973 }
3974
3975
3976 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 long arg1 ;
3979 char *kwnames[] = {
3980 (char *) "milliseconds", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 wxToolTip::SetDelay(arg1);
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 Py_INCREF(Py_None); resultobj = Py_None;
3992 return resultobj;
3993 fail:
3994 return NULL;
3995 }
3996
3997
3998 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
3999 PyObject *obj;
4000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4001 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4002 Py_INCREF(obj);
4003 return Py_BuildValue((char *)"");
4004 }
4005 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxWindow *arg1 = (wxWindow *) 0 ;
4008 wxSize *arg2 = 0 ;
4009 wxCaret *result;
4010 wxSize temp2 ;
4011 PyObject * obj0 = 0 ;
4012 PyObject * obj1 = 0 ;
4013 char *kwnames[] = {
4014 (char *) "window",(char *) "size", NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 {
4020 arg2 = &temp2;
4021 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4022 }
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4031 return resultobj;
4032 fail:
4033 return NULL;
4034 }
4035
4036
4037 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxCaret *arg1 = (wxCaret *) 0 ;
4040 PyObject * obj0 = 0 ;
4041 char *kwnames[] = {
4042 (char *) "self", NULL
4043 };
4044
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 delete arg1;
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_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxCaret *arg1 = (wxCaret *) 0 ;
4064 bool result;
4065 PyObject * obj0 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 result = (bool)(arg1)->IsOk();
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 resultobj = PyInt_FromLong((long)result);
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj;
4088 wxCaret *arg1 = (wxCaret *) 0 ;
4089 bool result;
4090 PyObject * obj0 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "self", NULL
4093 };
4094
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = (bool)(arg1)->IsVisible();
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 resultobj = PyInt_FromLong((long)result);
4105 return resultobj;
4106 fail:
4107 return NULL;
4108 }
4109
4110
4111 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxCaret *arg1 = (wxCaret *) 0 ;
4114 int *arg2 = (int *) 0 ;
4115 int *arg3 = (int *) 0 ;
4116 int temp2 ;
4117 int temp3 ;
4118 PyObject * obj0 = 0 ;
4119 char *kwnames[] = {
4120 (char *) "self", NULL
4121 };
4122
4123 arg2 = &temp2;
4124 arg3 = &temp3;
4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 (arg1)->GetPosition(arg2,arg3);
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 Py_INCREF(Py_None); resultobj = Py_None;
4135 {
4136 PyObject *o = PyInt_FromLong((long) (*arg2));
4137 resultobj = t_output_helper(resultobj,o);
4138 }
4139 {
4140 PyObject *o = PyInt_FromLong((long) (*arg3));
4141 resultobj = t_output_helper(resultobj,o);
4142 }
4143 return resultobj;
4144 fail:
4145 return NULL;
4146 }
4147
4148
4149 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj;
4151 wxCaret *arg1 = (wxCaret *) 0 ;
4152 wxPoint result;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 result = (arg1)->GetPosition();
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 {
4168 wxPoint * resultptr;
4169 resultptr = new wxPoint((wxPoint &) result);
4170 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4171 }
4172 return resultobj;
4173 fail:
4174 return NULL;
4175 }
4176
4177
4178 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4179 PyObject *resultobj;
4180 wxCaret *arg1 = (wxCaret *) 0 ;
4181 int *arg2 = (int *) 0 ;
4182 int *arg3 = (int *) 0 ;
4183 int temp2 ;
4184 int temp3 ;
4185 PyObject * obj0 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self", NULL
4188 };
4189
4190 arg2 = &temp2;
4191 arg3 = &temp3;
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 (arg1)->GetSize(arg2,arg3);
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 Py_INCREF(Py_None); resultobj = Py_None;
4202 {
4203 PyObject *o = PyInt_FromLong((long) (*arg2));
4204 resultobj = t_output_helper(resultobj,o);
4205 }
4206 {
4207 PyObject *o = PyInt_FromLong((long) (*arg3));
4208 resultobj = t_output_helper(resultobj,o);
4209 }
4210 return resultobj;
4211 fail:
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxCaret *arg1 = (wxCaret *) 0 ;
4219 wxSize result;
4220 PyObject * obj0 = 0 ;
4221 char *kwnames[] = {
4222 (char *) "self", NULL
4223 };
4224
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = (arg1)->GetSize();
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 {
4235 wxSize * resultptr;
4236 resultptr = new wxSize((wxSize &) result);
4237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4238 }
4239 return resultobj;
4240 fail:
4241 return NULL;
4242 }
4243
4244
4245 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj;
4247 wxCaret *arg1 = (wxCaret *) 0 ;
4248 wxWindow *result;
4249 PyObject * obj0 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "self", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 result = (wxWindow *)(arg1)->GetWindow();
4259
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 {
4264 resultobj = wxPyMake_wxObject(result);
4265 }
4266 return resultobj;
4267 fail:
4268 return NULL;
4269 }
4270
4271
4272 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject *resultobj;
4274 wxCaret *arg1 = (wxCaret *) 0 ;
4275 int arg2 ;
4276 int arg3 ;
4277 PyObject * obj0 = 0 ;
4278 char *kwnames[] = {
4279 (char *) "self",(char *) "x",(char *) "y", NULL
4280 };
4281
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 (arg1)->Move(arg2,arg3);
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 Py_INCREF(Py_None); resultobj = Py_None;
4292 return resultobj;
4293 fail:
4294 return NULL;
4295 }
4296
4297
4298 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxCaret *arg1 = (wxCaret *) 0 ;
4301 wxPoint *arg2 = 0 ;
4302 wxPoint temp2 ;
4303 PyObject * obj0 = 0 ;
4304 PyObject * obj1 = 0 ;
4305 char *kwnames[] = {
4306 (char *) "self",(char *) "pt", NULL
4307 };
4308
4309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4311 {
4312 arg2 = &temp2;
4313 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4314 }
4315 {
4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
4317 (arg1)->Move((wxPoint const &)*arg2);
4318
4319 wxPyEndAllowThreads(__tstate);
4320 if (PyErr_Occurred()) SWIG_fail;
4321 }
4322 Py_INCREF(Py_None); resultobj = Py_None;
4323 return resultobj;
4324 fail:
4325 return NULL;
4326 }
4327
4328
4329 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4330 PyObject *resultobj;
4331 wxCaret *arg1 = (wxCaret *) 0 ;
4332 int arg2 ;
4333 int arg3 ;
4334 PyObject * obj0 = 0 ;
4335 char *kwnames[] = {
4336 (char *) "self",(char *) "width",(char *) "height", NULL
4337 };
4338
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 (arg1)->SetSize(arg2,arg3);
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 Py_INCREF(Py_None); resultobj = Py_None;
4349 return resultobj;
4350 fail:
4351 return NULL;
4352 }
4353
4354
4355 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj;
4357 wxCaret *arg1 = (wxCaret *) 0 ;
4358 wxSize *arg2 = 0 ;
4359 wxSize temp2 ;
4360 PyObject * obj0 = 0 ;
4361 PyObject * obj1 = 0 ;
4362 char *kwnames[] = {
4363 (char *) "self",(char *) "size", NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4368 {
4369 arg2 = &temp2;
4370 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4371 }
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 (arg1)->SetSize((wxSize const &)*arg2);
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 Py_INCREF(Py_None); resultobj = Py_None;
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj;
4388 wxCaret *arg1 = (wxCaret *) 0 ;
4389 int arg2 = (int) True ;
4390 PyObject * obj0 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "self",(char *) "show", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 (arg1)->Show(arg2);
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 Py_INCREF(Py_None); resultobj = Py_None;
4405 return resultobj;
4406 fail:
4407 return NULL;
4408 }
4409
4410
4411 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 wxCaret *arg1 = (wxCaret *) 0 ;
4414 PyObject * obj0 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4421 {
4422 PyThreadState* __tstate = wxPyBeginAllowThreads();
4423 (arg1)->Hide();
4424
4425 wxPyEndAllowThreads(__tstate);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 }
4428 Py_INCREF(Py_None); resultobj = Py_None;
4429 return resultobj;
4430 fail:
4431 return NULL;
4432 }
4433
4434
4435 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4436 PyObject *obj;
4437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4438 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4439 Py_INCREF(obj);
4440 return Py_BuildValue((char *)"");
4441 }
4442 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4443 PyObject *resultobj;
4444 int result;
4445 char *kwnames[] = {
4446 NULL
4447 };
4448
4449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = (int)wxCaret_GetBlinkTime();
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 resultobj = PyInt_FromLong((long)result);
4458 return resultobj;
4459 fail:
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 int arg1 ;
4467 char *kwnames[] = {
4468 (char *) "milliseconds", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 wxCaret_SetBlinkTime(arg1);
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 Py_INCREF(Py_None); resultobj = Py_None;
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj;
4488 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4489 wxBusyCursor *result;
4490 PyObject * obj0 = 0 ;
4491 char *kwnames[] = {
4492 (char *) "cursor", NULL
4493 };
4494
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4496 if (obj0) {
4497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4498 }
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4507 return resultobj;
4508 fail:
4509 return NULL;
4510 }
4511
4512
4513 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4514 PyObject *resultobj;
4515 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4516 PyObject * obj0 = 0 ;
4517 char *kwnames[] = {
4518 (char *) "self", NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 delete arg1;
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 Py_INCREF(Py_None); resultobj = Py_None;
4531 return resultobj;
4532 fail:
4533 return NULL;
4534 }
4535
4536
4537 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4538 PyObject *obj;
4539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4540 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4541 Py_INCREF(obj);
4542 return Py_BuildValue((char *)"");
4543 }
4544 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj;
4546 wxWindow *arg1 = (wxWindow *) NULL ;
4547 wxWindowDisabler *result;
4548 PyObject * obj0 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "winToSkip", NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4554 if (obj0) {
4555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4556 }
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4565 return resultobj;
4566 fail:
4567 return NULL;
4568 }
4569
4570
4571 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj;
4573 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4574 PyObject * obj0 = 0 ;
4575 char *kwnames[] = {
4576 (char *) "self", NULL
4577 };
4578
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 delete arg1;
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 Py_INCREF(Py_None); resultobj = Py_None;
4589 return resultobj;
4590 fail:
4591 return NULL;
4592 }
4593
4594
4595 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4596 PyObject *obj;
4597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4598 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4599 Py_INCREF(obj);
4600 return Py_BuildValue((char *)"");
4601 }
4602 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4603 PyObject *resultobj;
4604 wxString *arg1 = 0 ;
4605 wxBusyInfo *result;
4606 bool temp1 = False ;
4607 PyObject * obj0 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "message", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4613 {
4614 arg1 = wxString_in_helper(obj0);
4615 if (arg1 == NULL) SWIG_fail;
4616 temp1 = True;
4617 }
4618 {
4619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4620 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4621
4622 wxPyEndAllowThreads(__tstate);
4623 if (PyErr_Occurred()) SWIG_fail;
4624 }
4625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4626 {
4627 if (temp1)
4628 delete arg1;
4629 }
4630 return resultobj;
4631 fail:
4632 {
4633 if (temp1)
4634 delete arg1;
4635 }
4636 return NULL;
4637 }
4638
4639
4640 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4641 PyObject *resultobj;
4642 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4643 PyObject * obj0 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "self", NULL
4646 };
4647
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 delete arg1;
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 Py_INCREF(Py_None); resultobj = Py_None;
4658 return resultobj;
4659 fail:
4660 return NULL;
4661 }
4662
4663
4664 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4665 PyObject *obj;
4666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4667 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4668 Py_INCREF(obj);
4669 return Py_BuildValue((char *)"");
4670 }
4671 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj;
4673 wxStopWatch *result;
4674 char *kwnames[] = {
4675 NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 result = (wxStopWatch *)new wxStopWatch();
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4687 return resultobj;
4688 fail:
4689 return NULL;
4690 }
4691
4692
4693 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj;
4695 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4696 long arg2 = (long) 0 ;
4697 PyObject * obj0 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "self",(char *) "t0", NULL
4700 };
4701
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 (arg1)->Start(arg2);
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 Py_INCREF(Py_None); resultobj = Py_None;
4712 return resultobj;
4713 fail:
4714 return NULL;
4715 }
4716
4717
4718 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj;
4720 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4721 PyObject * obj0 = 0 ;
4722 char *kwnames[] = {
4723 (char *) "self", NULL
4724 };
4725
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 (arg1)->Pause();
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 Py_INCREF(Py_None); resultobj = Py_None;
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject *resultobj;
4744 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4745 PyObject * obj0 = 0 ;
4746 char *kwnames[] = {
4747 (char *) "self", NULL
4748 };
4749
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4752 {
4753 PyThreadState* __tstate = wxPyBeginAllowThreads();
4754 (arg1)->Resume();
4755
4756 wxPyEndAllowThreads(__tstate);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 Py_INCREF(Py_None); resultobj = Py_None;
4760 return resultobj;
4761 fail:
4762 return NULL;
4763 }
4764
4765
4766 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4767 PyObject *resultobj;
4768 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4769 long result;
4770 PyObject * obj0 = 0 ;
4771 char *kwnames[] = {
4772 (char *) "self", NULL
4773 };
4774
4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (long)((wxStopWatch const *)arg1)->Time();
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = PyInt_FromLong((long)result);
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4792 PyObject *obj;
4793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4794 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4795 Py_INCREF(obj);
4796 return Py_BuildValue((char *)"");
4797 }
4798 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4799 PyObject *resultobj;
4800 int arg1 = (int) 9 ;
4801 wxFileHistory *result;
4802 char *kwnames[] = {
4803 (char *) "maxFiles", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 result = (wxFileHistory *)new wxFileHistory(arg1);
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4824 PyObject * obj0 = 0 ;
4825 char *kwnames[] = {
4826 (char *) "self", NULL
4827 };
4828
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 delete arg1;
4834
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 Py_INCREF(Py_None); resultobj = Py_None;
4839 return resultobj;
4840 fail:
4841 return NULL;
4842 }
4843
4844
4845 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4848 wxString *arg2 = 0 ;
4849 bool temp2 = False ;
4850 PyObject * obj0 = 0 ;
4851 PyObject * obj1 = 0 ;
4852 char *kwnames[] = {
4853 (char *) "self",(char *) "file", NULL
4854 };
4855
4856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4858 {
4859 arg2 = wxString_in_helper(obj1);
4860 if (arg2 == NULL) SWIG_fail;
4861 temp2 = True;
4862 }
4863 {
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 (arg1)->AddFileToHistory((wxString const &)*arg2);
4866
4867 wxPyEndAllowThreads(__tstate);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 }
4870 Py_INCREF(Py_None); resultobj = Py_None;
4871 {
4872 if (temp2)
4873 delete arg2;
4874 }
4875 return resultobj;
4876 fail:
4877 {
4878 if (temp2)
4879 delete arg2;
4880 }
4881 return NULL;
4882 }
4883
4884
4885 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4886 PyObject *resultobj;
4887 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4888 int arg2 ;
4889 PyObject * obj0 = 0 ;
4890 char *kwnames[] = {
4891 (char *) "self",(char *) "i", NULL
4892 };
4893
4894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 (arg1)->RemoveFileFromHistory(arg2);
4899
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 Py_INCREF(Py_None); resultobj = Py_None;
4904 return resultobj;
4905 fail:
4906 return NULL;
4907 }
4908
4909
4910 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4911 PyObject *resultobj;
4912 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4913 int result;
4914 PyObject * obj0 = 0 ;
4915 char *kwnames[] = {
4916 (char *) "self", NULL
4917 };
4918
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4924
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 resultobj = PyInt_FromLong((long)result);
4929 return resultobj;
4930 fail:
4931 return NULL;
4932 }
4933
4934
4935 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4938 wxMenu *arg2 = (wxMenu *) 0 ;
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "menu", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 (arg1)->UseMenu(arg2);
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 Py_INCREF(Py_None); resultobj = Py_None;
4956 return resultobj;
4957 fail:
4958 return NULL;
4959 }
4960
4961
4962 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4965 wxMenu *arg2 = (wxMenu *) 0 ;
4966 PyObject * obj0 = 0 ;
4967 PyObject * obj1 = 0 ;
4968 char *kwnames[] = {
4969 (char *) "self",(char *) "menu", NULL
4970 };
4971
4972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 (arg1)->RemoveMenu(arg2);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 Py_INCREF(Py_None); resultobj = Py_None;
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4992 wxConfigBase *arg2 = 0 ;
4993 PyObject * obj0 = 0 ;
4994 PyObject * obj1 = 0 ;
4995 char *kwnames[] = {
4996 (char *) "self",(char *) "config", NULL
4997 };
4998
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5002 if (arg2 == NULL) {
5003 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5004 }
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 (arg1)->Load(*arg2);
5008
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 Py_INCREF(Py_None); resultobj = Py_None;
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj;
5021 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5022 wxConfigBase *arg2 = 0 ;
5023 PyObject * obj0 = 0 ;
5024 PyObject * obj1 = 0 ;
5025 char *kwnames[] = {
5026 (char *) "self",(char *) "config", NULL
5027 };
5028
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5032 if (arg2 == NULL) {
5033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5034 }
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 (arg1)->Save(*arg2);
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 Py_INCREF(Py_None); resultobj = Py_None;
5043 return resultobj;
5044 fail:
5045 return NULL;
5046 }
5047
5048
5049 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5052 PyObject * obj0 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 (arg1)->AddFilesToMenu();
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 Py_INCREF(Py_None); resultobj = Py_None;
5067 return resultobj;
5068 fail:
5069 return NULL;
5070 }
5071
5072
5073 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5076 wxMenu *arg2 = (wxMenu *) 0 ;
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self",(char *) "menu", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 (arg1)->AddFilesToMenu(arg2);
5089
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 Py_INCREF(Py_None); resultobj = Py_None;
5094 return resultobj;
5095 fail:
5096 return NULL;
5097 }
5098
5099
5100 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5101 PyObject *resultobj;
5102 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5103 int arg2 ;
5104 wxString result;
5105 PyObject * obj0 = 0 ;
5106 char *kwnames[] = {
5107 (char *) "self",(char *) "i", NULL
5108 };
5109
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 {
5120 #if wxUSE_UNICODE
5121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5122 #else
5123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5124 #endif
5125 }
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5135 int result;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 result = (int)((wxFileHistory const *)arg1)->GetCount();
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 resultobj = PyInt_FromLong((long)result);
5151 return resultobj;
5152 fail:
5153 return NULL;
5154 }
5155
5156
5157 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5158 PyObject *obj;
5159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5160 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5161 Py_INCREF(obj);
5162 return Py_BuildValue((char *)"");
5163 }
5164 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5165 PyObject *resultobj;
5166 wxString *arg1 = 0 ;
5167 wxString const &arg2_defvalue = wxPyEmptyString ;
5168 wxString *arg2 = (wxString *) &arg2_defvalue ;
5169 wxSingleInstanceChecker *result;
5170 bool temp1 = False ;
5171 bool temp2 = False ;
5172 PyObject * obj0 = 0 ;
5173 PyObject * obj1 = 0 ;
5174 char *kwnames[] = {
5175 (char *) "name",(char *) "path", NULL
5176 };
5177
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5179 {
5180 arg1 = wxString_in_helper(obj0);
5181 if (arg1 == NULL) SWIG_fail;
5182 temp1 = True;
5183 }
5184 if (obj1) {
5185 {
5186 arg2 = wxString_in_helper(obj1);
5187 if (arg2 == NULL) SWIG_fail;
5188 temp2 = True;
5189 }
5190 }
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5199 {
5200 if (temp1)
5201 delete arg1;
5202 }
5203 {
5204 if (temp2)
5205 delete arg2;
5206 }
5207 return resultobj;
5208 fail:
5209 {
5210 if (temp1)
5211 delete arg1;
5212 }
5213 {
5214 if (temp2)
5215 delete arg2;
5216 }
5217 return NULL;
5218 }
5219
5220
5221 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 wxSingleInstanceChecker *result;
5224 char *kwnames[] = {
5225 NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5237 return resultobj;
5238 fail:
5239 return NULL;
5240 }
5241
5242
5243 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj;
5245 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5246 PyObject * obj0 = 0 ;
5247 char *kwnames[] = {
5248 (char *) "self", NULL
5249 };
5250
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 delete arg1;
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 Py_INCREF(Py_None); resultobj = Py_None;
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5270 wxString *arg2 = 0 ;
5271 wxString const &arg3_defvalue = wxPyEmptyString ;
5272 wxString *arg3 = (wxString *) &arg3_defvalue ;
5273 bool result;
5274 bool temp2 = False ;
5275 bool temp3 = False ;
5276 PyObject * obj0 = 0 ;
5277 PyObject * obj1 = 0 ;
5278 PyObject * obj2 = 0 ;
5279 char *kwnames[] = {
5280 (char *) "self",(char *) "name",(char *) "path", NULL
5281 };
5282
5283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5285 {
5286 arg2 = wxString_in_helper(obj1);
5287 if (arg2 == NULL) SWIG_fail;
5288 temp2 = True;
5289 }
5290 if (obj2) {
5291 {
5292 arg3 = wxString_in_helper(obj2);
5293 if (arg3 == NULL) SWIG_fail;
5294 temp3 = True;
5295 }
5296 }
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 resultobj = PyInt_FromLong((long)result);
5305 {
5306 if (temp2)
5307 delete arg2;
5308 }
5309 {
5310 if (temp3)
5311 delete arg3;
5312 }
5313 return resultobj;
5314 fail:
5315 {
5316 if (temp2)
5317 delete arg2;
5318 }
5319 {
5320 if (temp3)
5321 delete arg3;
5322 }
5323 return NULL;
5324 }
5325
5326
5327 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5330 bool result;
5331 PyObject * obj0 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "self", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5341
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) SWIG_fail;
5344 }
5345 resultobj = PyInt_FromLong((long)result);
5346 return resultobj;
5347 fail:
5348 return NULL;
5349 }
5350
5351
5352 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5353 PyObject *obj;
5354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5355 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5356 Py_INCREF(obj);
5357 return Py_BuildValue((char *)"");
5358 }
5359 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj;
5361 wxWindow *arg1 = (wxWindow *) 0 ;
5362 wxDC *arg2 = 0 ;
5363 int arg3 ;
5364 PyObject * obj0 = 0 ;
5365 PyObject * obj1 = 0 ;
5366 char *kwnames[] = {
5367 (char *) "window",(char *) "dc",(char *) "method", NULL
5368 };
5369
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5373 if (arg2 == NULL) {
5374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5375 }
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5393 PyObject * obj0 = 0 ;
5394 char *kwnames[] = {
5395 (char *) "self", NULL
5396 };
5397
5398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5400 {
5401 PyThreadState* __tstate = wxPyBeginAllowThreads();
5402 delete arg1;
5403
5404 wxPyEndAllowThreads(__tstate);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
5407 Py_INCREF(Py_None); resultobj = Py_None;
5408 return resultobj;
5409 fail:
5410 return NULL;
5411 }
5412
5413
5414 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5415 PyObject *resultobj;
5416 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5417 wxString result;
5418 PyObject * obj0 = 0 ;
5419 char *kwnames[] = {
5420 (char *) "self", NULL
5421 };
5422
5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (arg1)->GetTip();
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 {
5433 #if wxUSE_UNICODE
5434 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5435 #else
5436 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5437 #endif
5438 }
5439 return resultobj;
5440 fail:
5441 return NULL;
5442 }
5443
5444
5445 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj;
5447 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5448 size_t result;
5449 PyObject * obj0 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "self", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 result = (size_t)(arg1)->GetCurrentTip();
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 resultobj = PyInt_FromLong((long)result);
5464 return resultobj;
5465 fail:
5466 return NULL;
5467 }
5468
5469
5470 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj;
5472 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5473 wxString *arg2 = 0 ;
5474 wxString result;
5475 bool temp2 = False ;
5476 PyObject * obj0 = 0 ;
5477 PyObject * obj1 = 0 ;
5478 char *kwnames[] = {
5479 (char *) "self",(char *) "tip", NULL
5480 };
5481
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5484 {
5485 arg2 = wxString_in_helper(obj1);
5486 if (arg2 == NULL) SWIG_fail;
5487 temp2 = True;
5488 }
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 {
5497 #if wxUSE_UNICODE
5498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5499 #else
5500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5501 #endif
5502 }
5503 {
5504 if (temp2)
5505 delete arg2;
5506 }
5507 return resultobj;
5508 fail:
5509 {
5510 if (temp2)
5511 delete arg2;
5512 }
5513 return NULL;
5514 }
5515
5516
5517 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5518 PyObject *obj;
5519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5520 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5521 Py_INCREF(obj);
5522 return Py_BuildValue((char *)"");
5523 }
5524 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 size_t arg1 ;
5527 wxPyTipProvider *result;
5528 PyObject * obj0 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "currentTip", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5534 arg1 = (size_t) PyInt_AsLong(obj0);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 {
5537 PyThreadState* __tstate = wxPyBeginAllowThreads();
5538 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5539
5540 wxPyEndAllowThreads(__tstate);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 }
5543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5544 return resultobj;
5545 fail:
5546 return NULL;
5547 }
5548
5549
5550 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj;
5552 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5553 PyObject *arg2 = (PyObject *) 0 ;
5554 PyObject *arg3 = (PyObject *) 0 ;
5555 PyObject * obj0 = 0 ;
5556 PyObject * obj1 = 0 ;
5557 PyObject * obj2 = 0 ;
5558 char *kwnames[] = {
5559 (char *) "self",(char *) "self",(char *) "_class", NULL
5560 };
5561
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5564 arg2 = obj1;
5565 arg3 = obj2;
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 (arg1)->_setCallbackInfo(arg2,arg3);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5581 PyObject *obj;
5582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5584 Py_INCREF(obj);
5585 return Py_BuildValue((char *)"");
5586 }
5587 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5588 PyObject *resultobj;
5589 wxWindow *arg1 = (wxWindow *) 0 ;
5590 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5591 bool arg3 = (bool) True ;
5592 bool result;
5593 PyObject * obj0 = 0 ;
5594 PyObject * obj1 = 0 ;
5595 PyObject * obj2 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5602 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5603 if (obj2) {
5604 arg3 = PyInt_AsLong(obj2) ? true : false;
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 {
5608 PyThreadState* __tstate = wxPyBeginAllowThreads();
5609 result = (bool)wxShowTip(arg1,arg2,arg3);
5610
5611 wxPyEndAllowThreads(__tstate);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 resultobj = PyInt_FromLong((long)result);
5615 return resultobj;
5616 fail:
5617 return NULL;
5618 }
5619
5620
5621 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5622 PyObject *resultobj;
5623 wxString *arg1 = 0 ;
5624 size_t arg2 ;
5625 wxTipProvider *result;
5626 bool temp1 = False ;
5627 PyObject * obj0 = 0 ;
5628 PyObject * obj1 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "filename",(char *) "currentTip", NULL
5631 };
5632
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5634 {
5635 arg1 = wxString_in_helper(obj0);
5636 if (arg1 == NULL) SWIG_fail;
5637 temp1 = True;
5638 }
5639 arg2 = (size_t) PyInt_AsLong(obj1);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5649 {
5650 if (temp1)
5651 delete arg1;
5652 }
5653 return resultobj;
5654 fail:
5655 {
5656 if (temp1)
5657 delete arg1;
5658 }
5659 return NULL;
5660 }
5661
5662
5663 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5664 PyObject *resultobj;
5665 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5666 int arg2 = (int) -1 ;
5667 wxPyTimer *result;
5668 PyObject * obj0 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "owner",(char *) "id", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5674 if (obj0) {
5675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5676 }
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5685 return resultobj;
5686 fail:
5687 return NULL;
5688 }
5689
5690
5691 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5694 PyObject * obj0 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 delete arg1;
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 Py_INCREF(Py_None); resultobj = Py_None;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5718 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5719 int arg3 = (int) -1 ;
5720 PyObject * obj0 = 0 ;
5721 PyObject * obj1 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self",(char *) "owner",(char *) "id", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 (arg1)->SetOwner(arg2,arg3);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 Py_INCREF(Py_None); resultobj = Py_None;
5737 return resultobj;
5738 fail:
5739 return NULL;
5740 }
5741
5742
5743 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5744 PyObject *resultobj;
5745 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5746 int arg2 = (int) -1 ;
5747 bool arg3 = (bool) False ;
5748 bool result;
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj2 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 if (obj2) {
5758 arg3 = PyInt_AsLong(obj2) ? true : false;
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 result = (bool)(arg1)->Start(arg2,arg3);
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 resultobj = PyInt_FromLong((long)result);
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5778 PyObject * obj0 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 (arg1)->Stop();
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 Py_INCREF(Py_None); resultobj = Py_None;
5793 return resultobj;
5794 fail:
5795 return NULL;
5796 }
5797
5798
5799 static PyObject *_wrap_Timer_Notify(PyObject *self, PyObject *args, PyObject *kwargs) {
5800 PyObject *resultobj;
5801 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5802 PyObject * obj0 = 0 ;
5803 char *kwnames[] = {
5804 (char *) "self", NULL
5805 };
5806
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail;
5808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 (arg1)->Notify();
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 Py_INCREF(Py_None); resultobj = Py_None;
5817 return resultobj;
5818 fail:
5819 return NULL;
5820 }
5821
5822
5823 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5824 PyObject *resultobj;
5825 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5826 bool result;
5827 PyObject * obj0 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 resultobj = PyInt_FromLong((long)result);
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj;
5850 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5851 int result;
5852 PyObject * obj0 = 0 ;
5853 char *kwnames[] = {
5854 (char *) "self", NULL
5855 };
5856
5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 resultobj = PyInt_FromLong((long)result);
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5876 bool result;
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5887
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 resultobj = PyInt_FromLong((long)result);
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5899 PyObject *obj;
5900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5901 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5902 Py_INCREF(obj);
5903 return Py_BuildValue((char *)"");
5904 }
5905 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 int arg1 = (int) 0 ;
5908 int arg2 = (int) 0 ;
5909 wxTimerEvent *result;
5910 char *kwnames[] = {
5911 (char *) "timerid",(char *) "interval", NULL
5912 };
5913
5914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5918
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5923 return resultobj;
5924 fail:
5925 return NULL;
5926 }
5927
5928
5929 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj;
5931 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5932 int result;
5933 PyObject * obj0 = 0 ;
5934 char *kwnames[] = {
5935 (char *) "self", NULL
5936 };
5937
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = PyInt_FromLong((long)result);
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5955 PyObject *obj;
5956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5957 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5958 Py_INCREF(obj);
5959 return Py_BuildValue((char *)"");
5960 }
5961 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5962 PyObject *resultobj;
5963 wxTimer *arg1 = 0 ;
5964 wxTimerRunner *result;
5965 PyObject * obj0 = 0 ;
5966
5967 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
5968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5969 if (arg1 == NULL) {
5970 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5971 }
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
5987 PyObject *resultobj;
5988 wxTimer *arg1 = 0 ;
5989 int arg2 ;
5990 bool arg3 = (bool) False ;
5991 wxTimerRunner *result;
5992 PyObject * obj0 = 0 ;
5993 PyObject * obj2 = 0 ;
5994
5995 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
5996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5997 if (arg1 == NULL) {
5998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5999 }
6000 if (obj2) {
6001 arg3 = PyInt_AsLong(obj2) ? true : false;
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6019 int argc;
6020 PyObject *argv[4];
6021 int ii;
6022
6023 argc = PyObject_Length(args);
6024 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6025 argv[ii] = PyTuple_GetItem(args,ii);
6026 }
6027 if (argc == 1) {
6028 int _v;
6029 {
6030 void *ptr;
6031 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6032 _v = 0;
6033 PyErr_Clear();
6034 } else {
6035 _v = 1;
6036 }
6037 }
6038 if (_v) {
6039 return _wrap_new_TimerRunner__SWIG_0(self,args);
6040 }
6041 }
6042 if ((argc >= 2) && (argc <= 3)) {
6043 int _v;
6044 {
6045 void *ptr;
6046 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6047 _v = 0;
6048 PyErr_Clear();
6049 } else {
6050 _v = 1;
6051 }
6052 }
6053 if (_v) {
6054 {
6055 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6056 }
6057 if (_v) {
6058 if (argc <= 2) {
6059 return _wrap_new_TimerRunner__SWIG_1(self,args);
6060 }
6061 {
6062 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6063 }
6064 if (_v) {
6065 return _wrap_new_TimerRunner__SWIG_1(self,args);
6066 }
6067 }
6068 }
6069 }
6070
6071 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6072 return NULL;
6073 }
6074
6075
6076 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6077 PyObject *resultobj;
6078 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6079 PyObject * obj0 = 0 ;
6080 char *kwnames[] = {
6081 (char *) "self", NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 delete arg1;
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 Py_INCREF(Py_None); resultobj = Py_None;
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj;
6102 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6103 int arg2 ;
6104 bool arg3 = (bool) False ;
6105 PyObject * obj0 = 0 ;
6106 PyObject * obj2 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6113 if (obj2) {
6114 arg3 = PyInt_AsLong(obj2) ? true : false;
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 (arg1)->Start(arg2,arg3);
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 Py_INCREF(Py_None); resultobj = Py_None;
6125 return resultobj;
6126 fail:
6127 return NULL;
6128 }
6129
6130
6131 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6132 PyObject *obj;
6133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6134 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6135 Py_INCREF(obj);
6136 return Py_BuildValue((char *)"");
6137 }
6138 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxLog *result;
6141 char *kwnames[] = {
6142 NULL
6143 };
6144
6145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 result = (wxLog *)new wxLog();
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6154 return resultobj;
6155 fail:
6156 return NULL;
6157 }
6158
6159
6160 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6161 PyObject *resultobj;
6162 bool result;
6163 char *kwnames[] = {
6164 NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 result = (bool)wxLog::IsEnabled();
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 resultobj = PyInt_FromLong((long)result);
6176 return resultobj;
6177 fail:
6178 return NULL;
6179 }
6180
6181
6182 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6183 PyObject *resultobj;
6184 bool arg1 = (bool) True ;
6185 bool result;
6186 PyObject * obj0 = 0 ;
6187 char *kwnames[] = {
6188 (char *) "doIt", NULL
6189 };
6190
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6192 if (obj0) {
6193 arg1 = PyInt_AsLong(obj0) ? true : false;
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (bool)wxLog::EnableLogging(arg1);
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 resultobj = PyInt_FromLong((long)result);
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxLogLevel arg1 ;
6213 wxChar *arg2 = (wxChar *) 0 ;
6214 time_t arg3 ;
6215 PyObject * obj0 = 0 ;
6216 PyObject * obj1 = 0 ;
6217 PyObject * obj2 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "level",(char *) "szString",(char *) "t", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6223 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6226 arg3 = (time_t) PyInt_AsLong(obj2);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 Py_INCREF(Py_None); resultobj = Py_None;
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6243 PyObject *resultobj;
6244 wxLog *arg1 = (wxLog *) 0 ;
6245 PyObject * obj0 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 (arg1)->Flush();
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 Py_INCREF(Py_None); resultobj = Py_None;
6260 return resultobj;
6261 fail:
6262 return NULL;
6263 }
6264
6265
6266 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 char *kwnames[] = {
6269 NULL
6270 };
6271
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 wxLog::FlushActive();
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 Py_INCREF(Py_None); resultobj = Py_None;
6281 return resultobj;
6282 fail:
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxLog *result;
6290 char *kwnames[] = {
6291 NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (wxLog *)wxLog::GetActiveTarget();
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
6302 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6303 return resultobj;
6304 fail:
6305 return NULL;
6306 }
6307
6308
6309 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6310 PyObject *resultobj;
6311 wxLog *arg1 = (wxLog *) 0 ;
6312 wxLog *result;
6313 PyObject * obj0 = 0 ;
6314 char *kwnames[] = {
6315 (char *) "pLogger", NULL
6316 };
6317
6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6328 return resultobj;
6329 fail:
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 char *kwnames[] = {
6337 NULL
6338 };
6339
6340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 wxLog::Suspend();
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 Py_INCREF(Py_None); resultobj = Py_None;
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 char *kwnames[] = {
6358 NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 wxLog::Resume();
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 Py_INCREF(Py_None); resultobj = Py_None;
6370 return resultobj;
6371 fail:
6372 return NULL;
6373 }
6374
6375
6376 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 bool arg1 = (bool) True ;
6379 PyObject * obj0 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "bVerbose", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6385 if (obj0) {
6386 arg1 = PyInt_AsLong(obj0) ? true : false;
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 wxLog::SetVerbose(arg1);
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 Py_INCREF(Py_None); resultobj = Py_None;
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj;
6405 wxLogLevel arg1 ;
6406 PyObject * obj0 = 0 ;
6407 char *kwnames[] = {
6408 (char *) "logLevel", NULL
6409 };
6410
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6412 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 wxLog::SetLogLevel(arg1);
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 Py_INCREF(Py_None); resultobj = Py_None;
6422 return resultobj;
6423 fail:
6424 return NULL;
6425 }
6426
6427
6428 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 char *kwnames[] = {
6431 NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 wxLog::DontCreateOnDemand();
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 Py_INCREF(Py_None); resultobj = Py_None;
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxTraceMask arg1 ;
6452 PyObject * obj0 = 0 ;
6453 char *kwnames[] = {
6454 (char *) "ulMask", NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6458 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 wxLog::SetTraceMask(arg1);
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 Py_INCREF(Py_None); resultobj = Py_None;
6468 return resultobj;
6469 fail:
6470 return NULL;
6471 }
6472
6473
6474 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6475 PyObject *resultobj;
6476 wxString *arg1 = 0 ;
6477 bool temp1 = False ;
6478 PyObject * obj0 = 0 ;
6479 char *kwnames[] = {
6480 (char *) "str", NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6484 {
6485 arg1 = wxString_in_helper(obj0);
6486 if (arg1 == NULL) SWIG_fail;
6487 temp1 = True;
6488 }
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 wxLog::AddTraceMask((wxString const &)*arg1);
6492
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 Py_INCREF(Py_None); resultobj = Py_None;
6497 {
6498 if (temp1)
6499 delete arg1;
6500 }
6501 return resultobj;
6502 fail:
6503 {
6504 if (temp1)
6505 delete arg1;
6506 }
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxString *arg1 = 0 ;
6514 bool temp1 = False ;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "str", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6521 {
6522 arg1 = wxString_in_helper(obj0);
6523 if (arg1 == NULL) SWIG_fail;
6524 temp1 = True;
6525 }
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 wxLog::RemoveTraceMask((wxString const &)*arg1);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 Py_INCREF(Py_None); resultobj = Py_None;
6534 {
6535 if (temp1)
6536 delete arg1;
6537 }
6538 return resultobj;
6539 fail:
6540 {
6541 if (temp1)
6542 delete arg1;
6543 }
6544 return NULL;
6545 }
6546
6547
6548 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj;
6550 char *kwnames[] = {
6551 NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 wxLog::ClearTraceMasks();
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxArrayString *result;
6572 char *kwnames[] = {
6573 NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 {
6580 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6581 result = (wxArrayString *) &_result_ref;
6582 }
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 {
6588 resultobj = wxArrayString2PyList_helper(*result);
6589 }
6590 return resultobj;
6591 fail:
6592 return NULL;
6593 }
6594
6595
6596 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj;
6598 wxChar *arg1 = (wxChar *) 0 ;
6599 PyObject * obj0 = 0 ;
6600 char *kwnames[] = {
6601 (char *) "ts", NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 wxLog::SetTimestamp((wxChar const *)arg1);
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 Py_INCREF(Py_None); resultobj = Py_None;
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj;
6622 bool result;
6623 char *kwnames[] = {
6624 NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 result = (bool)wxLog::GetVerbose();
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 resultobj = PyInt_FromLong((long)result);
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxTraceMask result;
6645 char *kwnames[] = {
6646 NULL
6647 };
6648
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 result = (wxTraceMask)wxLog::GetTraceMask();
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 resultobj = PyInt_FromLong((long)result);
6658 return resultobj;
6659 fail:
6660 return NULL;
6661 }
6662
6663
6664 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6665 PyObject *resultobj;
6666 wxChar *arg1 = (wxChar *) 0 ;
6667 bool result;
6668 PyObject * obj0 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "mask", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 resultobj = PyInt_FromLong((long)result);
6683 return resultobj;
6684 fail:
6685 return NULL;
6686 }
6687
6688
6689 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj;
6691 wxLogLevel result;
6692 char *kwnames[] = {
6693 NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (wxLogLevel)wxLog::GetLogLevel();
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = PyInt_FromLong((long)result);
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxChar *result;
6714 char *kwnames[] = {
6715 NULL
6716 };
6717
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (wxChar *)wxLog::GetTimestamp();
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6727 return resultobj;
6728 fail:
6729 return NULL;
6730 }
6731
6732
6733 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxString result;
6736 char *kwnames[] = {
6737 NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = Log_TimeStamp();
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 {
6749 #if wxUSE_UNICODE
6750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6751 #else
6752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6753 #endif
6754 }
6755 return resultobj;
6756 fail:
6757 return NULL;
6758 }
6759
6760
6761 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6762 PyObject *resultobj;
6763 wxLog *arg1 = (wxLog *) 0 ;
6764 PyObject * obj0 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 wxLog_Destroy(arg1);
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 Py_INCREF(Py_None); resultobj = Py_None;
6779 return resultobj;
6780 fail:
6781 return NULL;
6782 }
6783
6784
6785 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6786 PyObject *obj;
6787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6788 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6789 Py_INCREF(obj);
6790 return Py_BuildValue((char *)"");
6791 }
6792 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxLogStderr *result;
6795 char *kwnames[] = {
6796 NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (wxLogStderr *)new wxLogStderr();
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6808 return resultobj;
6809 fail:
6810 return NULL;
6811 }
6812
6813
6814 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6815 PyObject *obj;
6816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6817 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6818 Py_INCREF(obj);
6819 return Py_BuildValue((char *)"");
6820 }
6821 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6824 wxLogTextCtrl *result;
6825 PyObject * obj0 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "pTextCtrl", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6840 return resultobj;
6841 fail:
6842 return NULL;
6843 }
6844
6845
6846 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6847 PyObject *obj;
6848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6849 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6850 Py_INCREF(obj);
6851 return Py_BuildValue((char *)"");
6852 }
6853 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj;
6855 wxLogGui *result;
6856 char *kwnames[] = {
6857 NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6861 {
6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
6863 result = (wxLogGui *)new wxLogGui();
6864
6865 wxPyEndAllowThreads(__tstate);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 }
6868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6869 return resultobj;
6870 fail:
6871 return NULL;
6872 }
6873
6874
6875 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6876 PyObject *obj;
6877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6878 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6879 Py_INCREF(obj);
6880 return Py_BuildValue((char *)"");
6881 }
6882 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj;
6884 wxFrame *arg1 = (wxFrame *) 0 ;
6885 wxString *arg2 = 0 ;
6886 bool arg3 = (bool) True ;
6887 bool arg4 = (bool) True ;
6888 wxLogWindow *result;
6889 bool temp2 = False ;
6890 PyObject * obj0 = 0 ;
6891 PyObject * obj1 = 0 ;
6892 PyObject * obj2 = 0 ;
6893 PyObject * obj3 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6900 {
6901 arg2 = wxString_in_helper(obj1);
6902 if (arg2 == NULL) SWIG_fail;
6903 temp2 = True;
6904 }
6905 if (obj2) {
6906 arg3 = PyInt_AsLong(obj2) ? true : false;
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
6909 if (obj3) {
6910 arg4 = PyInt_AsLong(obj3) ? true : false;
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6921 {
6922 if (temp2)
6923 delete arg2;
6924 }
6925 return resultobj;
6926 fail:
6927 {
6928 if (temp2)
6929 delete arg2;
6930 }
6931 return NULL;
6932 }
6933
6934
6935 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6938 bool arg2 = (bool) True ;
6939 PyObject * obj0 = 0 ;
6940 PyObject * obj1 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self",(char *) "bShow", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6947 if (obj1) {
6948 arg2 = PyInt_AsLong(obj1) ? true : false;
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 (arg1)->Show(arg2);
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 Py_INCREF(Py_None); resultobj = Py_None;
6959 return resultobj;
6960 fail:
6961 return NULL;
6962 }
6963
6964
6965 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj;
6967 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6968 wxFrame *result;
6969 PyObject * obj0 = 0 ;
6970 char *kwnames[] = {
6971 (char *) "self", NULL
6972 };
6973
6974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
6975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 {
6984 resultobj = wxPyMake_wxObject(result);
6985 }
6986 return resultobj;
6987 fail:
6988 return NULL;
6989 }
6990
6991
6992 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6993 PyObject *resultobj;
6994 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6995 wxLog *result;
6996 PyObject * obj0 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7020 bool result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 resultobj = PyInt_FromLong((long)result);
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7045 bool arg2 ;
7046 PyObject * obj0 = 0 ;
7047 PyObject * obj1 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self",(char *) "bDoPass", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7054 arg2 = PyInt_AsLong(obj1) ? true : false;
7055 if (PyErr_Occurred()) SWIG_fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 (arg1)->PassMessages(arg2);
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 Py_INCREF(Py_None); resultobj = Py_None;
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7071 PyObject *obj;
7072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7073 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7074 Py_INCREF(obj);
7075 return Py_BuildValue((char *)"");
7076 }
7077 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxLog *arg1 = (wxLog *) 0 ;
7080 wxLogChain *result;
7081 PyObject * obj0 = 0 ;
7082 char *kwnames[] = {
7083 (char *) "logger", NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (wxLogChain *)new wxLogChain(arg1);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxLogChain *arg1 = (wxLogChain *) 0 ;
7105 wxLog *arg2 = (wxLog *) 0 ;
7106 PyObject * obj0 = 0 ;
7107 PyObject * obj1 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self",(char *) "logger", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 (arg1)->SetLog(arg2);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxLogChain *arg1 = (wxLogChain *) 0 ;
7132 bool arg2 ;
7133 PyObject * obj0 = 0 ;
7134 PyObject * obj1 = 0 ;
7135 char *kwnames[] = {
7136 (char *) "self",(char *) "bDoPass", NULL
7137 };
7138
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7141 arg2 = PyInt_AsLong(obj1) ? true : false;
7142 if (PyErr_Occurred()) SWIG_fail;
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 (arg1)->PassMessages(arg2);
7146
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
7150 Py_INCREF(Py_None); resultobj = Py_None;
7151 return resultobj;
7152 fail:
7153 return NULL;
7154 }
7155
7156
7157 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7158 PyObject *resultobj;
7159 wxLogChain *arg1 = (wxLogChain *) 0 ;
7160 bool result;
7161 PyObject * obj0 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = (bool)(arg1)->IsPassingMessages();
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 resultobj = PyInt_FromLong((long)result);
7176 return resultobj;
7177 fail:
7178 return NULL;
7179 }
7180
7181
7182 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7183 PyObject *resultobj;
7184 wxLogChain *arg1 = (wxLogChain *) 0 ;
7185 wxLog *result;
7186 PyObject * obj0 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7193 {
7194 PyThreadState* __tstate = wxPyBeginAllowThreads();
7195 result = (wxLog *)(arg1)->GetOldLog();
7196
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7208 PyObject *obj;
7209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7210 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7211 Py_INCREF(obj);
7212 return Py_BuildValue((char *)"");
7213 }
7214 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj;
7216 unsigned long result;
7217 char *kwnames[] = {
7218 NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (unsigned long)wxSysErrorCode();
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 resultobj = PyInt_FromLong((long)result);
7230 return resultobj;
7231 fail:
7232 return NULL;
7233 }
7234
7235
7236 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj;
7238 unsigned long arg1 = (unsigned long) 0 ;
7239 wxString result;
7240 PyObject * obj0 = 0 ;
7241 char *kwnames[] = {
7242 (char *) "nErrCode", NULL
7243 };
7244
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7246 if (obj0) {
7247 arg1 = (unsigned long) PyInt_AsLong(obj0);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = wxSysErrorMsg(arg1);
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 {
7258 #if wxUSE_UNICODE
7259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7260 #else
7261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7262 #endif
7263 }
7264 return resultobj;
7265 fail:
7266 return NULL;
7267 }
7268
7269
7270 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxString *arg1 = 0 ;
7273 bool temp1 = False ;
7274 PyObject * obj0 = 0 ;
7275 char *kwnames[] = {
7276 (char *) "msg", NULL
7277 };
7278
7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7280 {
7281 arg1 = wxString_in_helper(obj0);
7282 if (arg1 == NULL) SWIG_fail;
7283 temp1 = True;
7284 }
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 wxLogFatalError((wxString const &)*arg1);
7288
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 Py_INCREF(Py_None); resultobj = Py_None;
7293 {
7294 if (temp1)
7295 delete arg1;
7296 }
7297 return resultobj;
7298 fail:
7299 {
7300 if (temp1)
7301 delete arg1;
7302 }
7303 return NULL;
7304 }
7305
7306
7307 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxString *arg1 = 0 ;
7310 bool temp1 = False ;
7311 PyObject * obj0 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "msg", NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7317 {
7318 arg1 = wxString_in_helper(obj0);
7319 if (arg1 == NULL) SWIG_fail;
7320 temp1 = True;
7321 }
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 wxLogError((wxString const &)*arg1);
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 Py_INCREF(Py_None); resultobj = Py_None;
7330 {
7331 if (temp1)
7332 delete arg1;
7333 }
7334 return resultobj;
7335 fail:
7336 {
7337 if (temp1)
7338 delete arg1;
7339 }
7340 return NULL;
7341 }
7342
7343
7344 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj;
7346 wxString *arg1 = 0 ;
7347 bool temp1 = False ;
7348 PyObject * obj0 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "msg", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7354 {
7355 arg1 = wxString_in_helper(obj0);
7356 if (arg1 == NULL) SWIG_fail;
7357 temp1 = True;
7358 }
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 wxLogWarning((wxString const &)*arg1);
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 Py_INCREF(Py_None); resultobj = Py_None;
7367 {
7368 if (temp1)
7369 delete arg1;
7370 }
7371 return resultobj;
7372 fail:
7373 {
7374 if (temp1)
7375 delete arg1;
7376 }
7377 return NULL;
7378 }
7379
7380
7381 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7382 PyObject *resultobj;
7383 wxString *arg1 = 0 ;
7384 bool temp1 = False ;
7385 PyObject * obj0 = 0 ;
7386 char *kwnames[] = {
7387 (char *) "msg", NULL
7388 };
7389
7390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7391 {
7392 arg1 = wxString_in_helper(obj0);
7393 if (arg1 == NULL) SWIG_fail;
7394 temp1 = True;
7395 }
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 wxLogMessage((wxString const &)*arg1);
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 Py_INCREF(Py_None); resultobj = Py_None;
7404 {
7405 if (temp1)
7406 delete arg1;
7407 }
7408 return resultobj;
7409 fail:
7410 {
7411 if (temp1)
7412 delete arg1;
7413 }
7414 return NULL;
7415 }
7416
7417
7418 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxString *arg1 = 0 ;
7421 bool temp1 = False ;
7422 PyObject * obj0 = 0 ;
7423 char *kwnames[] = {
7424 (char *) "msg", NULL
7425 };
7426
7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7428 {
7429 arg1 = wxString_in_helper(obj0);
7430 if (arg1 == NULL) SWIG_fail;
7431 temp1 = True;
7432 }
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 wxLogInfo((wxString const &)*arg1);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 Py_INCREF(Py_None); resultobj = Py_None;
7441 {
7442 if (temp1)
7443 delete arg1;
7444 }
7445 return resultobj;
7446 fail:
7447 {
7448 if (temp1)
7449 delete arg1;
7450 }
7451 return NULL;
7452 }
7453
7454
7455 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj;
7457 wxString *arg1 = 0 ;
7458 bool temp1 = False ;
7459 PyObject * obj0 = 0 ;
7460 char *kwnames[] = {
7461 (char *) "msg", NULL
7462 };
7463
7464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7465 {
7466 arg1 = wxString_in_helper(obj0);
7467 if (arg1 == NULL) SWIG_fail;
7468 temp1 = True;
7469 }
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 wxLogDebug((wxString const &)*arg1);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 Py_INCREF(Py_None); resultobj = Py_None;
7478 {
7479 if (temp1)
7480 delete arg1;
7481 }
7482 return resultobj;
7483 fail:
7484 {
7485 if (temp1)
7486 delete arg1;
7487 }
7488 return NULL;
7489 }
7490
7491
7492 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 wxString *arg1 = 0 ;
7495 bool temp1 = False ;
7496 PyObject * obj0 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "msg", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7502 {
7503 arg1 = wxString_in_helper(obj0);
7504 if (arg1 == NULL) SWIG_fail;
7505 temp1 = True;
7506 }
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 wxLogVerbose((wxString const &)*arg1);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 Py_INCREF(Py_None); resultobj = Py_None;
7515 {
7516 if (temp1)
7517 delete arg1;
7518 }
7519 return resultobj;
7520 fail:
7521 {
7522 if (temp1)
7523 delete arg1;
7524 }
7525 return NULL;
7526 }
7527
7528
7529 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxString *arg1 = 0 ;
7532 bool temp1 = False ;
7533 PyObject * obj0 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "msg", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7539 {
7540 arg1 = wxString_in_helper(obj0);
7541 if (arg1 == NULL) SWIG_fail;
7542 temp1 = True;
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 wxLogStatus((wxString const &)*arg1);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 Py_INCREF(Py_None); resultobj = Py_None;
7552 {
7553 if (temp1)
7554 delete arg1;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp1)
7560 delete arg1;
7561 }
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxFrame *arg1 = (wxFrame *) 0 ;
7569 wxString *arg2 = 0 ;
7570 bool temp2 = False ;
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "pFrame",(char *) "msg", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7579 {
7580 arg2 = wxString_in_helper(obj1);
7581 if (arg2 == NULL) SWIG_fail;
7582 temp2 = True;
7583 }
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 wxLogStatus(arg1,(wxString const &)*arg2);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 Py_INCREF(Py_None); resultobj = Py_None;
7592 {
7593 if (temp2)
7594 delete arg2;
7595 }
7596 return resultobj;
7597 fail:
7598 {
7599 if (temp2)
7600 delete arg2;
7601 }
7602 return NULL;
7603 }
7604
7605
7606 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj;
7608 wxString *arg1 = 0 ;
7609 bool temp1 = False ;
7610 PyObject * obj0 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "msg", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7616 {
7617 arg1 = wxString_in_helper(obj0);
7618 if (arg1 == NULL) SWIG_fail;
7619 temp1 = True;
7620 }
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 wxLogSysError((wxString const &)*arg1);
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 Py_INCREF(Py_None); resultobj = Py_None;
7629 {
7630 if (temp1)
7631 delete arg1;
7632 }
7633 return resultobj;
7634 fail:
7635 {
7636 if (temp1)
7637 delete arg1;
7638 }
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxString *arg1 = 0 ;
7646 bool temp1 = False ;
7647 PyObject * obj0 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "msg", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogTrace",kwnames,&obj0)) goto fail;
7653 {
7654 arg1 = wxString_in_helper(obj0);
7655 if (arg1 == NULL) SWIG_fail;
7656 temp1 = True;
7657 }
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 wxLogTrace((wxString const &)*arg1);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 Py_INCREF(Py_None); resultobj = Py_None;
7666 {
7667 if (temp1)
7668 delete arg1;
7669 }
7670 return resultobj;
7671 fail:
7672 {
7673 if (temp1)
7674 delete arg1;
7675 }
7676 return NULL;
7677 }
7678
7679
7680 static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7681 PyObject *resultobj;
7682 wxString *arg1 = 0 ;
7683 wxString *arg2 = 0 ;
7684 bool temp1 = False ;
7685 bool temp2 = False ;
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "mask",(char *) "msg", NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogTraceMask",kwnames,&obj0,&obj1)) goto fail;
7693 {
7694 arg1 = wxString_in_helper(obj0);
7695 if (arg1 == NULL) SWIG_fail;
7696 temp1 = True;
7697 }
7698 {
7699 arg2 = wxString_in_helper(obj1);
7700 if (arg2 == NULL) SWIG_fail;
7701 temp2 = True;
7702 }
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 Py_INCREF(Py_None); resultobj = Py_None;
7711 {
7712 if (temp1)
7713 delete arg1;
7714 }
7715 {
7716 if (temp2)
7717 delete arg2;
7718 }
7719 return resultobj;
7720 fail:
7721 {
7722 if (temp1)
7723 delete arg1;
7724 }
7725 {
7726 if (temp2)
7727 delete arg2;
7728 }
7729 return NULL;
7730 }
7731
7732
7733 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 unsigned long arg1 ;
7736 wxString *arg2 = 0 ;
7737 bool temp2 = False ;
7738 PyObject * obj0 = 0 ;
7739 PyObject * obj1 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "level",(char *) "msg", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7745 arg1 = (unsigned long) PyInt_AsLong(obj0);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 {
7748 arg2 = wxString_in_helper(obj1);
7749 if (arg2 == NULL) SWIG_fail;
7750 temp2 = True;
7751 }
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 wxLogGeneric(arg1,(wxString const &)*arg2);
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 Py_INCREF(Py_None); resultobj = Py_None;
7760 {
7761 if (temp2)
7762 delete arg2;
7763 }
7764 return resultobj;
7765 fail:
7766 {
7767 if (temp2)
7768 delete arg2;
7769 }
7770 return NULL;
7771 }
7772
7773
7774 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7775 PyObject *resultobj;
7776 wxString *arg1 = 0 ;
7777 wxString *arg2 = 0 ;
7778 bool temp1 = False ;
7779 bool temp2 = False ;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "title",(char *) "text", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7787 {
7788 arg1 = wxString_in_helper(obj0);
7789 if (arg1 == NULL) SWIG_fail;
7790 temp1 = True;
7791 }
7792 {
7793 arg2 = wxString_in_helper(obj1);
7794 if (arg2 == NULL) SWIG_fail;
7795 temp2 = True;
7796 }
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7800
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
7804 Py_INCREF(Py_None); resultobj = Py_None;
7805 {
7806 if (temp1)
7807 delete arg1;
7808 }
7809 {
7810 if (temp2)
7811 delete arg2;
7812 }
7813 return resultobj;
7814 fail:
7815 {
7816 if (temp1)
7817 delete arg1;
7818 }
7819 {
7820 if (temp2)
7821 delete arg2;
7822 }
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxLogNull *result;
7830 char *kwnames[] = {
7831 NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = (wxLogNull *)new wxLogNull();
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxLogNull *arg1 = (wxLogNull *) 0 ;
7852 PyObject * obj0 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 delete arg1;
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 Py_INCREF(Py_None); resultobj = Py_None;
7867 return resultobj;
7868 fail:
7869 return NULL;
7870 }
7871
7872
7873 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7874 PyObject *obj;
7875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7876 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7877 Py_INCREF(obj);
7878 return Py_BuildValue((char *)"");
7879 }
7880 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxPyLog *result;
7883 char *kwnames[] = {
7884 NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 result = (wxPyLog *)new wxPyLog();
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxPyLog *arg1 = (wxPyLog *) 0 ;
7905 PyObject *arg2 = (PyObject *) 0 ;
7906 PyObject *arg3 = (PyObject *) 0 ;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 PyObject * obj2 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self",(char *) "self",(char *) "_class", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7916 arg2 = obj1;
7917 arg3 = obj2;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 (arg1)->_setCallbackInfo(arg2,arg3);
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 Py_INCREF(Py_None); resultobj = Py_None;
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
7933 PyObject *obj;
7934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7935 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
7936 Py_INCREF(obj);
7937 return Py_BuildValue((char *)"");
7938 }
7939 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 int arg1 ;
7942 int arg2 = (int) wxSIGTERM ;
7943 int result;
7944 char *kwnames[] = {
7945 (char *) "pid",(char *) "sig", NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = PyInt_FromLong((long)result);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 int arg1 ;
7966 bool result;
7967 char *kwnames[] = {
7968 (char *) "pid", NULL
7969 };
7970
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (bool)wxPyProcess::Exists(arg1);
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 resultobj = PyInt_FromLong((long)result);
7980 return resultobj;
7981 fail:
7982 return NULL;
7983 }
7984
7985
7986 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
7987 PyObject *resultobj;
7988 wxString *arg1 = 0 ;
7989 int arg2 = (int) wxEXEC_ASYNC ;
7990 wxPyProcess *result;
7991 bool temp1 = False ;
7992 PyObject * obj0 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "cmd",(char *) "flags", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
7998 {
7999 arg1 = wxString_in_helper(obj0);
8000 if (arg1 == NULL) SWIG_fail;
8001 temp1 = True;
8002 }
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
8005 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8011 {
8012 if (temp1)
8013 delete arg1;
8014 }
8015 return resultobj;
8016 fail:
8017 {
8018 if (temp1)
8019 delete arg1;
8020 }
8021 return NULL;
8022 }
8023
8024
8025 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8026 PyObject *resultobj;
8027 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8028 int arg2 = (int) -1 ;
8029 wxPyProcess *result;
8030 PyObject * obj0 = 0 ;
8031 char *kwnames[] = {
8032 (char *) "parent",(char *) "id", NULL
8033 };
8034
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8036 if (obj0) {
8037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8038 }
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8056 PyObject *arg2 = (PyObject *) 0 ;
8057 PyObject *arg3 = (PyObject *) 0 ;
8058 PyObject * obj0 = 0 ;
8059 PyObject * obj1 = 0 ;
8060 PyObject * obj2 = 0 ;
8061 char *kwnames[] = {
8062 (char *) "self",(char *) "self",(char *) "_class", NULL
8063 };
8064
8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8067 arg2 = obj1;
8068 arg3 = obj2;
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 (arg1)->_setCallbackInfo(arg2,arg3);
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 Py_INCREF(Py_None); resultobj = Py_None;
8077 return resultobj;
8078 fail:
8079 return NULL;
8080 }
8081
8082
8083 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj;
8085 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8086 int arg2 ;
8087 int arg3 ;
8088 PyObject * obj0 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "pid",(char *) "status", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8095 {
8096 PyThreadState* __tstate = wxPyBeginAllowThreads();
8097 (arg1)->base_OnTerminate(arg2,arg3);
8098
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 Py_INCREF(Py_None); resultobj = Py_None;
8103 return resultobj;
8104 fail:
8105 return NULL;
8106 }
8107
8108
8109 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8110 PyObject *resultobj;
8111 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8112 PyObject * obj0 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 (arg1)->Redirect();
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 Py_INCREF(Py_None); resultobj = Py_None;
8127 return resultobj;
8128 fail:
8129 return NULL;
8130 }
8131
8132
8133 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj;
8135 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8136 bool result;
8137 PyObject * obj0 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = (bool)(arg1)->IsRedirected();
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 resultobj = PyInt_FromLong((long)result);
8152 return resultobj;
8153 fail:
8154 return NULL;
8155 }
8156
8157
8158 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject *resultobj;
8160 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8161 PyObject * obj0 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 (arg1)->Detach();
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 Py_INCREF(Py_None); resultobj = Py_None;
8176 return resultobj;
8177 fail:
8178 return NULL;
8179 }
8180
8181
8182 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8183 PyObject *resultobj;
8184 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8185 wxInputStream *result;
8186 PyObject * obj0 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "self", NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (wxInputStream *)(arg1)->GetInputStream();
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 {
8201 wxPyInputStream * _ptr = NULL;
8202
8203 if (result) {
8204 _ptr = new wxPyInputStream(result);
8205 }
8206 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8207 }
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8217 wxInputStream *result;
8218 PyObject * obj0 = 0 ;
8219 char *kwnames[] = {
8220 (char *) "self", NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (wxInputStream *)(arg1)->GetErrorStream();
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 {
8233 wxPyInputStream * _ptr = NULL;
8234
8235 if (result) {
8236 _ptr = new wxPyInputStream(result);
8237 }
8238 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8239 }
8240 return resultobj;
8241 fail:
8242 return NULL;
8243 }
8244
8245
8246 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj;
8248 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8249 wxOutputStream *result;
8250 PyObject * obj0 = 0 ;
8251 char *kwnames[] = {
8252 (char *) "self", NULL
8253 };
8254
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 result = (wxOutputStream *)(arg1)->GetOutputStream();
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8265 return resultobj;
8266 fail:
8267 return NULL;
8268 }
8269
8270
8271 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8274 PyObject * obj0 = 0 ;
8275 char *kwnames[] = {
8276 (char *) "self", NULL
8277 };
8278
8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 (arg1)->CloseOutput();
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 Py_INCREF(Py_None); resultobj = Py_None;
8289 return resultobj;
8290 fail:
8291 return NULL;
8292 }
8293
8294
8295 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj;
8297 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8298 bool result;
8299 PyObject * obj0 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 resultobj = PyInt_FromLong((long)result);
8314 return resultobj;
8315 fail:
8316 return NULL;
8317 }
8318
8319
8320 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8321 PyObject *resultobj;
8322 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8323 bool result;
8324 PyObject * obj0 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 resultobj = PyInt_FromLong((long)result);
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj;
8347 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8348 bool result;
8349 PyObject * obj0 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self", NULL
8352 };
8353
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 resultobj = PyInt_FromLong((long)result);
8364 return resultobj;
8365 fail:
8366 return NULL;
8367 }
8368
8369
8370 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8371 PyObject *obj;
8372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8373 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8374 Py_INCREF(obj);
8375 return Py_BuildValue((char *)"");
8376 }
8377 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8378 PyObject *resultobj;
8379 int arg1 = (int) 0 ;
8380 int arg2 = (int) 0 ;
8381 int arg3 = (int) 0 ;
8382 wxProcessEvent *result;
8383 char *kwnames[] = {
8384 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8396 return resultobj;
8397 fail:
8398 return NULL;
8399 }
8400
8401
8402 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8403 PyObject *resultobj;
8404 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8405 int result;
8406 PyObject * obj0 = 0 ;
8407 char *kwnames[] = {
8408 (char *) "self", NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (int)(arg1)->GetPid();
8416
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = PyInt_FromLong((long)result);
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj;
8429 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8430 int result;
8431 PyObject * obj0 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8438 {
8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
8440 result = (int)(arg1)->GetExitCode();
8441
8442 wxPyEndAllowThreads(__tstate);
8443 if (PyErr_Occurred()) SWIG_fail;
8444 }
8445 resultobj = PyInt_FromLong((long)result);
8446 return resultobj;
8447 fail:
8448 return NULL;
8449 }
8450
8451
8452 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8453 PyObject *resultobj;
8454 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8455 int arg2 ;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self",(char *) "m_pid", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8463 if (arg1) (arg1)->m_pid = arg2;
8464
8465 Py_INCREF(Py_None); resultobj = Py_None;
8466 return resultobj;
8467 fail:
8468 return NULL;
8469 }
8470
8471
8472 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8473 PyObject *resultobj;
8474 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8475 int result;
8476 PyObject * obj0 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8483 result = (int) ((arg1)->m_pid);
8484
8485 resultobj = PyInt_FromLong((long)result);
8486 return resultobj;
8487 fail:
8488 return NULL;
8489 }
8490
8491
8492 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8495 int arg2 ;
8496 PyObject * obj0 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self",(char *) "m_exitcode", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8503 if (arg1) (arg1)->m_exitcode = arg2;
8504
8505 Py_INCREF(Py_None); resultobj = Py_None;
8506 return resultobj;
8507 fail:
8508 return NULL;
8509 }
8510
8511
8512 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj;
8514 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8515 int result;
8516 PyObject * obj0 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8523 result = (int) ((arg1)->m_exitcode);
8524
8525 resultobj = PyInt_FromLong((long)result);
8526 return resultobj;
8527 fail:
8528 return NULL;
8529 }
8530
8531
8532 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8533 PyObject *obj;
8534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8535 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8536 Py_INCREF(obj);
8537 return Py_BuildValue((char *)"");
8538 }
8539 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxString *arg1 = 0 ;
8542 int arg2 = (int) wxEXEC_ASYNC ;
8543 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8544 long result;
8545 bool temp1 = False ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj2 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "command",(char *) "flags",(char *) "process", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8553 {
8554 arg1 = wxString_in_helper(obj0);
8555 if (arg1 == NULL) SWIG_fail;
8556 temp1 = True;
8557 }
8558 if (obj2) {
8559 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8560 }
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 resultobj = PyInt_FromLong((long)result);
8569 {
8570 if (temp1)
8571 delete arg1;
8572 }
8573 return resultobj;
8574 fail:
8575 {
8576 if (temp1)
8577 delete arg1;
8578 }
8579 return NULL;
8580 }
8581
8582
8583 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 int arg1 = (int) wxJOYSTICK1 ;
8586 wxJoystick *result;
8587 char *kwnames[] = {
8588 (char *) "joystick", NULL
8589 };
8590
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (wxJoystick *)new wxJoystick(arg1);
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8600 return resultobj;
8601 fail:
8602 return NULL;
8603 }
8604
8605
8606 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj;
8608 wxJoystick *arg1 = (wxJoystick *) 0 ;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 delete arg1;
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 Py_INCREF(Py_None); resultobj = Py_None;
8624 return resultobj;
8625 fail:
8626 return NULL;
8627 }
8628
8629
8630 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxJoystick *arg1 = (wxJoystick *) 0 ;
8633 wxPoint result;
8634 PyObject * obj0 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (arg1)->GetPosition();
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 {
8649 wxPoint * resultptr;
8650 resultptr = new wxPoint((wxPoint &) result);
8651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8652 }
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxJoystick *arg1 = (wxJoystick *) 0 ;
8662 int result;
8663 PyObject * obj0 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 result = (int)(arg1)->GetZPosition();
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 resultobj = PyInt_FromLong((long)result);
8678 return resultobj;
8679 fail:
8680 return NULL;
8681 }
8682
8683
8684 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj;
8686 wxJoystick *arg1 = (wxJoystick *) 0 ;
8687 int result;
8688 PyObject * obj0 = 0 ;
8689 char *kwnames[] = {
8690 (char *) "self", NULL
8691 };
8692
8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 result = (int)(arg1)->GetButtonState();
8698
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 resultobj = PyInt_FromLong((long)result);
8703 return resultobj;
8704 fail:
8705 return NULL;
8706 }
8707
8708
8709 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj;
8711 wxJoystick *arg1 = (wxJoystick *) 0 ;
8712 int result;
8713 PyObject * obj0 = 0 ;
8714 char *kwnames[] = {
8715 (char *) "self", NULL
8716 };
8717
8718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 result = (int)(arg1)->GetPOVPosition();
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = PyInt_FromLong((long)result);
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxJoystick *arg1 = (wxJoystick *) 0 ;
8737 int result;
8738 PyObject * obj0 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 result = (int)(arg1)->GetPOVCTSPosition();
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 resultobj = PyInt_FromLong((long)result);
8753 return resultobj;
8754 fail:
8755 return NULL;
8756 }
8757
8758
8759 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8760 PyObject *resultobj;
8761 wxJoystick *arg1 = (wxJoystick *) 0 ;
8762 int result;
8763 PyObject * obj0 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 result = (int)(arg1)->GetRudderPosition();
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 resultobj = PyInt_FromLong((long)result);
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxJoystick *arg1 = (wxJoystick *) 0 ;
8787 int result;
8788 PyObject * obj0 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 {
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 result = (int)(arg1)->GetUPosition();
8798
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 resultobj = PyInt_FromLong((long)result);
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxJoystick *arg1 = (wxJoystick *) 0 ;
8812 int result;
8813 PyObject * obj0 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 result = (int)(arg1)->GetVPosition();
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 resultobj = PyInt_FromLong((long)result);
8828 return resultobj;
8829 fail:
8830 return NULL;
8831 }
8832
8833
8834 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxJoystick *arg1 = (wxJoystick *) 0 ;
8837 int result;
8838 PyObject * obj0 = 0 ;
8839 char *kwnames[] = {
8840 (char *) "self", NULL
8841 };
8842
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 result = (int)(arg1)->GetMovementThreshold();
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 resultobj = PyInt_FromLong((long)result);
8853 return resultobj;
8854 fail:
8855 return NULL;
8856 }
8857
8858
8859 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxJoystick *arg1 = (wxJoystick *) 0 ;
8862 int arg2 ;
8863 PyObject * obj0 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self",(char *) "threshold", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8870 {
8871 PyThreadState* __tstate = wxPyBeginAllowThreads();
8872 (arg1)->SetMovementThreshold(arg2);
8873
8874 wxPyEndAllowThreads(__tstate);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 }
8877 Py_INCREF(Py_None); resultobj = Py_None;
8878 return resultobj;
8879 fail:
8880 return NULL;
8881 }
8882
8883
8884 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8885 PyObject *resultobj;
8886 wxJoystick *arg1 = (wxJoystick *) 0 ;
8887 bool result;
8888 PyObject * obj0 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "self", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 result = (bool)(arg1)->IsOk();
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 resultobj = PyInt_FromLong((long)result);
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxJoystick *arg1 = (wxJoystick *) 0 ;
8912 int result;
8913 PyObject * obj0 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
8919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 result = (int)(arg1)->GetNumberJoysticks();
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 resultobj = PyInt_FromLong((long)result);
8928 return resultobj;
8929 fail:
8930 return NULL;
8931 }
8932
8933
8934 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj;
8936 wxJoystick *arg1 = (wxJoystick *) 0 ;
8937 int result;
8938 PyObject * obj0 = 0 ;
8939 char *kwnames[] = {
8940 (char *) "self", NULL
8941 };
8942
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
8944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 result = (int)(arg1)->GetManufacturerId();
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 resultobj = PyInt_FromLong((long)result);
8953 return resultobj;
8954 fail:
8955 return NULL;
8956 }
8957
8958
8959 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
8960 PyObject *resultobj;
8961 wxJoystick *arg1 = (wxJoystick *) 0 ;
8962 int result;
8963 PyObject * obj0 = 0 ;
8964 char *kwnames[] = {
8965 (char *) "self", NULL
8966 };
8967
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
8969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 result = (int)(arg1)->GetProductId();
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 resultobj = PyInt_FromLong((long)result);
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxJoystick *arg1 = (wxJoystick *) 0 ;
8987 wxString result;
8988 PyObject * obj0 = 0 ;
8989 char *kwnames[] = {
8990 (char *) "self", NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
8994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 result = (arg1)->GetProductName();
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 {
9003 #if wxUSE_UNICODE
9004 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9005 #else
9006 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9007 #endif
9008 }
9009 return resultobj;
9010 fail:
9011 return NULL;
9012 }
9013
9014
9015 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9016 PyObject *resultobj;
9017 wxJoystick *arg1 = (wxJoystick *) 0 ;
9018 int result;
9019 PyObject * obj0 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = (int)(arg1)->GetXMin();
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 resultobj = PyInt_FromLong((long)result);
9034 return resultobj;
9035 fail:
9036 return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxJoystick *arg1 = (wxJoystick *) 0 ;
9043 int result;
9044 PyObject * obj0 = 0 ;
9045 char *kwnames[] = {
9046 (char *) "self", NULL
9047 };
9048
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 result = (int)(arg1)->GetYMin();
9054
9055 wxPyEndAllowThreads(__tstate);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 resultobj = PyInt_FromLong((long)result);
9059 return resultobj;
9060 fail:
9061 return NULL;
9062 }
9063
9064
9065 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9066 PyObject *resultobj;
9067 wxJoystick *arg1 = (wxJoystick *) 0 ;
9068 int result;
9069 PyObject * obj0 = 0 ;
9070 char *kwnames[] = {
9071 (char *) "self", NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 result = (int)(arg1)->GetZMin();
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = PyInt_FromLong((long)result);
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxJoystick *arg1 = (wxJoystick *) 0 ;
9093 int result;
9094 PyObject * obj0 = 0 ;
9095 char *kwnames[] = {
9096 (char *) "self", NULL
9097 };
9098
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = (int)(arg1)->GetXMax();
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 resultobj = PyInt_FromLong((long)result);
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj;
9117 wxJoystick *arg1 = (wxJoystick *) 0 ;
9118 int result;
9119 PyObject * obj0 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "self", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 result = (int)(arg1)->GetYMax();
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 resultobj = PyInt_FromLong((long)result);
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj;
9142 wxJoystick *arg1 = (wxJoystick *) 0 ;
9143 int result;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (int)(arg1)->GetZMax();
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = PyInt_FromLong((long)result);
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxJoystick *arg1 = (wxJoystick *) 0 ;
9168 int result;
9169 PyObject * obj0 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 result = (int)(arg1)->GetNumberButtons();
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 resultobj = PyInt_FromLong((long)result);
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9191 PyObject *resultobj;
9192 wxJoystick *arg1 = (wxJoystick *) 0 ;
9193 int result;
9194 PyObject * obj0 = 0 ;
9195 char *kwnames[] = {
9196 (char *) "self", NULL
9197 };
9198
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 result = (int)(arg1)->GetNumberAxes();
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 resultobj = PyInt_FromLong((long)result);
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxJoystick *arg1 = (wxJoystick *) 0 ;
9218 int result;
9219 PyObject * obj0 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "self", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (int)(arg1)->GetMaxButtons();
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 resultobj = PyInt_FromLong((long)result);
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxJoystick *arg1 = (wxJoystick *) 0 ;
9243 int result;
9244 PyObject * obj0 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 result = (int)(arg1)->GetMaxAxes();
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 resultobj = PyInt_FromLong((long)result);
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj;
9267 wxJoystick *arg1 = (wxJoystick *) 0 ;
9268 int result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 result = (int)(arg1)->GetPollingMin();
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 resultobj = PyInt_FromLong((long)result);
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj;
9292 wxJoystick *arg1 = (wxJoystick *) 0 ;
9293 int result;
9294 PyObject * obj0 = 0 ;
9295 char *kwnames[] = {
9296 (char *) "self", NULL
9297 };
9298
9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = (int)(arg1)->GetPollingMax();
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 resultobj = PyInt_FromLong((long)result);
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxJoystick *arg1 = (wxJoystick *) 0 ;
9318 int result;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = (int)(arg1)->GetRudderMin();
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 resultobj = PyInt_FromLong((long)result);
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxJoystick *arg1 = (wxJoystick *) 0 ;
9343 int result;
9344 PyObject * obj0 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 result = (int)(arg1)->GetRudderMax();
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 resultobj = PyInt_FromLong((long)result);
9359 return resultobj;
9360 fail:
9361 return NULL;
9362 }
9363
9364
9365 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj;
9367 wxJoystick *arg1 = (wxJoystick *) 0 ;
9368 int result;
9369 PyObject * obj0 = 0 ;
9370 char *kwnames[] = {
9371 (char *) "self", NULL
9372 };
9373
9374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (int)(arg1)->GetUMin();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 resultobj = PyInt_FromLong((long)result);
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxJoystick *arg1 = (wxJoystick *) 0 ;
9393 int result;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 result = (int)(arg1)->GetUMax();
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 resultobj = PyInt_FromLong((long)result);
9409 return resultobj;
9410 fail:
9411 return NULL;
9412 }
9413
9414
9415 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9416 PyObject *resultobj;
9417 wxJoystick *arg1 = (wxJoystick *) 0 ;
9418 int result;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 result = (int)(arg1)->GetVMin();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 resultobj = PyInt_FromLong((long)result);
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxJoystick *arg1 = (wxJoystick *) 0 ;
9443 int result;
9444 PyObject * obj0 = 0 ;
9445 char *kwnames[] = {
9446 (char *) "self", NULL
9447 };
9448
9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = (int)(arg1)->GetVMax();
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = PyInt_FromLong((long)result);
9459 return resultobj;
9460 fail:
9461 return NULL;
9462 }
9463
9464
9465 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj;
9467 wxJoystick *arg1 = (wxJoystick *) 0 ;
9468 bool result;
9469 PyObject * obj0 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (bool)(arg1)->HasRudder();
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = PyInt_FromLong((long)result);
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj;
9492 wxJoystick *arg1 = (wxJoystick *) 0 ;
9493 bool result;
9494 PyObject * obj0 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "self", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 result = (bool)(arg1)->HasZ();
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 resultobj = PyInt_FromLong((long)result);
9509 return resultobj;
9510 fail:
9511 return NULL;
9512 }
9513
9514
9515 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject *resultobj;
9517 wxJoystick *arg1 = (wxJoystick *) 0 ;
9518 bool result;
9519 PyObject * obj0 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9526 {
9527 PyThreadState* __tstate = wxPyBeginAllowThreads();
9528 result = (bool)(arg1)->HasU();
9529
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 resultobj = PyInt_FromLong((long)result);
9534 return resultobj;
9535 fail:
9536 return NULL;
9537 }
9538
9539
9540 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9541 PyObject *resultobj;
9542 wxJoystick *arg1 = (wxJoystick *) 0 ;
9543 bool result;
9544 PyObject * obj0 = 0 ;
9545 char *kwnames[] = {
9546 (char *) "self", NULL
9547 };
9548
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (bool)(arg1)->HasV();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 resultobj = PyInt_FromLong((long)result);
9559 return resultobj;
9560 fail:
9561 return NULL;
9562 }
9563
9564
9565 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj;
9567 wxJoystick *arg1 = (wxJoystick *) 0 ;
9568 bool result;
9569 PyObject * obj0 = 0 ;
9570 char *kwnames[] = {
9571 (char *) "self", NULL
9572 };
9573
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (bool)(arg1)->HasPOV();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 resultobj = PyInt_FromLong((long)result);
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxJoystick *arg1 = (wxJoystick *) 0 ;
9593 bool result;
9594 PyObject * obj0 = 0 ;
9595 char *kwnames[] = {
9596 (char *) "self", NULL
9597 };
9598
9599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 result = (bool)(arg1)->HasPOV4Dir();
9604
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
9608 resultobj = PyInt_FromLong((long)result);
9609 return resultobj;
9610 fail:
9611 return NULL;
9612 }
9613
9614
9615 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9616 PyObject *resultobj;
9617 wxJoystick *arg1 = (wxJoystick *) 0 ;
9618 bool result;
9619 PyObject * obj0 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "self", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 result = (bool)(arg1)->HasPOVCTS();
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 resultobj = PyInt_FromLong((long)result);
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj;
9642 wxJoystick *arg1 = (wxJoystick *) 0 ;
9643 wxWindow *arg2 = (wxWindow *) 0 ;
9644 int arg3 = (int) 0 ;
9645 bool result;
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (bool)(arg1)->SetCapture(arg2,arg3);
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 resultobj = PyInt_FromLong((long)result);
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxJoystick *arg1 = (wxJoystick *) 0 ;
9672 bool result;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 result = (bool)(arg1)->ReleaseCapture();
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 resultobj = PyInt_FromLong((long)result);
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9695 PyObject *obj;
9696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9697 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9698 Py_INCREF(obj);
9699 return Py_BuildValue((char *)"");
9700 }
9701 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj;
9703 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9704 wxPoint *arg2 = (wxPoint *) 0 ;
9705 PyObject * obj0 = 0 ;
9706 PyObject * obj1 = 0 ;
9707 char *kwnames[] = {
9708 (char *) "self",(char *) "m_pos", NULL
9709 };
9710
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9714 if (arg1) (arg1)->m_pos = *arg2;
9715
9716 Py_INCREF(Py_None); resultobj = Py_None;
9717 return resultobj;
9718 fail:
9719 return NULL;
9720 }
9721
9722
9723 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9724 PyObject *resultobj;
9725 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9726 wxPoint *result;
9727 PyObject * obj0 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9734 result = (wxPoint *)& ((arg1)->m_pos);
9735
9736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9746 int arg2 ;
9747 PyObject * obj0 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self",(char *) "m_zPosition", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9754 if (arg1) (arg1)->m_zPosition = arg2;
9755
9756 Py_INCREF(Py_None); resultobj = Py_None;
9757 return resultobj;
9758 fail:
9759 return NULL;
9760 }
9761
9762
9763 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj;
9765 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9766 int result;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9774 result = (int) ((arg1)->m_zPosition);
9775
9776 resultobj = PyInt_FromLong((long)result);
9777 return resultobj;
9778 fail:
9779 return NULL;
9780 }
9781
9782
9783 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9784 PyObject *resultobj;
9785 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9786 int arg2 ;
9787 PyObject * obj0 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self",(char *) "m_buttonChange", NULL
9790 };
9791
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9794 if (arg1) (arg1)->m_buttonChange = arg2;
9795
9796 Py_INCREF(Py_None); resultobj = Py_None;
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9806 int result;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 result = (int) ((arg1)->m_buttonChange);
9815
9816 resultobj = PyInt_FromLong((long)result);
9817 return resultobj;
9818 fail:
9819 return NULL;
9820 }
9821
9822
9823 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9824 PyObject *resultobj;
9825 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9826 int arg2 ;
9827 PyObject * obj0 = 0 ;
9828 char *kwnames[] = {
9829 (char *) "self",(char *) "m_buttonState", NULL
9830 };
9831
9832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9834 if (arg1) (arg1)->m_buttonState = arg2;
9835
9836 Py_INCREF(Py_None); resultobj = Py_None;
9837 return resultobj;
9838 fail:
9839 return NULL;
9840 }
9841
9842
9843 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj;
9845 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9846 int result;
9847 PyObject * obj0 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9854 result = (int) ((arg1)->m_buttonState);
9855
9856 resultobj = PyInt_FromLong((long)result);
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9866 int arg2 ;
9867 PyObject * obj0 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "m_joyStick", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9874 if (arg1) (arg1)->m_joyStick = arg2;
9875
9876 Py_INCREF(Py_None); resultobj = Py_None;
9877 return resultobj;
9878 fail:
9879 return NULL;
9880 }
9881
9882
9883 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9884 PyObject *resultobj;
9885 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9886 int result;
9887 PyObject * obj0 = 0 ;
9888 char *kwnames[] = {
9889 (char *) "self", NULL
9890 };
9891
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9894 result = (int) ((arg1)->m_joyStick);
9895
9896 resultobj = PyInt_FromLong((long)result);
9897 return resultobj;
9898 fail:
9899 return NULL;
9900 }
9901
9902
9903 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9906 int arg2 = (int) 0 ;
9907 int arg3 = (int) wxJOYSTICK1 ;
9908 int arg4 = (int) 0 ;
9909 wxJoystickEvent *result;
9910 char *kwnames[] = {
9911 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9912 };
9913
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
9923 return resultobj;
9924 fail:
9925 return NULL;
9926 }
9927
9928
9929 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject *resultobj;
9931 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9932 wxPoint result;
9933 PyObject * obj0 = 0 ;
9934 char *kwnames[] = {
9935 (char *) "self", NULL
9936 };
9937
9938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
9939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = ((wxJoystickEvent const *)arg1)->GetPosition();
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 {
9948 wxPoint * resultptr;
9949 resultptr = new wxPoint((wxPoint &) result);
9950 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9951 }
9952 return resultobj;
9953 fail:
9954 return NULL;
9955 }
9956
9957
9958 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9961 int result;
9962 PyObject * obj0 = 0 ;
9963 char *kwnames[] = {
9964 (char *) "self", NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
9968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = PyInt_FromLong((long)result);
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9986 int result;
9987 PyObject * obj0 = 0 ;
9988 char *kwnames[] = {
9989 (char *) "self", NULL
9990 };
9991
9992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
9993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 resultobj = PyInt_FromLong((long)result);
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10011 int result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 resultobj = PyInt_FromLong((long)result);
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10036 int result;
10037 PyObject * obj0 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "self", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 resultobj = PyInt_FromLong((long)result);
10052 return resultobj;
10053 fail:
10054 return NULL;
10055 }
10056
10057
10058 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10061 int arg2 ;
10062 PyObject * obj0 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self",(char *) "stick", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 (arg1)->SetJoystick(arg2);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 Py_INCREF(Py_None); resultobj = Py_None;
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10086 int arg2 ;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self",(char *) "state", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 (arg1)->SetButtonState(arg2);
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 Py_INCREF(Py_None); resultobj = Py_None;
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj;
10110 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10111 int arg2 ;
10112 PyObject * obj0 = 0 ;
10113 char *kwnames[] = {
10114 (char *) "self",(char *) "change", NULL
10115 };
10116
10117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10119 {
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
10121 (arg1)->SetButtonChange(arg2);
10122
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 Py_INCREF(Py_None); resultobj = Py_None;
10127 return resultobj;
10128 fail:
10129 return NULL;
10130 }
10131
10132
10133 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj;
10135 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10136 wxPoint *arg2 = 0 ;
10137 wxPoint temp2 ;
10138 PyObject * obj0 = 0 ;
10139 PyObject * obj1 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self",(char *) "pos", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10146 {
10147 arg2 = &temp2;
10148 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10149 }
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 (arg1)->SetPosition((wxPoint const &)*arg2);
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 Py_INCREF(Py_None); resultobj = Py_None;
10158 return resultobj;
10159 fail:
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10167 int arg2 ;
10168 PyObject * obj0 = 0 ;
10169 char *kwnames[] = {
10170 (char *) "self",(char *) "zPos", NULL
10171 };
10172
10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 (arg1)->SetZPosition(arg2);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 Py_INCREF(Py_None); resultobj = Py_None;
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10192 bool result;
10193 PyObject * obj0 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "self", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = PyInt_FromLong((long)result);
10208 return resultobj;
10209 fail:
10210 return NULL;
10211 }
10212
10213
10214 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj;
10216 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10217 bool result;
10218 PyObject * obj0 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self", NULL
10221 };
10222
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 resultobj = PyInt_FromLong((long)result);
10233 return resultobj;
10234 fail:
10235 return NULL;
10236 }
10237
10238
10239 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject *resultobj;
10241 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10242 bool result;
10243 PyObject * obj0 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = PyInt_FromLong((long)result);
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10267 int arg2 = (int) wxJOY_BUTTON_ANY ;
10268 bool result;
10269 PyObject * obj0 = 0 ;
10270 char *kwnames[] = {
10271 (char *) "self",(char *) "but", NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 resultobj = PyInt_FromLong((long)result);
10284 return resultobj;
10285 fail:
10286 return NULL;
10287 }
10288
10289
10290 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj;
10292 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10293 int arg2 = (int) wxJOY_BUTTON_ANY ;
10294 bool result;
10295 PyObject * obj0 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self",(char *) "but", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
10304 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) SWIG_fail;
10308 }
10309 resultobj = PyInt_FromLong((long)result);
10310 return resultobj;
10311 fail:
10312 return NULL;
10313 }
10314
10315
10316 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10317 PyObject *resultobj;
10318 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10319 int arg2 = (int) wxJOY_BUTTON_ANY ;
10320 bool result;
10321 PyObject * obj0 = 0 ;
10322 char *kwnames[] = {
10323 (char *) "self",(char *) "but", NULL
10324 };
10325
10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 resultobj = PyInt_FromLong((long)result);
10336 return resultobj;
10337 fail:
10338 return NULL;
10339 }
10340
10341
10342 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10343 PyObject *obj;
10344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10345 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10346 Py_INCREF(obj);
10347 return Py_BuildValue((char *)"");
10348 }
10349 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxString *arg1 = 0 ;
10352 bool arg2 = (bool) False ;
10353 wxWave *result;
10354 bool temp1 = False ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "fileName",(char *) "isResource", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10362 {
10363 arg1 = wxString_in_helper(obj0);
10364 if (arg1 == NULL) SWIG_fail;
10365 temp1 = True;
10366 }
10367 if (obj1) {
10368 arg2 = PyInt_AsLong(obj1) ? true : false;
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10379 {
10380 if (temp1)
10381 delete arg1;
10382 }
10383 return resultobj;
10384 fail:
10385 {
10386 if (temp1)
10387 delete arg1;
10388 }
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxString *arg1 = 0 ;
10396 wxWave *result;
10397 bool temp1 = False ;
10398 PyObject * obj0 = 0 ;
10399 char *kwnames[] = {
10400 (char *) "data", NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10404 {
10405 arg1 = wxString_in_helper(obj0);
10406 if (arg1 == NULL) SWIG_fail;
10407 temp1 = True;
10408 }
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10417 {
10418 if (temp1)
10419 delete arg1;
10420 }
10421 return resultobj;
10422 fail:
10423 {
10424 if (temp1)
10425 delete arg1;
10426 }
10427 return NULL;
10428 }
10429
10430
10431 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10432 PyObject *resultobj;
10433 wxWave *arg1 = (wxWave *) 0 ;
10434 PyObject * obj0 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10441 {
10442 PyThreadState* __tstate = wxPyBeginAllowThreads();
10443 delete arg1;
10444
10445 wxPyEndAllowThreads(__tstate);
10446 if (PyErr_Occurred()) SWIG_fail;
10447 }
10448 Py_INCREF(Py_None); resultobj = Py_None;
10449 return resultobj;
10450 fail:
10451 return NULL;
10452 }
10453
10454
10455 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10456 PyObject *resultobj;
10457 wxWave *arg1 = (wxWave *) 0 ;
10458 bool result;
10459 PyObject * obj0 = 0 ;
10460 char *kwnames[] = {
10461 (char *) "self", NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 result = (bool)((wxWave const *)arg1)->IsOk();
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 resultobj = PyInt_FromLong((long)result);
10474 return resultobj;
10475 fail:
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj;
10482 wxWave *arg1 = (wxWave *) 0 ;
10483 bool arg2 = (bool) True ;
10484 bool arg3 = (bool) False ;
10485 bool result;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 PyObject * obj2 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "async",(char *) "looped", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10495 if (obj1) {
10496 arg2 = PyInt_AsLong(obj1) ? true : false;
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 if (obj2) {
10500 arg3 = PyInt_AsLong(obj2) ? true : false;
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 result = (bool)((wxWave const *)arg1)->Play(arg2,arg3);
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 resultobj = PyInt_FromLong((long)result);
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10518 PyObject *obj;
10519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10520 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10521 Py_INCREF(obj);
10522 return Py_BuildValue((char *)"");
10523 }
10524 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj;
10526 wxString *arg1 = 0 ;
10527 wxString *arg2 = 0 ;
10528 wxString *arg3 = 0 ;
10529 wxString *arg4 = 0 ;
10530 wxFileTypeInfo *result;
10531 bool temp1 = False ;
10532 bool temp2 = False ;
10533 bool temp3 = False ;
10534 bool temp4 = False ;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 PyObject * obj2 = 0 ;
10538 PyObject * obj3 = 0 ;
10539 char *kwnames[] = {
10540 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10541 };
10542
10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10544 {
10545 arg1 = wxString_in_helper(obj0);
10546 if (arg1 == NULL) SWIG_fail;
10547 temp1 = True;
10548 }
10549 {
10550 arg2 = wxString_in_helper(obj1);
10551 if (arg2 == NULL) SWIG_fail;
10552 temp2 = True;
10553 }
10554 {
10555 arg3 = wxString_in_helper(obj2);
10556 if (arg3 == NULL) SWIG_fail;
10557 temp3 = True;
10558 }
10559 {
10560 arg4 = wxString_in_helper(obj3);
10561 if (arg4 == NULL) SWIG_fail;
10562 temp4 = True;
10563 }
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10572 {
10573 if (temp1)
10574 delete arg1;
10575 }
10576 {
10577 if (temp2)
10578 delete arg2;
10579 }
10580 {
10581 if (temp3)
10582 delete arg3;
10583 }
10584 {
10585 if (temp4)
10586 delete arg4;
10587 }
10588 return resultobj;
10589 fail:
10590 {
10591 if (temp1)
10592 delete arg1;
10593 }
10594 {
10595 if (temp2)
10596 delete arg2;
10597 }
10598 {
10599 if (temp3)
10600 delete arg3;
10601 }
10602 {
10603 if (temp4)
10604 delete arg4;
10605 }
10606 return NULL;
10607 }
10608
10609
10610 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10611 PyObject *resultobj;
10612 wxArrayString *arg1 = 0 ;
10613 wxFileTypeInfo *result;
10614 PyObject * obj0 = 0 ;
10615 char *kwnames[] = {
10616 (char *) "sArray", NULL
10617 };
10618
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10620 {
10621 if (! PySequence_Check(obj0)) {
10622 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10623 SWIG_fail;
10624 }
10625 arg1 = new wxArrayString;
10626 int i, len=PySequence_Length(obj0);
10627 for (i=0; i<len; i++) {
10628 PyObject* item = PySequence_GetItem(obj0, i);
10629 #if wxUSE_UNICODE
10630 PyObject* str = PyObject_Unicode(item);
10631 #else
10632 PyObject* str = PyObject_Str(item);
10633 #endif
10634 arg1->Add(Py2wxString(str));
10635 Py_DECREF(item);
10636 Py_DECREF(str);
10637 }
10638 }
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10647 {
10648 if (arg1) delete arg1;
10649 }
10650 return resultobj;
10651 fail:
10652 {
10653 if (arg1) delete arg1;
10654 }
10655 return NULL;
10656 }
10657
10658
10659 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj;
10661 wxFileTypeInfo *result;
10662 char *kwnames[] = {
10663 NULL
10664 };
10665
10666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10670
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10684 bool result;
10685 PyObject * obj0 = 0 ;
10686 char *kwnames[] = {
10687 (char *) "self", NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 resultobj = PyInt_FromLong((long)result);
10700 return resultobj;
10701 fail:
10702 return NULL;
10703 }
10704
10705
10706 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj;
10708 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10709 wxString *arg2 = 0 ;
10710 int arg3 = (int) 0 ;
10711 bool temp2 = False ;
10712 PyObject * obj0 = 0 ;
10713 PyObject * obj1 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10720 {
10721 arg2 = wxString_in_helper(obj1);
10722 if (arg2 == NULL) SWIG_fail;
10723 temp2 = True;
10724 }
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10728
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 Py_INCREF(Py_None); resultobj = Py_None;
10733 {
10734 if (temp2)
10735 delete arg2;
10736 }
10737 return resultobj;
10738 fail:
10739 {
10740 if (temp2)
10741 delete arg2;
10742 }
10743 return NULL;
10744 }
10745
10746
10747 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10748 PyObject *resultobj;
10749 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10750 wxString *arg2 = 0 ;
10751 bool temp2 = False ;
10752 PyObject * obj0 = 0 ;
10753 PyObject * obj1 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self",(char *) "shortDesc", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10760 {
10761 arg2 = wxString_in_helper(obj1);
10762 if (arg2 == NULL) SWIG_fail;
10763 temp2 = True;
10764 }
10765 {
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 (arg1)->SetShortDesc((wxString const &)*arg2);
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 Py_INCREF(Py_None); resultobj = Py_None;
10773 {
10774 if (temp2)
10775 delete arg2;
10776 }
10777 return resultobj;
10778 fail:
10779 {
10780 if (temp2)
10781 delete arg2;
10782 }
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10790 wxString *result;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 {
10801 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10802 result = (wxString *) &_result_ref;
10803 }
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10809 return resultobj;
10810 fail:
10811 return NULL;
10812 }
10813
10814
10815 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10816 PyObject *resultobj;
10817 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10818 wxString *result;
10819 PyObject * obj0 = 0 ;
10820 char *kwnames[] = {
10821 (char *) "self", NULL
10822 };
10823
10824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 {
10829 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10830 result = (wxString *) &_result_ref;
10831 }
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10837 return resultobj;
10838 fail:
10839 return NULL;
10840 }
10841
10842
10843 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10846 wxString *result;
10847 PyObject * obj0 = 0 ;
10848 char *kwnames[] = {
10849 (char *) "self", NULL
10850 };
10851
10852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10854 {
10855 PyThreadState* __tstate = wxPyBeginAllowThreads();
10856 {
10857 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10858 result = (wxString *) &_result_ref;
10859 }
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10865 return resultobj;
10866 fail:
10867 return NULL;
10868 }
10869
10870
10871 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10874 wxString *result;
10875 PyObject * obj0 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 {
10885 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10886 result = (wxString *) &_result_ref;
10887 }
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10893 return resultobj;
10894 fail:
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10902 wxString *result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
10909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 {
10913 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
10914 result = (wxString *) &_result_ref;
10915 }
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10921 return resultobj;
10922 fail:
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10930 wxArrayString *result;
10931 PyObject * obj0 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
10937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 {
10941 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
10942 result = (wxArrayString *) &_result_ref;
10943 }
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 {
10949 resultobj = wxArrayString2PyList_helper(*result);
10950 }
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj;
10959 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10960 int result;
10961 PyObject * obj0 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 resultobj = PyInt_FromLong((long)result);
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10985 wxString *result;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 {
10996 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
10997 result = (wxString *) &_result_ref;
10998 }
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11013 int result;
11014 PyObject * obj0 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 resultobj = PyInt_FromLong((long)result);
11029 return resultobj;
11030 fail:
11031 return NULL;
11032 }
11033
11034
11035 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11036 PyObject *obj;
11037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11038 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11039 Py_INCREF(obj);
11040 return Py_BuildValue((char *)"");
11041 }
11042 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj;
11044 wxFileTypeInfo *arg1 = 0 ;
11045 wxFileType *result;
11046 PyObject * obj0 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "ftInfo", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11053 if (arg1 == NULL) {
11054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11055 }
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj;
11072 wxFileType *arg1 = (wxFileType *) 0 ;
11073 PyObject * obj0 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 delete arg1;
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxFileType *arg1 = (wxFileType *) 0 ;
11097 PyObject *result;
11098 PyObject * obj0 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (PyObject *)wxFileType_GetMimeType(arg1);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = result;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxFileType *arg1 = (wxFileType *) 0 ;
11122 PyObject *result;
11123 PyObject * obj0 = 0 ;
11124 char *kwnames[] = {
11125 (char *) "self", NULL
11126 };
11127
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11130 {
11131 PyThreadState* __tstate = wxPyBeginAllowThreads();
11132 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11133
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 resultobj = result;
11138 return resultobj;
11139 fail:
11140 return NULL;
11141 }
11142
11143
11144 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11145 PyObject *resultobj;
11146 wxFileType *arg1 = (wxFileType *) 0 ;
11147 PyObject *result;
11148 PyObject * obj0 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (PyObject *)wxFileType_GetExtensions(arg1);
11158
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 resultobj = result;
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxFileType *arg1 = (wxFileType *) 0 ;
11172 wxIcon *result;
11173 PyObject * obj0 = 0 ;
11174 char *kwnames[] = {
11175 (char *) "self", NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 result = (wxIcon *)wxFileType_GetIcon(arg1);
11183
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxFileType *arg1 = (wxFileType *) 0 ;
11197 PyObject *result;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 resultobj = result;
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxFileType *arg1 = (wxFileType *) 0 ;
11222 PyObject *result;
11223 PyObject * obj0 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 result = (PyObject *)wxFileType_GetDescription(arg1);
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 resultobj = result;
11238 return resultobj;
11239 fail:
11240 return NULL;
11241 }
11242
11243
11244 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj;
11246 wxFileType *arg1 = (wxFileType *) 0 ;
11247 wxString *arg2 = 0 ;
11248 wxString const &arg3_defvalue = wxPyEmptyString ;
11249 wxString *arg3 = (wxString *) &arg3_defvalue ;
11250 PyObject *result;
11251 bool temp2 = False ;
11252 bool temp3 = False ;
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 PyObject * obj2 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11262 {
11263 arg2 = wxString_in_helper(obj1);
11264 if (arg2 == NULL) SWIG_fail;
11265 temp2 = True;
11266 }
11267 if (obj2) {
11268 {
11269 arg3 = wxString_in_helper(obj2);
11270 if (arg3 == NULL) SWIG_fail;
11271 temp3 = True;
11272 }
11273 }
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 resultobj = result;
11282 {
11283 if (temp2)
11284 delete arg2;
11285 }
11286 {
11287 if (temp3)
11288 delete arg3;
11289 }
11290 return resultobj;
11291 fail:
11292 {
11293 if (temp2)
11294 delete arg2;
11295 }
11296 {
11297 if (temp3)
11298 delete arg3;
11299 }
11300 return NULL;
11301 }
11302
11303
11304 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11305 PyObject *resultobj;
11306 wxFileType *arg1 = (wxFileType *) 0 ;
11307 wxString *arg2 = 0 ;
11308 wxString const &arg3_defvalue = wxPyEmptyString ;
11309 wxString *arg3 = (wxString *) &arg3_defvalue ;
11310 PyObject *result;
11311 bool temp2 = False ;
11312 bool temp3 = False ;
11313 PyObject * obj0 = 0 ;
11314 PyObject * obj1 = 0 ;
11315 PyObject * obj2 = 0 ;
11316 char *kwnames[] = {
11317 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11318 };
11319
11320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11322 {
11323 arg2 = wxString_in_helper(obj1);
11324 if (arg2 == NULL) SWIG_fail;
11325 temp2 = True;
11326 }
11327 if (obj2) {
11328 {
11329 arg3 = wxString_in_helper(obj2);
11330 if (arg3 == NULL) SWIG_fail;
11331 temp3 = True;
11332 }
11333 }
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 resultobj = result;
11342 {
11343 if (temp2)
11344 delete arg2;
11345 }
11346 {
11347 if (temp3)
11348 delete arg3;
11349 }
11350 return resultobj;
11351 fail:
11352 {
11353 if (temp2)
11354 delete arg2;
11355 }
11356 {
11357 if (temp3)
11358 delete arg3;
11359 }
11360 return NULL;
11361 }
11362
11363
11364 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11365 PyObject *resultobj;
11366 wxFileType *arg1 = (wxFileType *) 0 ;
11367 wxString *arg2 = 0 ;
11368 wxString const &arg3_defvalue = wxPyEmptyString ;
11369 wxString *arg3 = (wxString *) &arg3_defvalue ;
11370 PyObject *result;
11371 bool temp2 = False ;
11372 bool temp3 = False ;
11373 PyObject * obj0 = 0 ;
11374 PyObject * obj1 = 0 ;
11375 PyObject * obj2 = 0 ;
11376 char *kwnames[] = {
11377 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11378 };
11379
11380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11382 {
11383 arg2 = wxString_in_helper(obj1);
11384 if (arg2 == NULL) SWIG_fail;
11385 temp2 = True;
11386 }
11387 if (obj2) {
11388 {
11389 arg3 = wxString_in_helper(obj2);
11390 if (arg3 == NULL) SWIG_fail;
11391 temp3 = True;
11392 }
11393 }
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 resultobj = result;
11402 {
11403 if (temp2)
11404 delete arg2;
11405 }
11406 {
11407 if (temp3)
11408 delete arg3;
11409 }
11410 return resultobj;
11411 fail:
11412 {
11413 if (temp2)
11414 delete arg2;
11415 }
11416 {
11417 if (temp3)
11418 delete arg3;
11419 }
11420 return NULL;
11421 }
11422
11423
11424 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxFileType *arg1 = (wxFileType *) 0 ;
11427 wxString *arg2 = 0 ;
11428 wxString *arg3 = 0 ;
11429 bool arg4 = (bool) True ;
11430 bool result;
11431 bool temp2 = False ;
11432 bool temp3 = False ;
11433 PyObject * obj0 = 0 ;
11434 PyObject * obj1 = 0 ;
11435 PyObject * obj2 = 0 ;
11436 PyObject * obj3 = 0 ;
11437 char *kwnames[] = {
11438 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11439 };
11440
11441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11443 {
11444 arg2 = wxString_in_helper(obj1);
11445 if (arg2 == NULL) SWIG_fail;
11446 temp2 = True;
11447 }
11448 {
11449 arg3 = wxString_in_helper(obj2);
11450 if (arg3 == NULL) SWIG_fail;
11451 temp3 = True;
11452 }
11453 if (obj3) {
11454 arg4 = PyInt_AsLong(obj3) ? true : false;
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 resultobj = PyInt_FromLong((long)result);
11465 {
11466 if (temp2)
11467 delete arg2;
11468 }
11469 {
11470 if (temp3)
11471 delete arg3;
11472 }
11473 return resultobj;
11474 fail:
11475 {
11476 if (temp2)
11477 delete arg2;
11478 }
11479 {
11480 if (temp3)
11481 delete arg3;
11482 }
11483 return NULL;
11484 }
11485
11486
11487 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11488 PyObject *resultobj;
11489 wxFileType *arg1 = (wxFileType *) 0 ;
11490 wxString const &arg2_defvalue = wxPyEmptyString ;
11491 wxString *arg2 = (wxString *) &arg2_defvalue ;
11492 int arg3 = (int) 0 ;
11493 bool result;
11494 bool temp2 = False ;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 char *kwnames[] = {
11498 (char *) "self",(char *) "cmd",(char *) "index", NULL
11499 };
11500
11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11503 if (obj1) {
11504 {
11505 arg2 = wxString_in_helper(obj1);
11506 if (arg2 == NULL) SWIG_fail;
11507 temp2 = True;
11508 }
11509 }
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 resultobj = PyInt_FromLong((long)result);
11518 {
11519 if (temp2)
11520 delete arg2;
11521 }
11522 return resultobj;
11523 fail:
11524 {
11525 if (temp2)
11526 delete arg2;
11527 }
11528 return NULL;
11529 }
11530
11531
11532 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11533 PyObject *resultobj;
11534 wxFileType *arg1 = (wxFileType *) 0 ;
11535 bool result;
11536 PyObject * obj0 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11543 {
11544 PyThreadState* __tstate = wxPyBeginAllowThreads();
11545 result = (bool)(arg1)->Unassociate();
11546
11547 wxPyEndAllowThreads(__tstate);
11548 if (PyErr_Occurred()) SWIG_fail;
11549 }
11550 resultobj = PyInt_FromLong((long)result);
11551 return resultobj;
11552 fail:
11553 return NULL;
11554 }
11555
11556
11557 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11558 PyObject *resultobj;
11559 wxString *arg1 = 0 ;
11560 wxString *arg2 = 0 ;
11561 wxString const &arg3_defvalue = wxPyEmptyString ;
11562 wxString *arg3 = (wxString *) &arg3_defvalue ;
11563 wxString result;
11564 bool temp1 = False ;
11565 bool temp2 = False ;
11566 bool temp3 = False ;
11567 PyObject * obj0 = 0 ;
11568 PyObject * obj1 = 0 ;
11569 PyObject * obj2 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11575 {
11576 arg1 = wxString_in_helper(obj0);
11577 if (arg1 == NULL) SWIG_fail;
11578 temp1 = True;
11579 }
11580 {
11581 arg2 = wxString_in_helper(obj1);
11582 if (arg2 == NULL) SWIG_fail;
11583 temp2 = True;
11584 }
11585 if (obj2) {
11586 {
11587 arg3 = wxString_in_helper(obj2);
11588 if (arg3 == NULL) SWIG_fail;
11589 temp3 = True;
11590 }
11591 }
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 #if wxUSE_UNICODE
11601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11602 #else
11603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11604 #endif
11605 }
11606 {
11607 if (temp1)
11608 delete arg1;
11609 }
11610 {
11611 if (temp2)
11612 delete arg2;
11613 }
11614 {
11615 if (temp3)
11616 delete arg3;
11617 }
11618 return resultobj;
11619 fail:
11620 {
11621 if (temp1)
11622 delete arg1;
11623 }
11624 {
11625 if (temp2)
11626 delete arg2;
11627 }
11628 {
11629 if (temp3)
11630 delete arg3;
11631 }
11632 return NULL;
11633 }
11634
11635
11636 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11637 PyObject *obj;
11638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11639 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11640 Py_INCREF(obj);
11641 return Py_BuildValue((char *)"");
11642 }
11643 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11644 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11645 return 1;
11646 }
11647
11648
11649 static PyObject *_wrap_TheMimeTypesManager_get() {
11650 PyObject *pyobj;
11651
11652 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11653 return pyobj;
11654 }
11655
11656
11657 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj;
11659 wxString *arg1 = 0 ;
11660 wxString *arg2 = 0 ;
11661 bool result;
11662 bool temp1 = False ;
11663 bool temp2 = False ;
11664 PyObject * obj0 = 0 ;
11665 PyObject * obj1 = 0 ;
11666 char *kwnames[] = {
11667 (char *) "mimeType",(char *) "wildcard", NULL
11668 };
11669
11670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11671 {
11672 arg1 = wxString_in_helper(obj0);
11673 if (arg1 == NULL) SWIG_fail;
11674 temp1 = True;
11675 }
11676 {
11677 arg2 = wxString_in_helper(obj1);
11678 if (arg2 == NULL) SWIG_fail;
11679 temp2 = True;
11680 }
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 resultobj = PyInt_FromLong((long)result);
11689 {
11690 if (temp1)
11691 delete arg1;
11692 }
11693 {
11694 if (temp2)
11695 delete arg2;
11696 }
11697 return resultobj;
11698 fail:
11699 {
11700 if (temp1)
11701 delete arg1;
11702 }
11703 {
11704 if (temp2)
11705 delete arg2;
11706 }
11707 return NULL;
11708 }
11709
11710
11711 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxMimeTypesManager *result;
11714 char *kwnames[] = {
11715 NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11727 return resultobj;
11728 fail:
11729 return NULL;
11730 }
11731
11732
11733 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11736 int arg2 = (int) wxMAILCAP_ALL ;
11737 wxString const &arg3_defvalue = wxPyEmptyString ;
11738 wxString *arg3 = (wxString *) &arg3_defvalue ;
11739 bool temp3 = False ;
11740 PyObject * obj0 = 0 ;
11741 PyObject * obj2 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11748 if (obj2) {
11749 {
11750 arg3 = wxString_in_helper(obj2);
11751 if (arg3 == NULL) SWIG_fail;
11752 temp3 = True;
11753 }
11754 }
11755 {
11756 PyThreadState* __tstate = wxPyBeginAllowThreads();
11757 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11758
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 Py_INCREF(Py_None); resultobj = Py_None;
11763 {
11764 if (temp3)
11765 delete arg3;
11766 }
11767 return resultobj;
11768 fail:
11769 {
11770 if (temp3)
11771 delete arg3;
11772 }
11773 return NULL;
11774 }
11775
11776
11777 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj;
11779 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11780 PyObject * obj0 = 0 ;
11781 char *kwnames[] = {
11782 (char *) "self", NULL
11783 };
11784
11785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 (arg1)->ClearData();
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 Py_INCREF(Py_None); resultobj = Py_None;
11795 return resultobj;
11796 fail:
11797 return NULL;
11798 }
11799
11800
11801 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj;
11803 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11804 wxString *arg2 = 0 ;
11805 wxFileType *result;
11806 bool temp2 = False ;
11807 PyObject * obj0 = 0 ;
11808 PyObject * obj1 = 0 ;
11809 char *kwnames[] = {
11810 (char *) "self",(char *) "ext", NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11815 {
11816 arg2 = wxString_in_helper(obj1);
11817 if (arg2 == NULL) SWIG_fail;
11818 temp2 = True;
11819 }
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11828 {
11829 if (temp2)
11830 delete arg2;
11831 }
11832 return resultobj;
11833 fail:
11834 {
11835 if (temp2)
11836 delete arg2;
11837 }
11838 return NULL;
11839 }
11840
11841
11842 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11843 PyObject *resultobj;
11844 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11845 wxString *arg2 = 0 ;
11846 wxFileType *result;
11847 bool temp2 = False ;
11848 PyObject * obj0 = 0 ;
11849 PyObject * obj1 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "self",(char *) "mimeType", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11856 {
11857 arg2 = wxString_in_helper(obj1);
11858 if (arg2 == NULL) SWIG_fail;
11859 temp2 = True;
11860 }
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11869 {
11870 if (temp2)
11871 delete arg2;
11872 }
11873 return resultobj;
11874 fail:
11875 {
11876 if (temp2)
11877 delete arg2;
11878 }
11879 return NULL;
11880 }
11881
11882
11883 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11886 wxString *arg2 = 0 ;
11887 bool arg3 = (bool) False ;
11888 bool result;
11889 bool temp2 = False ;
11890 PyObject * obj0 = 0 ;
11891 PyObject * obj1 = 0 ;
11892 PyObject * obj2 = 0 ;
11893 char *kwnames[] = {
11894 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11895 };
11896
11897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
11898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11899 {
11900 arg2 = wxString_in_helper(obj1);
11901 if (arg2 == NULL) SWIG_fail;
11902 temp2 = True;
11903 }
11904 if (obj2) {
11905 arg3 = PyInt_AsLong(obj2) ? true : false;
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = PyInt_FromLong((long)result);
11916 {
11917 if (temp2)
11918 delete arg2;
11919 }
11920 return resultobj;
11921 fail:
11922 {
11923 if (temp2)
11924 delete arg2;
11925 }
11926 return NULL;
11927 }
11928
11929
11930 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11933 wxString *arg2 = 0 ;
11934 bool result;
11935 bool temp2 = False ;
11936 PyObject * obj0 = 0 ;
11937 PyObject * obj1 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "self",(char *) "filename", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
11943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11944 {
11945 arg2 = wxString_in_helper(obj1);
11946 if (arg2 == NULL) SWIG_fail;
11947 temp2 = True;
11948 }
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = PyInt_FromLong((long)result);
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 return resultobj;
11962 fail:
11963 {
11964 if (temp2)
11965 delete arg2;
11966 }
11967 return NULL;
11968 }
11969
11970
11971 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11974 PyObject *result;
11975 PyObject * obj0 = 0 ;
11976 char *kwnames[] = {
11977 (char *) "self", NULL
11978 };
11979
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
11981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
11985
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 resultobj = result;
11990 return resultobj;
11991 fail:
11992 return NULL;
11993 }
11994
11995
11996 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj;
11998 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11999 wxFileTypeInfo *arg2 = 0 ;
12000 PyObject * obj0 = 0 ;
12001 PyObject * obj1 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self",(char *) "ft", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12009 if (arg2 == NULL) {
12010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12011 }
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 Py_INCREF(Py_None); resultobj = Py_None;
12020 return resultobj;
12021 fail:
12022 return NULL;
12023 }
12024
12025
12026 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12027 PyObject *resultobj;
12028 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12029 wxFileTypeInfo *arg2 = 0 ;
12030 wxFileType *result;
12031 PyObject * obj0 = 0 ;
12032 PyObject * obj1 = 0 ;
12033 char *kwnames[] = {
12034 (char *) "self",(char *) "ftInfo", NULL
12035 };
12036
12037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12040 if (arg2 == NULL) {
12041 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12042 }
12043 {
12044 PyThreadState* __tstate = wxPyBeginAllowThreads();
12045 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12046
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12051 return resultobj;
12052 fail:
12053 return NULL;
12054 }
12055
12056
12057 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12058 PyObject *resultobj;
12059 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12060 wxFileType *arg2 = (wxFileType *) 0 ;
12061 bool result;
12062 PyObject * obj0 = 0 ;
12063 PyObject * obj1 = 0 ;
12064 char *kwnames[] = {
12065 (char *) "self",(char *) "ft", NULL
12066 };
12067
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (bool)(arg1)->Unassociate(arg2);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 resultobj = PyInt_FromLong((long)result);
12079 return resultobj;
12080 fail:
12081 return NULL;
12082 }
12083
12084
12085 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12088 PyObject * obj0 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "self", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 delete arg1;
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 Py_INCREF(Py_None); resultobj = Py_None;
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12110 PyObject *obj;
12111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12112 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12113 Py_INCREF(obj);
12114 return Py_BuildValue((char *)"");
12115 }
12116 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12117 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12118 return 1;
12119 }
12120
12121
12122 static PyObject *_wrap_ART_TOOLBAR_get() {
12123 PyObject *pyobj;
12124
12125 {
12126 #if wxUSE_UNICODE
12127 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12128 #else
12129 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12130 #endif
12131 }
12132 return pyobj;
12133 }
12134
12135
12136 static int _wrap_ART_MENU_set(PyObject *_val) {
12137 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12138 return 1;
12139 }
12140
12141
12142 static PyObject *_wrap_ART_MENU_get() {
12143 PyObject *pyobj;
12144
12145 {
12146 #if wxUSE_UNICODE
12147 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12148 #else
12149 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12150 #endif
12151 }
12152 return pyobj;
12153 }
12154
12155
12156 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12157 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12158 return 1;
12159 }
12160
12161
12162 static PyObject *_wrap_ART_FRAME_ICON_get() {
12163 PyObject *pyobj;
12164
12165 {
12166 #if wxUSE_UNICODE
12167 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12168 #else
12169 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12170 #endif
12171 }
12172 return pyobj;
12173 }
12174
12175
12176 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12177 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12178 return 1;
12179 }
12180
12181
12182 static PyObject *_wrap_ART_CMN_DIALOG_get() {
12183 PyObject *pyobj;
12184
12185 {
12186 #if wxUSE_UNICODE
12187 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12188 #else
12189 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12190 #endif
12191 }
12192 return pyobj;
12193 }
12194
12195
12196 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12197 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12198 return 1;
12199 }
12200
12201
12202 static PyObject *_wrap_ART_HELP_BROWSER_get() {
12203 PyObject *pyobj;
12204
12205 {
12206 #if wxUSE_UNICODE
12207 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12208 #else
12209 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12210 #endif
12211 }
12212 return pyobj;
12213 }
12214
12215
12216 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12217 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12218 return 1;
12219 }
12220
12221
12222 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12223 PyObject *pyobj;
12224
12225 {
12226 #if wxUSE_UNICODE
12227 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12228 #else
12229 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12230 #endif
12231 }
12232 return pyobj;
12233 }
12234
12235
12236 static int _wrap_ART_OTHER_set(PyObject *_val) {
12237 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12238 return 1;
12239 }
12240
12241
12242 static PyObject *_wrap_ART_OTHER_get() {
12243 PyObject *pyobj;
12244
12245 {
12246 #if wxUSE_UNICODE
12247 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12248 #else
12249 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12250 #endif
12251 }
12252 return pyobj;
12253 }
12254
12255
12256 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12257 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12258 return 1;
12259 }
12260
12261
12262 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12263 PyObject *pyobj;
12264
12265 {
12266 #if wxUSE_UNICODE
12267 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12268 #else
12269 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12270 #endif
12271 }
12272 return pyobj;
12273 }
12274
12275
12276 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12277 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12278 return 1;
12279 }
12280
12281
12282 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12283 PyObject *pyobj;
12284
12285 {
12286 #if wxUSE_UNICODE
12287 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12288 #else
12289 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12290 #endif
12291 }
12292 return pyobj;
12293 }
12294
12295
12296 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12297 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12298 return 1;
12299 }
12300
12301
12302 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12303 PyObject *pyobj;
12304
12305 {
12306 #if wxUSE_UNICODE
12307 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12308 #else
12309 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12310 #endif
12311 }
12312 return pyobj;
12313 }
12314
12315
12316 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12317 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12318 return 1;
12319 }
12320
12321
12322 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12323 PyObject *pyobj;
12324
12325 {
12326 #if wxUSE_UNICODE
12327 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12328 #else
12329 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12330 #endif
12331 }
12332 return pyobj;
12333 }
12334
12335
12336 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12337 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12338 return 1;
12339 }
12340
12341
12342 static PyObject *_wrap_ART_HELP_BOOK_get() {
12343 PyObject *pyobj;
12344
12345 {
12346 #if wxUSE_UNICODE
12347 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12348 #else
12349 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12350 #endif
12351 }
12352 return pyobj;
12353 }
12354
12355
12356 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12357 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12358 return 1;
12359 }
12360
12361
12362 static PyObject *_wrap_ART_HELP_FOLDER_get() {
12363 PyObject *pyobj;
12364
12365 {
12366 #if wxUSE_UNICODE
12367 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12368 #else
12369 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12370 #endif
12371 }
12372 return pyobj;
12373 }
12374
12375
12376 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12377 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12378 return 1;
12379 }
12380
12381
12382 static PyObject *_wrap_ART_HELP_PAGE_get() {
12383 PyObject *pyobj;
12384
12385 {
12386 #if wxUSE_UNICODE
12387 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12388 #else
12389 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12390 #endif
12391 }
12392 return pyobj;
12393 }
12394
12395
12396 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12397 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12398 return 1;
12399 }
12400
12401
12402 static PyObject *_wrap_ART_GO_BACK_get() {
12403 PyObject *pyobj;
12404
12405 {
12406 #if wxUSE_UNICODE
12407 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12408 #else
12409 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12410 #endif
12411 }
12412 return pyobj;
12413 }
12414
12415
12416 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12417 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12418 return 1;
12419 }
12420
12421
12422 static PyObject *_wrap_ART_GO_FORWARD_get() {
12423 PyObject *pyobj;
12424
12425 {
12426 #if wxUSE_UNICODE
12427 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12428 #else
12429 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12430 #endif
12431 }
12432 return pyobj;
12433 }
12434
12435
12436 static int _wrap_ART_GO_UP_set(PyObject *_val) {
12437 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12438 return 1;
12439 }
12440
12441
12442 static PyObject *_wrap_ART_GO_UP_get() {
12443 PyObject *pyobj;
12444
12445 {
12446 #if wxUSE_UNICODE
12447 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12448 #else
12449 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12450 #endif
12451 }
12452 return pyobj;
12453 }
12454
12455
12456 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12457 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12458 return 1;
12459 }
12460
12461
12462 static PyObject *_wrap_ART_GO_DOWN_get() {
12463 PyObject *pyobj;
12464
12465 {
12466 #if wxUSE_UNICODE
12467 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12468 #else
12469 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12470 #endif
12471 }
12472 return pyobj;
12473 }
12474
12475
12476 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12477 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12478 return 1;
12479 }
12480
12481
12482 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12483 PyObject *pyobj;
12484
12485 {
12486 #if wxUSE_UNICODE
12487 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12488 #else
12489 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12490 #endif
12491 }
12492 return pyobj;
12493 }
12494
12495
12496 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12497 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12498 return 1;
12499 }
12500
12501
12502 static PyObject *_wrap_ART_GO_HOME_get() {
12503 PyObject *pyobj;
12504
12505 {
12506 #if wxUSE_UNICODE
12507 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12508 #else
12509 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12510 #endif
12511 }
12512 return pyobj;
12513 }
12514
12515
12516 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12517 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12518 return 1;
12519 }
12520
12521
12522 static PyObject *_wrap_ART_FILE_OPEN_get() {
12523 PyObject *pyobj;
12524
12525 {
12526 #if wxUSE_UNICODE
12527 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12528 #else
12529 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12530 #endif
12531 }
12532 return pyobj;
12533 }
12534
12535
12536 static int _wrap_ART_PRINT_set(PyObject *_val) {
12537 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12538 return 1;
12539 }
12540
12541
12542 static PyObject *_wrap_ART_PRINT_get() {
12543 PyObject *pyobj;
12544
12545 {
12546 #if wxUSE_UNICODE
12547 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12548 #else
12549 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12550 #endif
12551 }
12552 return pyobj;
12553 }
12554
12555
12556 static int _wrap_ART_HELP_set(PyObject *_val) {
12557 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12558 return 1;
12559 }
12560
12561
12562 static PyObject *_wrap_ART_HELP_get() {
12563 PyObject *pyobj;
12564
12565 {
12566 #if wxUSE_UNICODE
12567 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12568 #else
12569 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12570 #endif
12571 }
12572 return pyobj;
12573 }
12574
12575
12576 static int _wrap_ART_TIP_set(PyObject *_val) {
12577 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12578 return 1;
12579 }
12580
12581
12582 static PyObject *_wrap_ART_TIP_get() {
12583 PyObject *pyobj;
12584
12585 {
12586 #if wxUSE_UNICODE
12587 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12588 #else
12589 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12590 #endif
12591 }
12592 return pyobj;
12593 }
12594
12595
12596 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12597 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12598 return 1;
12599 }
12600
12601
12602 static PyObject *_wrap_ART_REPORT_VIEW_get() {
12603 PyObject *pyobj;
12604
12605 {
12606 #if wxUSE_UNICODE
12607 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12608 #else
12609 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12610 #endif
12611 }
12612 return pyobj;
12613 }
12614
12615
12616 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12617 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12618 return 1;
12619 }
12620
12621
12622 static PyObject *_wrap_ART_LIST_VIEW_get() {
12623 PyObject *pyobj;
12624
12625 {
12626 #if wxUSE_UNICODE
12627 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12628 #else
12629 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12630 #endif
12631 }
12632 return pyobj;
12633 }
12634
12635
12636 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12637 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12638 return 1;
12639 }
12640
12641
12642 static PyObject *_wrap_ART_NEW_DIR_get() {
12643 PyObject *pyobj;
12644
12645 {
12646 #if wxUSE_UNICODE
12647 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12648 #else
12649 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12650 #endif
12651 }
12652 return pyobj;
12653 }
12654
12655
12656 static int _wrap_ART_FOLDER_set(PyObject *_val) {
12657 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12658 return 1;
12659 }
12660
12661
12662 static PyObject *_wrap_ART_FOLDER_get() {
12663 PyObject *pyobj;
12664
12665 {
12666 #if wxUSE_UNICODE
12667 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12668 #else
12669 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12670 #endif
12671 }
12672 return pyobj;
12673 }
12674
12675
12676 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12677 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12678 return 1;
12679 }
12680
12681
12682 static PyObject *_wrap_ART_GO_DIR_UP_get() {
12683 PyObject *pyobj;
12684
12685 {
12686 #if wxUSE_UNICODE
12687 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12688 #else
12689 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12690 #endif
12691 }
12692 return pyobj;
12693 }
12694
12695
12696 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12697 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12698 return 1;
12699 }
12700
12701
12702 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12703 PyObject *pyobj;
12704
12705 {
12706 #if wxUSE_UNICODE
12707 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12708 #else
12709 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12710 #endif
12711 }
12712 return pyobj;
12713 }
12714
12715
12716 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12717 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12718 return 1;
12719 }
12720
12721
12722 static PyObject *_wrap_ART_NORMAL_FILE_get() {
12723 PyObject *pyobj;
12724
12725 {
12726 #if wxUSE_UNICODE
12727 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12728 #else
12729 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12730 #endif
12731 }
12732 return pyobj;
12733 }
12734
12735
12736 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12737 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12738 return 1;
12739 }
12740
12741
12742 static PyObject *_wrap_ART_TICK_MARK_get() {
12743 PyObject *pyobj;
12744
12745 {
12746 #if wxUSE_UNICODE
12747 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12748 #else
12749 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12750 #endif
12751 }
12752 return pyobj;
12753 }
12754
12755
12756 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12757 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12758 return 1;
12759 }
12760
12761
12762 static PyObject *_wrap_ART_CROSS_MARK_get() {
12763 PyObject *pyobj;
12764
12765 {
12766 #if wxUSE_UNICODE
12767 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12768 #else
12769 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12770 #endif
12771 }
12772 return pyobj;
12773 }
12774
12775
12776 static int _wrap_ART_ERROR_set(PyObject *_val) {
12777 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12778 return 1;
12779 }
12780
12781
12782 static PyObject *_wrap_ART_ERROR_get() {
12783 PyObject *pyobj;
12784
12785 {
12786 #if wxUSE_UNICODE
12787 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12788 #else
12789 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12790 #endif
12791 }
12792 return pyobj;
12793 }
12794
12795
12796 static int _wrap_ART_QUESTION_set(PyObject *_val) {
12797 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12798 return 1;
12799 }
12800
12801
12802 static PyObject *_wrap_ART_QUESTION_get() {
12803 PyObject *pyobj;
12804
12805 {
12806 #if wxUSE_UNICODE
12807 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12808 #else
12809 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12810 #endif
12811 }
12812 return pyobj;
12813 }
12814
12815
12816 static int _wrap_ART_WARNING_set(PyObject *_val) {
12817 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12818 return 1;
12819 }
12820
12821
12822 static PyObject *_wrap_ART_WARNING_get() {
12823 PyObject *pyobj;
12824
12825 {
12826 #if wxUSE_UNICODE
12827 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12828 #else
12829 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12830 #endif
12831 }
12832 return pyobj;
12833 }
12834
12835
12836 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12837 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12838 return 1;
12839 }
12840
12841
12842 static PyObject *_wrap_ART_INFORMATION_get() {
12843 PyObject *pyobj;
12844
12845 {
12846 #if wxUSE_UNICODE
12847 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12848 #else
12849 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12850 #endif
12851 }
12852 return pyobj;
12853 }
12854
12855
12856 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12857 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12858 return 1;
12859 }
12860
12861
12862 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12863 PyObject *pyobj;
12864
12865 {
12866 #if wxUSE_UNICODE
12867 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12868 #else
12869 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12870 #endif
12871 }
12872 return pyobj;
12873 }
12874
12875
12876 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj;
12878 wxPyArtProvider *result;
12879 char *kwnames[] = {
12880 NULL
12881 };
12882
12883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (wxPyArtProvider *)new wxPyArtProvider();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_delete_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
12907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 delete arg1;
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 Py_INCREF(Py_None); resultobj = Py_None;
12916 return resultobj;
12917 fail:
12918 return NULL;
12919 }
12920
12921
12922 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12923 PyObject *resultobj;
12924 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12925 PyObject *arg2 = (PyObject *) 0 ;
12926 PyObject *arg3 = (PyObject *) 0 ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 PyObject * obj2 = 0 ;
12930 char *kwnames[] = {
12931 (char *) "self",(char *) "self",(char *) "_class", NULL
12932 };
12933
12934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12936 arg2 = obj1;
12937 arg3 = obj2;
12938 {
12939 PyThreadState* __tstate = wxPyBeginAllowThreads();
12940 (arg1)->_setCallbackInfo(arg2,arg3);
12941
12942 wxPyEndAllowThreads(__tstate);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
12945 Py_INCREF(Py_None); resultobj = Py_None;
12946 return resultobj;
12947 fail:
12948 return NULL;
12949 }
12950
12951
12952 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12953 PyObject *resultobj;
12954 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12955 PyObject * obj0 = 0 ;
12956 char *kwnames[] = {
12957 (char *) "provider", NULL
12958 };
12959
12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
12961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 wxPyArtProvider::PushProvider(arg1);
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 Py_INCREF(Py_None); resultobj = Py_None;
12970 return resultobj;
12971 fail:
12972 return NULL;
12973 }
12974
12975
12976 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12977 PyObject *resultobj;
12978 bool result;
12979 char *kwnames[] = {
12980 NULL
12981 };
12982
12983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (bool)wxPyArtProvider::PopProvider();
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 resultobj = PyInt_FromLong((long)result);
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13001 bool result;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "provider", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = PyInt_FromLong((long)result);
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj;
13025 wxString *arg1 = 0 ;
13026 wxString const &arg2_defvalue = wxPyART_OTHER ;
13027 wxString *arg2 = (wxString *) &arg2_defvalue ;
13028 wxSize const &arg3_defvalue = wxDefaultSize ;
13029 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13030 wxBitmap result;
13031 bool temp1 = False ;
13032 bool temp2 = False ;
13033 wxSize temp3 ;
13034 PyObject * obj0 = 0 ;
13035 PyObject * obj1 = 0 ;
13036 PyObject * obj2 = 0 ;
13037 char *kwnames[] = {
13038 (char *) "id",(char *) "client",(char *) "size", NULL
13039 };
13040
13041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13042 {
13043 arg1 = wxString_in_helper(obj0);
13044 if (arg1 == NULL) SWIG_fail;
13045 temp1 = True;
13046 }
13047 if (obj1) {
13048 {
13049 arg2 = wxString_in_helper(obj1);
13050 if (arg2 == NULL) SWIG_fail;
13051 temp2 = True;
13052 }
13053 }
13054 if (obj2) {
13055 {
13056 arg3 = &temp3;
13057 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13058 }
13059 }
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 {
13068 wxBitmap * resultptr;
13069 resultptr = new wxBitmap((wxBitmap &) result);
13070 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13071 }
13072 {
13073 if (temp1)
13074 delete arg1;
13075 }
13076 {
13077 if (temp2)
13078 delete arg2;
13079 }
13080 return resultobj;
13081 fail:
13082 {
13083 if (temp1)
13084 delete arg1;
13085 }
13086 {
13087 if (temp2)
13088 delete arg2;
13089 }
13090 return NULL;
13091 }
13092
13093
13094 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj;
13096 wxString *arg1 = 0 ;
13097 wxString const &arg2_defvalue = wxPyART_OTHER ;
13098 wxString *arg2 = (wxString *) &arg2_defvalue ;
13099 wxSize const &arg3_defvalue = wxDefaultSize ;
13100 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13101 wxIcon result;
13102 bool temp1 = False ;
13103 bool temp2 = False ;
13104 wxSize temp3 ;
13105 PyObject * obj0 = 0 ;
13106 PyObject * obj1 = 0 ;
13107 PyObject * obj2 = 0 ;
13108 char *kwnames[] = {
13109 (char *) "id",(char *) "client",(char *) "size", NULL
13110 };
13111
13112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13113 {
13114 arg1 = wxString_in_helper(obj0);
13115 if (arg1 == NULL) SWIG_fail;
13116 temp1 = True;
13117 }
13118 if (obj1) {
13119 {
13120 arg2 = wxString_in_helper(obj1);
13121 if (arg2 == NULL) SWIG_fail;
13122 temp2 = True;
13123 }
13124 }
13125 if (obj2) {
13126 {
13127 arg3 = &temp3;
13128 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13129 }
13130 }
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 {
13139 wxIcon * resultptr;
13140 resultptr = new wxIcon((wxIcon &) result);
13141 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13142 }
13143 {
13144 if (temp1)
13145 delete arg1;
13146 }
13147 {
13148 if (temp2)
13149 delete arg2;
13150 }
13151 return resultobj;
13152 fail:
13153 {
13154 if (temp1)
13155 delete arg1;
13156 }
13157 {
13158 if (temp2)
13159 delete arg2;
13160 }
13161 return NULL;
13162 }
13163
13164
13165 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13166 PyObject *obj;
13167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13168 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13169 Py_INCREF(obj);
13170 return Py_BuildValue((char *)"");
13171 }
13172 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13175 PyObject * obj0 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 delete arg1;
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 Py_INCREF(Py_None); resultobj = Py_None;
13190 return resultobj;
13191 fail:
13192 return NULL;
13193 }
13194
13195
13196 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13199 wxConfigBase *result;
13200 PyObject * obj0 = 0 ;
13201 char *kwnames[] = {
13202 (char *) "pConfig", NULL
13203 };
13204
13205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13210
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13215 return resultobj;
13216 fail:
13217 return NULL;
13218 }
13219
13220
13221 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13222 PyObject *resultobj;
13223 bool arg1 = (bool) True ;
13224 wxConfigBase *result;
13225 PyObject * obj0 = 0 ;
13226 char *kwnames[] = {
13227 (char *) "createOnDemand", NULL
13228 };
13229
13230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13231 if (obj0) {
13232 arg1 = PyInt_AsLong(obj0) ? true : false;
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13243 return resultobj;
13244 fail:
13245 return NULL;
13246 }
13247
13248
13249 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj;
13251 wxConfigBase *result;
13252 char *kwnames[] = {
13253 NULL
13254 };
13255
13256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 result = (wxConfigBase *)wxConfigBase::Create();
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13265 return resultobj;
13266 fail:
13267 return NULL;
13268 }
13269
13270
13271 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 char *kwnames[] = {
13274 NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 wxConfigBase::DontCreateOnDemand();
13281
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 Py_INCREF(Py_None); resultobj = Py_None;
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj;
13294 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13295 wxString *arg2 = 0 ;
13296 bool temp2 = False ;
13297 PyObject * obj0 = 0 ;
13298 PyObject * obj1 = 0 ;
13299 char *kwnames[] = {
13300 (char *) "self",(char *) "strPath", NULL
13301 };
13302
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13305 {
13306 arg2 = wxString_in_helper(obj1);
13307 if (arg2 == NULL) SWIG_fail;
13308 temp2 = True;
13309 }
13310 {
13311 PyThreadState* __tstate = wxPyBeginAllowThreads();
13312 (arg1)->SetPath((wxString const &)*arg2);
13313
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 Py_INCREF(Py_None); resultobj = Py_None;
13318 {
13319 if (temp2)
13320 delete arg2;
13321 }
13322 return resultobj;
13323 fail:
13324 {
13325 if (temp2)
13326 delete arg2;
13327 }
13328 return NULL;
13329 }
13330
13331
13332 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13333 PyObject *resultobj;
13334 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13335 wxString *result;
13336 PyObject * obj0 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 {
13346 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13347 result = (wxString *) &_result_ref;
13348 }
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
13354 return resultobj;
13355 fail:
13356 return NULL;
13357 }
13358
13359
13360 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13363 PyObject *result;
13364 PyObject * obj0 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 resultobj = result;
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13388 long arg2 ;
13389 PyObject *result;
13390 PyObject * obj0 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self",(char *) "index", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13400
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = result;
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13412 PyObject *resultobj;
13413 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13414 PyObject *result;
13415 PyObject * obj0 = 0 ;
13416 char *kwnames[] = {
13417 (char *) "self", NULL
13418 };
13419
13420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 resultobj = result;
13430 return resultobj;
13431 fail:
13432 return NULL;
13433 }
13434
13435
13436 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13437 PyObject *resultobj;
13438 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13439 long arg2 ;
13440 PyObject *result;
13441 PyObject * obj0 = 0 ;
13442 char *kwnames[] = {
13443 (char *) "self",(char *) "index", NULL
13444 };
13445
13446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 resultobj = result;
13456 return resultobj;
13457 fail:
13458 return NULL;
13459 }
13460
13461
13462 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13463 PyObject *resultobj;
13464 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13465 bool arg2 = (bool) False ;
13466 size_t result;
13467 PyObject * obj0 = 0 ;
13468 PyObject * obj1 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self",(char *) "bRecursive", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475 if (obj1) {
13476 arg2 = PyInt_AsLong(obj1) ? true : false;
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 resultobj = PyInt_FromLong((long)result);
13487 return resultobj;
13488 fail:
13489 return NULL;
13490 }
13491
13492
13493 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13496 bool arg2 = (bool) False ;
13497 size_t result;
13498 PyObject * obj0 = 0 ;
13499 PyObject * obj1 = 0 ;
13500 char *kwnames[] = {
13501 (char *) "self",(char *) "bRecursive", NULL
13502 };
13503
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13506 if (obj1) {
13507 arg2 = PyInt_AsLong(obj1) ? true : false;
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 resultobj = PyInt_FromLong((long)result);
13518 return resultobj;
13519 fail:
13520 return NULL;
13521 }
13522
13523
13524 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13525 PyObject *resultobj;
13526 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13527 wxString *arg2 = 0 ;
13528 bool result;
13529 bool temp2 = False ;
13530 PyObject * obj0 = 0 ;
13531 PyObject * obj1 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self",(char *) "strName", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13538 {
13539 arg2 = wxString_in_helper(obj1);
13540 if (arg2 == NULL) SWIG_fail;
13541 temp2 = True;
13542 }
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 resultobj = PyInt_FromLong((long)result);
13551 {
13552 if (temp2)
13553 delete arg2;
13554 }
13555 return resultobj;
13556 fail:
13557 {
13558 if (temp2)
13559 delete arg2;
13560 }
13561 return NULL;
13562 }
13563
13564
13565 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject *resultobj;
13567 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13568 wxString *arg2 = 0 ;
13569 bool result;
13570 bool temp2 = False ;
13571 PyObject * obj0 = 0 ;
13572 PyObject * obj1 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self",(char *) "strName", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13579 {
13580 arg2 = wxString_in_helper(obj1);
13581 if (arg2 == NULL) SWIG_fail;
13582 temp2 = True;
13583 }
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 resultobj = PyInt_FromLong((long)result);
13592 {
13593 if (temp2)
13594 delete arg2;
13595 }
13596 return resultobj;
13597 fail:
13598 {
13599 if (temp2)
13600 delete arg2;
13601 }
13602 return NULL;
13603 }
13604
13605
13606 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13609 wxString *arg2 = 0 ;
13610 bool result;
13611 bool temp2 = False ;
13612 PyObject * obj0 = 0 ;
13613 PyObject * obj1 = 0 ;
13614 char *kwnames[] = {
13615 (char *) "self",(char *) "strName", NULL
13616 };
13617
13618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13620 {
13621 arg2 = wxString_in_helper(obj1);
13622 if (arg2 == NULL) SWIG_fail;
13623 temp2 = True;
13624 }
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 resultobj = PyInt_FromLong((long)result);
13633 {
13634 if (temp2)
13635 delete arg2;
13636 }
13637 return resultobj;
13638 fail:
13639 {
13640 if (temp2)
13641 delete arg2;
13642 }
13643 return NULL;
13644 }
13645
13646
13647 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13648 PyObject *resultobj;
13649 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13650 wxString *arg2 = 0 ;
13651 int result;
13652 bool temp2 = False ;
13653 PyObject * obj0 = 0 ;
13654 PyObject * obj1 = 0 ;
13655 char *kwnames[] = {
13656 (char *) "self",(char *) "name", NULL
13657 };
13658
13659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13661 {
13662 arg2 = wxString_in_helper(obj1);
13663 if (arg2 == NULL) SWIG_fail;
13664 temp2 = True;
13665 }
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 resultobj = PyInt_FromLong((long)result);
13674 {
13675 if (temp2)
13676 delete arg2;
13677 }
13678 return resultobj;
13679 fail:
13680 {
13681 if (temp2)
13682 delete arg2;
13683 }
13684 return NULL;
13685 }
13686
13687
13688 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13689 PyObject *resultobj;
13690 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13691 wxString *arg2 = 0 ;
13692 wxString const &arg3_defvalue = wxPyEmptyString ;
13693 wxString *arg3 = (wxString *) &arg3_defvalue ;
13694 wxString result;
13695 bool temp2 = False ;
13696 bool temp3 = False ;
13697 PyObject * obj0 = 0 ;
13698 PyObject * obj1 = 0 ;
13699 PyObject * obj2 = 0 ;
13700 char *kwnames[] = {
13701 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13706 {
13707 arg2 = wxString_in_helper(obj1);
13708 if (arg2 == NULL) SWIG_fail;
13709 temp2 = True;
13710 }
13711 if (obj2) {
13712 {
13713 arg3 = wxString_in_helper(obj2);
13714 if (arg3 == NULL) SWIG_fail;
13715 temp3 = True;
13716 }
13717 }
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13721
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 {
13726 #if wxUSE_UNICODE
13727 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13728 #else
13729 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13730 #endif
13731 }
13732 {
13733 if (temp2)
13734 delete arg2;
13735 }
13736 {
13737 if (temp3)
13738 delete arg3;
13739 }
13740 return resultobj;
13741 fail:
13742 {
13743 if (temp2)
13744 delete arg2;
13745 }
13746 {
13747 if (temp3)
13748 delete arg3;
13749 }
13750 return NULL;
13751 }
13752
13753
13754 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13755 PyObject *resultobj;
13756 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13757 wxString *arg2 = 0 ;
13758 long arg3 = (long) 0 ;
13759 long result;
13760 bool temp2 = False ;
13761 PyObject * obj0 = 0 ;
13762 PyObject * obj1 = 0 ;
13763 char *kwnames[] = {
13764 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13765 };
13766
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13769 {
13770 arg2 = wxString_in_helper(obj1);
13771 if (arg2 == NULL) SWIG_fail;
13772 temp2 = True;
13773 }
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13777
13778 wxPyEndAllowThreads(__tstate);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 resultobj = PyInt_FromLong((long)result);
13782 {
13783 if (temp2)
13784 delete arg2;
13785 }
13786 return resultobj;
13787 fail:
13788 {
13789 if (temp2)
13790 delete arg2;
13791 }
13792 return NULL;
13793 }
13794
13795
13796 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13797 PyObject *resultobj;
13798 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13799 wxString *arg2 = 0 ;
13800 double arg3 = (double) 0.0 ;
13801 double result;
13802 bool temp2 = False ;
13803 PyObject * obj0 = 0 ;
13804 PyObject * obj1 = 0 ;
13805 char *kwnames[] = {
13806 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13807 };
13808
13809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13811 {
13812 arg2 = wxString_in_helper(obj1);
13813 if (arg2 == NULL) SWIG_fail;
13814 temp2 = True;
13815 }
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 resultobj = PyFloat_FromDouble(result);
13824 {
13825 if (temp2)
13826 delete arg2;
13827 }
13828 return resultobj;
13829 fail:
13830 {
13831 if (temp2)
13832 delete arg2;
13833 }
13834 return NULL;
13835 }
13836
13837
13838 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13839 PyObject *resultobj;
13840 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13841 wxString *arg2 = 0 ;
13842 bool arg3 = (bool) False ;
13843 bool result;
13844 bool temp2 = False ;
13845 PyObject * obj0 = 0 ;
13846 PyObject * obj1 = 0 ;
13847 PyObject * obj2 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13854 {
13855 arg2 = wxString_in_helper(obj1);
13856 if (arg2 == NULL) SWIG_fail;
13857 temp2 = True;
13858 }
13859 if (obj2) {
13860 arg3 = PyInt_AsLong(obj2) ? true : false;
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 {
13864 PyThreadState* __tstate = wxPyBeginAllowThreads();
13865 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
13866
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 resultobj = PyInt_FromLong((long)result);
13871 {
13872 if (temp2)
13873 delete arg2;
13874 }
13875 return resultobj;
13876 fail:
13877 {
13878 if (temp2)
13879 delete arg2;
13880 }
13881 return NULL;
13882 }
13883
13884
13885 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj;
13887 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13888 wxString *arg2 = 0 ;
13889 wxString *arg3 = 0 ;
13890 bool result;
13891 bool temp2 = False ;
13892 bool temp3 = False ;
13893 PyObject * obj0 = 0 ;
13894 PyObject * obj1 = 0 ;
13895 PyObject * obj2 = 0 ;
13896 char *kwnames[] = {
13897 (char *) "self",(char *) "key",(char *) "value", NULL
13898 };
13899
13900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
13901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13902 {
13903 arg2 = wxString_in_helper(obj1);
13904 if (arg2 == NULL) SWIG_fail;
13905 temp2 = True;
13906 }
13907 {
13908 arg3 = wxString_in_helper(obj2);
13909 if (arg3 == NULL) SWIG_fail;
13910 temp3 = True;
13911 }
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
13915
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 resultobj = PyInt_FromLong((long)result);
13920 {
13921 if (temp2)
13922 delete arg2;
13923 }
13924 {
13925 if (temp3)
13926 delete arg3;
13927 }
13928 return resultobj;
13929 fail:
13930 {
13931 if (temp2)
13932 delete arg2;
13933 }
13934 {
13935 if (temp3)
13936 delete arg3;
13937 }
13938 return NULL;
13939 }
13940
13941
13942 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13943 PyObject *resultobj;
13944 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13945 wxString *arg2 = 0 ;
13946 long arg3 ;
13947 bool result;
13948 bool temp2 = False ;
13949 PyObject * obj0 = 0 ;
13950 PyObject * obj1 = 0 ;
13951 char *kwnames[] = {
13952 (char *) "self",(char *) "key",(char *) "value", NULL
13953 };
13954
13955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13957 {
13958 arg2 = wxString_in_helper(obj1);
13959 if (arg2 == NULL) SWIG_fail;
13960 temp2 = True;
13961 }
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 resultobj = PyInt_FromLong((long)result);
13970 {
13971 if (temp2)
13972 delete arg2;
13973 }
13974 return resultobj;
13975 fail:
13976 {
13977 if (temp2)
13978 delete arg2;
13979 }
13980 return NULL;
13981 }
13982
13983
13984 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13987 wxString *arg2 = 0 ;
13988 double arg3 ;
13989 bool result;
13990 bool temp2 = False ;
13991 PyObject * obj0 = 0 ;
13992 PyObject * obj1 = 0 ;
13993 char *kwnames[] = {
13994 (char *) "self",(char *) "key",(char *) "value", NULL
13995 };
13996
13997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13999 {
14000 arg2 = wxString_in_helper(obj1);
14001 if (arg2 == NULL) SWIG_fail;
14002 temp2 = True;
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 resultobj = PyInt_FromLong((long)result);
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return resultobj;
14017 fail:
14018 {
14019 if (temp2)
14020 delete arg2;
14021 }
14022 return NULL;
14023 }
14024
14025
14026 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj;
14028 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14029 wxString *arg2 = 0 ;
14030 bool arg3 ;
14031 bool result;
14032 bool temp2 = False ;
14033 PyObject * obj0 = 0 ;
14034 PyObject * obj1 = 0 ;
14035 PyObject * obj2 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self",(char *) "key",(char *) "value", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14042 {
14043 arg2 = wxString_in_helper(obj1);
14044 if (arg2 == NULL) SWIG_fail;
14045 temp2 = True;
14046 }
14047 arg3 = PyInt_AsLong(obj2) ? true : false;
14048 if (PyErr_Occurred()) SWIG_fail;
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14052
14053 wxPyEndAllowThreads(__tstate);
14054 if (PyErr_Occurred()) SWIG_fail;
14055 }
14056 resultobj = PyInt_FromLong((long)result);
14057 {
14058 if (temp2)
14059 delete arg2;
14060 }
14061 return resultobj;
14062 fail:
14063 {
14064 if (temp2)
14065 delete arg2;
14066 }
14067 return NULL;
14068 }
14069
14070
14071 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14072 PyObject *resultobj;
14073 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14074 bool arg2 = (bool) False ;
14075 bool result;
14076 PyObject * obj0 = 0 ;
14077 PyObject * obj1 = 0 ;
14078 char *kwnames[] = {
14079 (char *) "self",(char *) "bCurrentOnly", NULL
14080 };
14081
14082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14084 if (obj1) {
14085 arg2 = PyInt_AsLong(obj1) ? true : false;
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = (bool)(arg1)->Flush(arg2);
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 resultobj = PyInt_FromLong((long)result);
14096 return resultobj;
14097 fail:
14098 return NULL;
14099 }
14100
14101
14102 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14103 PyObject *resultobj;
14104 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14105 wxString *arg2 = 0 ;
14106 wxString *arg3 = 0 ;
14107 bool result;
14108 bool temp2 = False ;
14109 bool temp3 = False ;
14110 PyObject * obj0 = 0 ;
14111 PyObject * obj1 = 0 ;
14112 PyObject * obj2 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14119 {
14120 arg2 = wxString_in_helper(obj1);
14121 if (arg2 == NULL) SWIG_fail;
14122 temp2 = True;
14123 }
14124 {
14125 arg3 = wxString_in_helper(obj2);
14126 if (arg3 == NULL) SWIG_fail;
14127 temp3 = True;
14128 }
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
14131 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 resultobj = PyInt_FromLong((long)result);
14137 {
14138 if (temp2)
14139 delete arg2;
14140 }
14141 {
14142 if (temp3)
14143 delete arg3;
14144 }
14145 return resultobj;
14146 fail:
14147 {
14148 if (temp2)
14149 delete arg2;
14150 }
14151 {
14152 if (temp3)
14153 delete arg3;
14154 }
14155 return NULL;
14156 }
14157
14158
14159 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14160 PyObject *resultobj;
14161 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14162 wxString *arg2 = 0 ;
14163 wxString *arg3 = 0 ;
14164 bool result;
14165 bool temp2 = False ;
14166 bool temp3 = False ;
14167 PyObject * obj0 = 0 ;
14168 PyObject * obj1 = 0 ;
14169 PyObject * obj2 = 0 ;
14170 char *kwnames[] = {
14171 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14172 };
14173
14174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14176 {
14177 arg2 = wxString_in_helper(obj1);
14178 if (arg2 == NULL) SWIG_fail;
14179 temp2 = True;
14180 }
14181 {
14182 arg3 = wxString_in_helper(obj2);
14183 if (arg3 == NULL) SWIG_fail;
14184 temp3 = True;
14185 }
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 resultobj = PyInt_FromLong((long)result);
14194 {
14195 if (temp2)
14196 delete arg2;
14197 }
14198 {
14199 if (temp3)
14200 delete arg3;
14201 }
14202 return resultobj;
14203 fail:
14204 {
14205 if (temp2)
14206 delete arg2;
14207 }
14208 {
14209 if (temp3)
14210 delete arg3;
14211 }
14212 return NULL;
14213 }
14214
14215
14216 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14217 PyObject *resultobj;
14218 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14219 wxString *arg2 = 0 ;
14220 bool arg3 = (bool) True ;
14221 bool result;
14222 bool temp2 = False ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 PyObject * obj2 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14232 {
14233 arg2 = wxString_in_helper(obj1);
14234 if (arg2 == NULL) SWIG_fail;
14235 temp2 = True;
14236 }
14237 if (obj2) {
14238 arg3 = PyInt_AsLong(obj2) ? true : false;
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14244
14245 wxPyEndAllowThreads(__tstate);
14246 if (PyErr_Occurred()) SWIG_fail;
14247 }
14248 resultobj = PyInt_FromLong((long)result);
14249 {
14250 if (temp2)
14251 delete arg2;
14252 }
14253 return resultobj;
14254 fail:
14255 {
14256 if (temp2)
14257 delete arg2;
14258 }
14259 return NULL;
14260 }
14261
14262
14263 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14264 PyObject *resultobj;
14265 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14266 wxString *arg2 = 0 ;
14267 bool result;
14268 bool temp2 = False ;
14269 PyObject * obj0 = 0 ;
14270 PyObject * obj1 = 0 ;
14271 char *kwnames[] = {
14272 (char *) "self",(char *) "key", NULL
14273 };
14274
14275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14277 {
14278 arg2 = wxString_in_helper(obj1);
14279 if (arg2 == NULL) SWIG_fail;
14280 temp2 = True;
14281 }
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
14289 resultobj = PyInt_FromLong((long)result);
14290 {
14291 if (temp2)
14292 delete arg2;
14293 }
14294 return resultobj;
14295 fail:
14296 {
14297 if (temp2)
14298 delete arg2;
14299 }
14300 return NULL;
14301 }
14302
14303
14304 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj;
14306 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14307 bool result;
14308 PyObject * obj0 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 result = (bool)(arg1)->DeleteAll();
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 resultobj = PyInt_FromLong((long)result);
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14332 bool result;
14333 PyObject * obj0 = 0 ;
14334 char *kwnames[] = {
14335 (char *) "self", NULL
14336 };
14337
14338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 resultobj = PyInt_FromLong((long)result);
14348 return resultobj;
14349 fail:
14350 return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14357 bool arg2 = (bool) True ;
14358 PyObject * obj0 = 0 ;
14359 PyObject * obj1 = 0 ;
14360 char *kwnames[] = {
14361 (char *) "self",(char *) "bDoIt", NULL
14362 };
14363
14364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14366 if (obj1) {
14367 arg2 = PyInt_AsLong(obj1) ? true : false;
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 (arg1)->SetExpandEnvVars(arg2);
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 Py_INCREF(Py_None); resultobj = Py_None;
14378 return resultobj;
14379 fail:
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14387 bool arg2 = (bool) True ;
14388 PyObject * obj0 = 0 ;
14389 PyObject * obj1 = 0 ;
14390 char *kwnames[] = {
14391 (char *) "self",(char *) "bDoIt", NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14396 if (obj1) {
14397 arg2 = PyInt_AsLong(obj1) ? true : false;
14398 if (PyErr_Occurred()) SWIG_fail;
14399 }
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 (arg1)->SetRecordDefaults(arg2);
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 Py_INCREF(Py_None); resultobj = Py_None;
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14417 bool result;
14418 PyObject * obj0 = 0 ;
14419 char *kwnames[] = {
14420 (char *) "self", NULL
14421 };
14422
14423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14425 {
14426 PyThreadState* __tstate = wxPyBeginAllowThreads();
14427 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14428
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 resultobj = PyInt_FromLong((long)result);
14433 return resultobj;
14434 fail:
14435 return NULL;
14436 }
14437
14438
14439 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj;
14441 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14442 wxString *arg2 = 0 ;
14443 wxString result;
14444 bool temp2 = False ;
14445 PyObject * obj0 = 0 ;
14446 PyObject * obj1 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "self",(char *) "str", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14453 {
14454 arg2 = wxString_in_helper(obj1);
14455 if (arg2 == NULL) SWIG_fail;
14456 temp2 = True;
14457 }
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 {
14466 #if wxUSE_UNICODE
14467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14468 #else
14469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14470 #endif
14471 }
14472 {
14473 if (temp2)
14474 delete arg2;
14475 }
14476 return resultobj;
14477 fail:
14478 {
14479 if (temp2)
14480 delete arg2;
14481 }
14482 return NULL;
14483 }
14484
14485
14486 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14487 PyObject *resultobj;
14488 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14489 wxString result;
14490 PyObject * obj0 = 0 ;
14491 char *kwnames[] = {
14492 (char *) "self", NULL
14493 };
14494
14495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = ((wxConfigBase const *)arg1)->GetAppName();
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 {
14505 #if wxUSE_UNICODE
14506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14507 #else
14508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14509 #endif
14510 }
14511 return resultobj;
14512 fail:
14513 return NULL;
14514 }
14515
14516
14517 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14518 PyObject *resultobj;
14519 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14520 wxString result;
14521 PyObject * obj0 = 0 ;
14522 char *kwnames[] = {
14523 (char *) "self", NULL
14524 };
14525
14526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14528 {
14529 PyThreadState* __tstate = wxPyBeginAllowThreads();
14530 result = ((wxConfigBase const *)arg1)->GetVendorName();
14531
14532 wxPyEndAllowThreads(__tstate);
14533 if (PyErr_Occurred()) SWIG_fail;
14534 }
14535 {
14536 #if wxUSE_UNICODE
14537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14538 #else
14539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14540 #endif
14541 }
14542 return resultobj;
14543 fail:
14544 return NULL;
14545 }
14546
14547
14548 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14551 wxString *arg2 = 0 ;
14552 bool temp2 = False ;
14553 PyObject * obj0 = 0 ;
14554 PyObject * obj1 = 0 ;
14555 char *kwnames[] = {
14556 (char *) "self",(char *) "appName", NULL
14557 };
14558
14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14561 {
14562 arg2 = wxString_in_helper(obj1);
14563 if (arg2 == NULL) SWIG_fail;
14564 temp2 = True;
14565 }
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 (arg1)->SetAppName((wxString const &)*arg2);
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 Py_INCREF(Py_None); resultobj = Py_None;
14574 {
14575 if (temp2)
14576 delete arg2;
14577 }
14578 return resultobj;
14579 fail:
14580 {
14581 if (temp2)
14582 delete arg2;
14583 }
14584 return NULL;
14585 }
14586
14587
14588 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14591 wxString *arg2 = 0 ;
14592 bool temp2 = False ;
14593 PyObject * obj0 = 0 ;
14594 PyObject * obj1 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "self",(char *) "vendorName", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14601 {
14602 arg2 = wxString_in_helper(obj1);
14603 if (arg2 == NULL) SWIG_fail;
14604 temp2 = True;
14605 }
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 (arg1)->SetVendorName((wxString const &)*arg2);
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 Py_INCREF(Py_None); resultobj = Py_None;
14614 {
14615 if (temp2)
14616 delete arg2;
14617 }
14618 return resultobj;
14619 fail:
14620 {
14621 if (temp2)
14622 delete arg2;
14623 }
14624 return NULL;
14625 }
14626
14627
14628 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14631 long arg2 ;
14632 PyObject * obj0 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self",(char *) "style", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 (arg1)->SetStyle(arg2);
14642
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 Py_INCREF(Py_None); resultobj = Py_None;
14647 return resultobj;
14648 fail:
14649 return NULL;
14650 }
14651
14652
14653 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj;
14655 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14656 long result;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14664 {
14665 PyThreadState* __tstate = wxPyBeginAllowThreads();
14666 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14667
14668 wxPyEndAllowThreads(__tstate);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
14671 resultobj = PyInt_FromLong((long)result);
14672 return resultobj;
14673 fail:
14674 return NULL;
14675 }
14676
14677
14678 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14679 PyObject *obj;
14680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14681 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14682 Py_INCREF(obj);
14683 return Py_BuildValue((char *)"");
14684 }
14685 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14686 PyObject *resultobj;
14687 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14688 wxString *arg2 = 0 ;
14689 wxConfigPathChanger *result;
14690 bool temp2 = False ;
14691 PyObject * obj0 = 0 ;
14692 PyObject * obj1 = 0 ;
14693 char *kwnames[] = {
14694 (char *) "pContainer",(char *) "strEntry", NULL
14695 };
14696
14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14699 {
14700 arg2 = wxString_in_helper(obj1);
14701 if (arg2 == NULL) SWIG_fail;
14702 temp2 = True;
14703 }
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14712 {
14713 if (temp2)
14714 delete arg2;
14715 }
14716 return resultobj;
14717 fail:
14718 {
14719 if (temp2)
14720 delete arg2;
14721 }
14722 return NULL;
14723 }
14724
14725
14726 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14729 PyObject * obj0 = 0 ;
14730 char *kwnames[] = {
14731 (char *) "self", NULL
14732 };
14733
14734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 delete arg1;
14739
14740 wxPyEndAllowThreads(__tstate);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 Py_INCREF(Py_None); resultobj = Py_None;
14744 return resultobj;
14745 fail:
14746 return NULL;
14747 }
14748
14749
14750 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14753 wxString *result;
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 {
14764 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14765 result = (wxString *) &_result_ref;
14766 }
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14772 return resultobj;
14773 fail:
14774 return NULL;
14775 }
14776
14777
14778 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14779 PyObject *obj;
14780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14781 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14782 Py_INCREF(obj);
14783 return Py_BuildValue((char *)"");
14784 }
14785 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14786 PyObject *resultobj;
14787 wxString const &arg1_defvalue = wxPyEmptyString ;
14788 wxString *arg1 = (wxString *) &arg1_defvalue ;
14789 wxString const &arg2_defvalue = wxPyEmptyString ;
14790 wxString *arg2 = (wxString *) &arg2_defvalue ;
14791 wxString const &arg3_defvalue = wxPyEmptyString ;
14792 wxString *arg3 = (wxString *) &arg3_defvalue ;
14793 wxString const &arg4_defvalue = wxPyEmptyString ;
14794 wxString *arg4 = (wxString *) &arg4_defvalue ;
14795 long arg5 = (long) 0 ;
14796 wxConfig *result;
14797 bool temp1 = False ;
14798 bool temp2 = False ;
14799 bool temp3 = False ;
14800 bool temp4 = False ;
14801 PyObject * obj0 = 0 ;
14802 PyObject * obj1 = 0 ;
14803 PyObject * obj2 = 0 ;
14804 PyObject * obj3 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14810 if (obj0) {
14811 {
14812 arg1 = wxString_in_helper(obj0);
14813 if (arg1 == NULL) SWIG_fail;
14814 temp1 = True;
14815 }
14816 }
14817 if (obj1) {
14818 {
14819 arg2 = wxString_in_helper(obj1);
14820 if (arg2 == NULL) SWIG_fail;
14821 temp2 = True;
14822 }
14823 }
14824 if (obj2) {
14825 {
14826 arg3 = wxString_in_helper(obj2);
14827 if (arg3 == NULL) SWIG_fail;
14828 temp3 = True;
14829 }
14830 }
14831 if (obj3) {
14832 {
14833 arg4 = wxString_in_helper(obj3);
14834 if (arg4 == NULL) SWIG_fail;
14835 temp4 = True;
14836 }
14837 }
14838 {
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14846 {
14847 if (temp1)
14848 delete arg1;
14849 }
14850 {
14851 if (temp2)
14852 delete arg2;
14853 }
14854 {
14855 if (temp3)
14856 delete arg3;
14857 }
14858 {
14859 if (temp4)
14860 delete arg4;
14861 }
14862 return resultobj;
14863 fail:
14864 {
14865 if (temp1)
14866 delete arg1;
14867 }
14868 {
14869 if (temp2)
14870 delete arg2;
14871 }
14872 {
14873 if (temp3)
14874 delete arg3;
14875 }
14876 {
14877 if (temp4)
14878 delete arg4;
14879 }
14880 return NULL;
14881 }
14882
14883
14884 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxConfig *arg1 = (wxConfig *) 0 ;
14887 PyObject * obj0 = 0 ;
14888 char *kwnames[] = {
14889 (char *) "self", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
14893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 delete arg1;
14897
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 Py_INCREF(Py_None); resultobj = Py_None;
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
14909 PyObject *obj;
14910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14911 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
14912 Py_INCREF(obj);
14913 return Py_BuildValue((char *)"");
14914 }
14915 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj;
14917 wxString const &arg1_defvalue = wxPyEmptyString ;
14918 wxString *arg1 = (wxString *) &arg1_defvalue ;
14919 wxString const &arg2_defvalue = wxPyEmptyString ;
14920 wxString *arg2 = (wxString *) &arg2_defvalue ;
14921 wxString const &arg3_defvalue = wxPyEmptyString ;
14922 wxString *arg3 = (wxString *) &arg3_defvalue ;
14923 wxString const &arg4_defvalue = wxPyEmptyString ;
14924 wxString *arg4 = (wxString *) &arg4_defvalue ;
14925 long arg5 = (long) 0 ;
14926 wxFileConfig *result;
14927 bool temp1 = False ;
14928 bool temp2 = False ;
14929 bool temp3 = False ;
14930 bool temp4 = False ;
14931 PyObject * obj0 = 0 ;
14932 PyObject * obj1 = 0 ;
14933 PyObject * obj2 = 0 ;
14934 PyObject * obj3 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14940 if (obj0) {
14941 {
14942 arg1 = wxString_in_helper(obj0);
14943 if (arg1 == NULL) SWIG_fail;
14944 temp1 = True;
14945 }
14946 }
14947 if (obj1) {
14948 {
14949 arg2 = wxString_in_helper(obj1);
14950 if (arg2 == NULL) SWIG_fail;
14951 temp2 = True;
14952 }
14953 }
14954 if (obj2) {
14955 {
14956 arg3 = wxString_in_helper(obj2);
14957 if (arg3 == NULL) SWIG_fail;
14958 temp3 = True;
14959 }
14960 }
14961 if (obj3) {
14962 {
14963 arg4 = wxString_in_helper(obj3);
14964 if (arg4 == NULL) SWIG_fail;
14965 temp4 = True;
14966 }
14967 }
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14971
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
14976 {
14977 if (temp1)
14978 delete arg1;
14979 }
14980 {
14981 if (temp2)
14982 delete arg2;
14983 }
14984 {
14985 if (temp3)
14986 delete arg3;
14987 }
14988 {
14989 if (temp4)
14990 delete arg4;
14991 }
14992 return resultobj;
14993 fail:
14994 {
14995 if (temp1)
14996 delete arg1;
14997 }
14998 {
14999 if (temp2)
15000 delete arg2;
15001 }
15002 {
15003 if (temp3)
15004 delete arg3;
15005 }
15006 {
15007 if (temp4)
15008 delete arg4;
15009 }
15010 return NULL;
15011 }
15012
15013
15014 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15015 PyObject *resultobj;
15016 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15017 PyObject * obj0 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "self", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 delete arg1;
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 Py_INCREF(Py_None); resultobj = Py_None;
15032 return resultobj;
15033 fail:
15034 return NULL;
15035 }
15036
15037
15038 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15039 PyObject *obj;
15040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15041 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15042 Py_INCREF(obj);
15043 return Py_BuildValue((char *)"");
15044 }
15045 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15046 PyObject *resultobj;
15047 wxString *arg1 = 0 ;
15048 wxString result;
15049 bool temp1 = False ;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "sz", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15056 {
15057 arg1 = wxString_in_helper(obj0);
15058 if (arg1 == NULL) SWIG_fail;
15059 temp1 = True;
15060 }
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 result = wxExpandEnvVars((wxString const &)*arg1);
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 {
15069 #if wxUSE_UNICODE
15070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15071 #else
15072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15073 #endif
15074 }
15075 {
15076 if (temp1)
15077 delete arg1;
15078 }
15079 return resultobj;
15080 fail:
15081 {
15082 if (temp1)
15083 delete arg1;
15084 }
15085 return NULL;
15086 }
15087
15088
15089 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15090 PyObject *resultobj;
15091 int arg1 ;
15092 char *kwnames[] = {
15093 (char *) "country", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 Py_INCREF(Py_None); resultobj = Py_None;
15105 return resultobj;
15106 fail:
15107 return NULL;
15108 }
15109
15110
15111 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 int result;
15114 char *kwnames[] = {
15115 NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 result = (int)wxDateTime::GetCountry();
15122
15123 wxPyEndAllowThreads(__tstate);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 resultobj = PyInt_FromLong((long)result);
15127 return resultobj;
15128 fail:
15129 return NULL;
15130 }
15131
15132
15133 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 int arg1 = (int) wxDateTime::Country_Default ;
15136 bool result;
15137 char *kwnames[] = {
15138 (char *) "country", NULL
15139 };
15140
15141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 resultobj = PyInt_FromLong((long)result);
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj;
15158 int arg1 = (int) wxDateTime::Gregorian ;
15159 int result;
15160 char *kwnames[] = {
15161 (char *) "cal", NULL
15162 };
15163
15164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 resultobj = PyInt_FromLong((long)result);
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj;
15181 int arg1 ;
15182 int result;
15183 char *kwnames[] = {
15184 (char *) "year", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (int)wxDateTime::ConvertYearToBC(arg1);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 resultobj = PyInt_FromLong((long)result);
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj;
15204 int arg1 = (int) wxDateTime::Gregorian ;
15205 int result;
15206 char *kwnames[] = {
15207 (char *) "cal", NULL
15208 };
15209
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15214
15215 wxPyEndAllowThreads(__tstate);
15216 if (PyErr_Occurred()) SWIG_fail;
15217 }
15218 resultobj = PyInt_FromLong((long)result);
15219 return resultobj;
15220 fail:
15221 return NULL;
15222 }
15223
15224
15225 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15226 PyObject *resultobj;
15227 int arg1 = (int) wxDateTime::Inv_Year ;
15228 int arg2 = (int) wxDateTime::Gregorian ;
15229 bool result;
15230 char *kwnames[] = {
15231 (char *) "year",(char *) "cal", NULL
15232 };
15233
15234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 resultobj = PyInt_FromLong((long)result);
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 int arg1 = (int) wxDateTime::Inv_Year ;
15252 int result;
15253 char *kwnames[] = {
15254 (char *) "year", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 result = (int)wxDateTime::GetCentury(arg1);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 resultobj = PyInt_FromLong((long)result);
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 int arg1 ;
15275 int arg2 = (int) wxDateTime::Gregorian ;
15276 wxDateTime::wxDateTime_t result;
15277 char *kwnames[] = {
15278 (char *) "year",(char *) "cal", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 result = (wxDateTime::wxDateTime_t)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
15289 resultobj = PyInt_FromLong((long)result);
15290 return resultobj;
15291 fail:
15292 return NULL;
15293 }
15294
15295
15296 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15297 PyObject *resultobj;
15298 int arg1 ;
15299 int arg2 = (int) wxDateTime::Inv_Year ;
15300 int arg3 = (int) wxDateTime::Gregorian ;
15301 wxDateTime::wxDateTime_t result;
15302 char *kwnames[] = {
15303 (char *) "month",(char *) "year",(char *) "cal", NULL
15304 };
15305
15306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 result = (wxDateTime::wxDateTime_t)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 resultobj = PyInt_FromLong((long)result);
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj;
15323 int arg1 ;
15324 int arg2 = (int) wxDateTime::Name_Full ;
15325 wxString result;
15326 char *kwnames[] = {
15327 (char *) "month",(char *) "flags", NULL
15328 };
15329
15330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15331 {
15332 PyThreadState* __tstate = wxPyBeginAllowThreads();
15333 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15334
15335 wxPyEndAllowThreads(__tstate);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
15338 {
15339 #if wxUSE_UNICODE
15340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15341 #else
15342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15343 #endif
15344 }
15345 return resultobj;
15346 fail:
15347 return NULL;
15348 }
15349
15350
15351 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj;
15353 int arg1 ;
15354 int arg2 = (int) wxDateTime::Name_Full ;
15355 wxString result;
15356 char *kwnames[] = {
15357 (char *) "weekday",(char *) "flags", NULL
15358 };
15359
15360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15364
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 {
15369 #if wxUSE_UNICODE
15370 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15371 #else
15372 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15373 #endif
15374 }
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxString *arg1 = (wxString *) 0 ;
15384 wxString *arg2 = (wxString *) 0 ;
15385 PyObject * obj0 = 0 ;
15386 PyObject * obj1 = 0 ;
15387 char *kwnames[] = {
15388 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15389 };
15390
15391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15394 {
15395 PyThreadState* __tstate = wxPyBeginAllowThreads();
15396 wxDateTime::GetAmPmStrings(arg1,arg2);
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 Py_INCREF(Py_None); resultobj = Py_None;
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 int arg1 = (int) wxDateTime::Inv_Year ;
15411 int arg2 = (int) wxDateTime::Country_Default ;
15412 bool result;
15413 char *kwnames[] = {
15414 (char *) "year",(char *) "country", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 resultobj = PyInt_FromLong((long)result);
15426 return resultobj;
15427 fail:
15428 return NULL;
15429 }
15430
15431
15432 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 int arg1 = (int) wxDateTime::Inv_Year ;
15435 int arg2 = (int) wxDateTime::Country_Default ;
15436 wxDateTime result;
15437 char *kwnames[] = {
15438 (char *) "year",(char *) "country", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 {
15450 wxDateTime * resultptr;
15451 resultptr = new wxDateTime((wxDateTime &) result);
15452 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15453 }
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 int arg1 = (int) wxDateTime::Inv_Year ;
15463 int arg2 = (int) wxDateTime::Country_Default ;
15464 wxDateTime result;
15465 char *kwnames[] = {
15466 (char *) "year",(char *) "country", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15470 {
15471 PyThreadState* __tstate = wxPyBeginAllowThreads();
15472 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 {
15478 wxDateTime * resultptr;
15479 resultptr = new wxDateTime((wxDateTime &) result);
15480 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15481 }
15482 return resultobj;
15483 fail:
15484 return NULL;
15485 }
15486
15487
15488 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj;
15490 wxDateTime result;
15491 char *kwnames[] = {
15492 NULL
15493 };
15494
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 result = wxDateTime::Now();
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 {
15504 wxDateTime * resultptr;
15505 resultptr = new wxDateTime((wxDateTime &) result);
15506 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15507 }
15508 return resultobj;
15509 fail:
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxDateTime result;
15517 char *kwnames[] = {
15518 NULL
15519 };
15520
15521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15522 {
15523 PyThreadState* __tstate = wxPyBeginAllowThreads();
15524 result = wxDateTime::UNow();
15525
15526 wxPyEndAllowThreads(__tstate);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 {
15530 wxDateTime * resultptr;
15531 resultptr = new wxDateTime((wxDateTime &) result);
15532 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15533 }
15534 return resultobj;
15535 fail:
15536 return NULL;
15537 }
15538
15539
15540 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj;
15542 wxDateTime result;
15543 char *kwnames[] = {
15544 NULL
15545 };
15546
15547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 result = wxDateTime::Today();
15551
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 {
15556 wxDateTime * resultptr;
15557 resultptr = new wxDateTime((wxDateTime &) result);
15558 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15559 }
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxDateTime *result;
15569 char *kwnames[] = {
15570 NULL
15571 };
15572
15573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 result = (wxDateTime *)new wxDateTime();
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15582 return resultobj;
15583 fail:
15584 return NULL;
15585 }
15586
15587
15588 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15589 PyObject *resultobj;
15590 time_t arg1 ;
15591 wxDateTime *result;
15592 PyObject * obj0 = 0 ;
15593 char *kwnames[] = {
15594 (char *) "timet", NULL
15595 };
15596
15597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15598 arg1 = (time_t) PyInt_AsLong(obj0);
15599 if (PyErr_Occurred()) SWIG_fail;
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 result = (wxDateTime *)new wxDateTime(arg1);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15608 return resultobj;
15609 fail:
15610 return NULL;
15611 }
15612
15613
15614 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj;
15616 double arg1 ;
15617 wxDateTime *result;
15618 char *kwnames[] = {
15619 (char *) "jdn", NULL
15620 };
15621
15622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 result = (wxDateTime *)new wxDateTime(arg1);
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxDateTime::wxDateTime_t arg1 ;
15640 wxDateTime::wxDateTime_t arg2 = (wxDateTime::wxDateTime_t) 0 ;
15641 wxDateTime::wxDateTime_t arg3 = (wxDateTime::wxDateTime_t) 0 ;
15642 wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
15643 wxDateTime *result;
15644 PyObject * obj0 = 0 ;
15645 PyObject * obj1 = 0 ;
15646 PyObject * obj2 = 0 ;
15647 PyObject * obj3 = 0 ;
15648 char *kwnames[] = {
15649 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15650 };
15651
15652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15653 arg1 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj0);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 if (obj1) {
15656 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 if (obj2) {
15660 arg3 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj2);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 if (obj3) {
15664 arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj;
15683 wxDateTime::wxDateTime_t arg1 ;
15684 int arg2 = (int) wxDateTime::Inv_Month ;
15685 int arg3 = (int) wxDateTime::Inv_Year ;
15686 wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
15687 wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
15688 wxDateTime::wxDateTime_t arg6 = (wxDateTime::wxDateTime_t) 0 ;
15689 wxDateTime::wxDateTime_t arg7 = (wxDateTime::wxDateTime_t) 0 ;
15690 wxDateTime *result;
15691 PyObject * obj0 = 0 ;
15692 PyObject * obj3 = 0 ;
15693 PyObject * obj4 = 0 ;
15694 PyObject * obj5 = 0 ;
15695 PyObject * obj6 = 0 ;
15696 char *kwnames[] = {
15697 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15698 };
15699
15700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiOOOO:new_DateTimeFromDMY",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail;
15701 arg1 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj0);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 if (obj3) {
15704 arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 if (obj4) {
15708 arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 if (obj5) {
15712 arg6 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj5);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 if (obj6) {
15716 arg7 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj6);
15717 if (PyErr_Occurred()) SWIG_fail;
15718 }
15719 {
15720 PyThreadState* __tstate = wxPyBeginAllowThreads();
15721 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15722
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15727 return resultobj;
15728 fail:
15729 return NULL;
15730 }
15731
15732
15733 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj;
15735 wxDateTime *arg1 = (wxDateTime *) 0 ;
15736 PyObject * obj0 = 0 ;
15737 char *kwnames[] = {
15738 (char *) "self", NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15743 {
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 delete arg1;
15746
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 Py_INCREF(Py_None); resultobj = Py_None;
15751 return resultobj;
15752 fail:
15753 return NULL;
15754 }
15755
15756
15757 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj;
15759 wxDateTime *arg1 = (wxDateTime *) 0 ;
15760 wxDateTime *result;
15761 PyObject * obj0 = 0 ;
15762 char *kwnames[] = {
15763 (char *) "self", NULL
15764 };
15765
15766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 {
15771 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15772 result = (wxDateTime *) &_result_ref;
15773 }
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15779 return resultobj;
15780 fail:
15781 return NULL;
15782 }
15783
15784
15785 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15786 PyObject *resultobj;
15787 wxDateTime *arg1 = (wxDateTime *) 0 ;
15788 time_t arg2 ;
15789 wxDateTime *result;
15790 PyObject * obj0 = 0 ;
15791 PyObject * obj1 = 0 ;
15792 char *kwnames[] = {
15793 (char *) "self",(char *) "timet", NULL
15794 };
15795
15796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15798 arg2 = (time_t) PyInt_AsLong(obj1);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 {
15803 wxDateTime &_result_ref = (arg1)->Set(arg2);
15804 result = (wxDateTime *) &_result_ref;
15805 }
15806
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15811 return resultobj;
15812 fail:
15813 return NULL;
15814 }
15815
15816
15817 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj;
15819 wxDateTime *arg1 = (wxDateTime *) 0 ;
15820 double arg2 ;
15821 wxDateTime *result;
15822 PyObject * obj0 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self",(char *) "jdn", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15829 {
15830 PyThreadState* __tstate = wxPyBeginAllowThreads();
15831 {
15832 wxDateTime &_result_ref = (arg1)->Set(arg2);
15833 result = (wxDateTime *) &_result_ref;
15834 }
15835
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15840 return resultobj;
15841 fail:
15842 return NULL;
15843 }
15844
15845
15846 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15847 PyObject *resultobj;
15848 wxDateTime *arg1 = (wxDateTime *) 0 ;
15849 wxDateTime::wxDateTime_t arg2 ;
15850 wxDateTime::wxDateTime_t arg3 = (wxDateTime::wxDateTime_t) 0 ;
15851 wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
15852 wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
15853 wxDateTime *result;
15854 PyObject * obj0 = 0 ;
15855 PyObject * obj1 = 0 ;
15856 PyObject * obj2 = 0 ;
15857 PyObject * obj3 = 0 ;
15858 PyObject * obj4 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15865 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 if (obj2) {
15868 arg3 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj2);
15869 if (PyErr_Occurred()) SWIG_fail;
15870 }
15871 if (obj3) {
15872 arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 if (obj4) {
15876 arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 }
15879 {
15880 PyThreadState* __tstate = wxPyBeginAllowThreads();
15881 {
15882 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
15883 result = (wxDateTime *) &_result_ref;
15884 }
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj;
15898 wxDateTime *arg1 = (wxDateTime *) 0 ;
15899 wxDateTime::wxDateTime_t arg2 ;
15900 int arg3 = (int) wxDateTime::Inv_Month ;
15901 int arg4 = (int) wxDateTime::Inv_Year ;
15902 wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
15903 wxDateTime::wxDateTime_t arg6 = (wxDateTime::wxDateTime_t) 0 ;
15904 wxDateTime::wxDateTime_t arg7 = (wxDateTime::wxDateTime_t) 0 ;
15905 wxDateTime::wxDateTime_t arg8 = (wxDateTime::wxDateTime_t) 0 ;
15906 wxDateTime *result;
15907 PyObject * obj0 = 0 ;
15908 PyObject * obj1 = 0 ;
15909 PyObject * obj4 = 0 ;
15910 PyObject * obj5 = 0 ;
15911 PyObject * obj6 = 0 ;
15912 PyObject * obj7 = 0 ;
15913 char *kwnames[] = {
15914 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15915 };
15916
15917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiOOOO:DateTime_Set",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail;
15918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15919 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 if (obj4) {
15922 arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
15923 if (PyErr_Occurred()) SWIG_fail;
15924 }
15925 if (obj5) {
15926 arg6 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj5);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 if (obj6) {
15930 arg7 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj6);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 if (obj7) {
15934 arg8 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj7);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 {
15940 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
15941 result = (wxDateTime *) &_result_ref;
15942 }
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15948 return resultobj;
15949 fail:
15950 return NULL;
15951 }
15952
15953
15954 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxDateTime *arg1 = (wxDateTime *) 0 ;
15957 wxDateTime *result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
15964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15965 {
15966 PyThreadState* __tstate = wxPyBeginAllowThreads();
15967 {
15968 wxDateTime &_result_ref = (arg1)->ResetTime();
15969 result = (wxDateTime *) &_result_ref;
15970 }
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxDateTime *arg1 = (wxDateTime *) 0 ;
15985 int arg2 ;
15986 wxDateTime *result;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self",(char *) "year", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 {
15997 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
15998 result = (wxDateTime *) &_result_ref;
15999 }
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16005 return resultobj;
16006 fail:
16007 return NULL;
16008 }
16009
16010
16011 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj;
16013 wxDateTime *arg1 = (wxDateTime *) 0 ;
16014 int arg2 ;
16015 wxDateTime *result;
16016 PyObject * obj0 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "self",(char *) "month", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 {
16026 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16027 result = (wxDateTime *) &_result_ref;
16028 }
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16034 return resultobj;
16035 fail:
16036 return NULL;
16037 }
16038
16039
16040 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16041 PyObject *resultobj;
16042 wxDateTime *arg1 = (wxDateTime *) 0 ;
16043 wxDateTime::wxDateTime_t arg2 ;
16044 wxDateTime *result;
16045 PyObject * obj0 = 0 ;
16046 PyObject * obj1 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "self",(char *) "day", NULL
16049 };
16050
16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
16052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16053 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 {
16058 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16059 result = (wxDateTime *) &_result_ref;
16060 }
16061
16062 wxPyEndAllowThreads(__tstate);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16066 return resultobj;
16067 fail:
16068 return NULL;
16069 }
16070
16071
16072 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16073 PyObject *resultobj;
16074 wxDateTime *arg1 = (wxDateTime *) 0 ;
16075 wxDateTime::wxDateTime_t arg2 ;
16076 wxDateTime *result;
16077 PyObject * obj0 = 0 ;
16078 PyObject * obj1 = 0 ;
16079 char *kwnames[] = {
16080 (char *) "self",(char *) "hour", NULL
16081 };
16082
16083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
16084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16085 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 {
16090 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16091 result = (wxDateTime *) &_result_ref;
16092 }
16093
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16098 return resultobj;
16099 fail:
16100 return NULL;
16101 }
16102
16103
16104 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16105 PyObject *resultobj;
16106 wxDateTime *arg1 = (wxDateTime *) 0 ;
16107 wxDateTime::wxDateTime_t arg2 ;
16108 wxDateTime *result;
16109 PyObject * obj0 = 0 ;
16110 PyObject * obj1 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self",(char *) "minute", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
16116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16117 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 {
16122 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16123 result = (wxDateTime *) &_result_ref;
16124 }
16125
16126 wxPyEndAllowThreads(__tstate);
16127 if (PyErr_Occurred()) SWIG_fail;
16128 }
16129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16130 return resultobj;
16131 fail:
16132 return NULL;
16133 }
16134
16135
16136 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxDateTime *arg1 = (wxDateTime *) 0 ;
16139 wxDateTime::wxDateTime_t arg2 ;
16140 wxDateTime *result;
16141 PyObject * obj0 = 0 ;
16142 PyObject * obj1 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self",(char *) "second", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
16148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16149 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 {
16154 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16155 result = (wxDateTime *) &_result_ref;
16156 }
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16162 return resultobj;
16163 fail:
16164 return NULL;
16165 }
16166
16167
16168 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxDateTime *arg1 = (wxDateTime *) 0 ;
16171 wxDateTime::wxDateTime_t arg2 ;
16172 wxDateTime *result;
16173 PyObject * obj0 = 0 ;
16174 PyObject * obj1 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "millisecond", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16181 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 {
16186 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16187 result = (wxDateTime *) &_result_ref;
16188 }
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxDateTime *arg1 = (wxDateTime *) 0 ;
16203 int arg2 ;
16204 int arg3 = (int) wxDateTime::Monday_First ;
16205 wxDateTime *result;
16206 PyObject * obj0 = 0 ;
16207 char *kwnames[] = {
16208 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16209 };
16210
16211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 {
16216 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16217 result = (wxDateTime *) &_result_ref;
16218 }
16219
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16224 return resultobj;
16225 fail:
16226 return NULL;
16227 }
16228
16229
16230 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxDateTime *arg1 = (wxDateTime *) 0 ;
16233 int arg2 ;
16234 int arg3 = (int) wxDateTime::Monday_First ;
16235 wxDateTime result;
16236 PyObject * obj0 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 {
16251 wxDateTime * resultptr;
16252 resultptr = new wxDateTime((wxDateTime &) result);
16253 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16254 }
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxDateTime *arg1 = (wxDateTime *) 0 ;
16264 int arg2 ;
16265 wxDateTime *result;
16266 PyObject * obj0 = 0 ;
16267 char *kwnames[] = {
16268 (char *) "self",(char *) "weekday", NULL
16269 };
16270
16271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 {
16276 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16277 result = (wxDateTime *) &_result_ref;
16278 }
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16284 return resultobj;
16285 fail:
16286 return NULL;
16287 }
16288
16289
16290 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16291 PyObject *resultobj;
16292 wxDateTime *arg1 = (wxDateTime *) 0 ;
16293 int arg2 ;
16294 wxDateTime result;
16295 PyObject * obj0 = 0 ;
16296 char *kwnames[] = {
16297 (char *) "self",(char *) "weekday", NULL
16298 };
16299
16300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16302 {
16303 PyThreadState* __tstate = wxPyBeginAllowThreads();
16304 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16305
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 {
16310 wxDateTime * resultptr;
16311 resultptr = new wxDateTime((wxDateTime &) result);
16312 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16313 }
16314 return resultobj;
16315 fail:
16316 return NULL;
16317 }
16318
16319
16320 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16321 PyObject *resultobj;
16322 wxDateTime *arg1 = (wxDateTime *) 0 ;
16323 int arg2 ;
16324 wxDateTime *result;
16325 PyObject * obj0 = 0 ;
16326 char *kwnames[] = {
16327 (char *) "self",(char *) "weekday", NULL
16328 };
16329
16330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 {
16335 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16336 result = (wxDateTime *) &_result_ref;
16337 }
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16343 return resultobj;
16344 fail:
16345 return NULL;
16346 }
16347
16348
16349 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16350 PyObject *resultobj;
16351 wxDateTime *arg1 = (wxDateTime *) 0 ;
16352 int arg2 ;
16353 wxDateTime result;
16354 PyObject * obj0 = 0 ;
16355 char *kwnames[] = {
16356 (char *) "self",(char *) "weekday", NULL
16357 };
16358
16359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 {
16369 wxDateTime * resultptr;
16370 resultptr = new wxDateTime((wxDateTime &) result);
16371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16372 }
16373 return resultobj;
16374 fail:
16375 return NULL;
16376 }
16377
16378
16379 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16380 PyObject *resultobj;
16381 wxDateTime *arg1 = (wxDateTime *) 0 ;
16382 int arg2 ;
16383 int arg3 = (int) 1 ;
16384 int arg4 = (int) wxDateTime::Inv_Month ;
16385 int arg5 = (int) wxDateTime::Inv_Year ;
16386 bool result;
16387 PyObject * obj0 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16390 };
16391
16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 resultobj = PyInt_FromLong((long)result);
16402 return resultobj;
16403 fail:
16404 return NULL;
16405 }
16406
16407
16408 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxDateTime *arg1 = (wxDateTime *) 0 ;
16411 int arg2 ;
16412 int arg3 = (int) wxDateTime::Inv_Month ;
16413 int arg4 = (int) wxDateTime::Inv_Year ;
16414 bool result;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 resultobj = PyInt_FromLong((long)result);
16430 return resultobj;
16431 fail:
16432 return NULL;
16433 }
16434
16435
16436 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxDateTime *arg1 = (wxDateTime *) 0 ;
16439 int arg2 ;
16440 int arg3 = (int) wxDateTime::Inv_Month ;
16441 int arg4 = (int) wxDateTime::Inv_Year ;
16442 wxDateTime result;
16443 PyObject * obj0 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16453
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 {
16458 wxDateTime * resultptr;
16459 resultptr = new wxDateTime((wxDateTime &) result);
16460 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16461 }
16462 return resultobj;
16463 fail:
16464 return NULL;
16465 }
16466
16467
16468 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxDateTime *arg1 = (wxDateTime *) 0 ;
16471 wxDateTime::wxDateTime_t arg2 ;
16472 int arg3 = (int) wxDateTime::Mon ;
16473 int arg4 = (int) wxDateTime::Monday_First ;
16474 bool result;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16483 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 {
16486 PyThreadState* __tstate = wxPyBeginAllowThreads();
16487 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16488
16489 wxPyEndAllowThreads(__tstate);
16490 if (PyErr_Occurred()) SWIG_fail;
16491 }
16492 resultobj = PyInt_FromLong((long)result);
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxDateTime *arg1 = (wxDateTime *) 0 ;
16502 wxDateTime::wxDateTime_t arg2 ;
16503 int arg3 = (int) wxDateTime::Mon ;
16504 int arg4 = (int) wxDateTime::Monday_First ;
16505 wxDateTime result;
16506 PyObject * obj0 = 0 ;
16507 PyObject * obj1 = 0 ;
16508 char *kwnames[] = {
16509 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16510 };
16511
16512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:DateTime_GetWeek",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
16513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16514 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 {
16524 wxDateTime * resultptr;
16525 resultptr = new wxDateTime((wxDateTime &) result);
16526 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16527 }
16528 return resultobj;
16529 fail:
16530 return NULL;
16531 }
16532
16533
16534 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16535 PyObject *resultobj;
16536 wxDateTime *arg1 = (wxDateTime *) 0 ;
16537 int arg2 = (int) wxDateTime::Inv_Month ;
16538 int arg3 = (int) wxDateTime::Inv_Year ;
16539 wxDateTime *result;
16540 PyObject * obj0 = 0 ;
16541 char *kwnames[] = {
16542 (char *) "self",(char *) "month",(char *) "year", NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 {
16550 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16551 result = (wxDateTime *) &_result_ref;
16552 }
16553
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj;
16566 wxDateTime *arg1 = (wxDateTime *) 0 ;
16567 int arg2 = (int) wxDateTime::Inv_Month ;
16568 int arg3 = (int) wxDateTime::Inv_Year ;
16569 wxDateTime result;
16570 PyObject * obj0 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self",(char *) "month",(char *) "year", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 {
16585 wxDateTime * resultptr;
16586 resultptr = new wxDateTime((wxDateTime &) result);
16587 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16588 }
16589 return resultobj;
16590 fail:
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxDateTime *arg1 = (wxDateTime *) 0 ;
16598 wxDateTime::wxDateTime_t arg2 ;
16599 wxDateTime *result;
16600 PyObject * obj0 = 0 ;
16601 PyObject * obj1 = 0 ;
16602 char *kwnames[] = {
16603 (char *) "self",(char *) "yday", NULL
16604 };
16605
16606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
16607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16608 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 {
16613 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16614 result = (wxDateTime *) &_result_ref;
16615 }
16616
16617 wxPyEndAllowThreads(__tstate);
16618 if (PyErr_Occurred()) SWIG_fail;
16619 }
16620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16621 return resultobj;
16622 fail:
16623 return NULL;
16624 }
16625
16626
16627 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16628 PyObject *resultobj;
16629 wxDateTime *arg1 = (wxDateTime *) 0 ;
16630 wxDateTime::wxDateTime_t arg2 ;
16631 wxDateTime result;
16632 PyObject * obj0 = 0 ;
16633 PyObject * obj1 = 0 ;
16634 char *kwnames[] = {
16635 (char *) "self",(char *) "yday", NULL
16636 };
16637
16638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
16639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16640 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 result = (arg1)->GetYearDay(arg2);
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 {
16650 wxDateTime * resultptr;
16651 resultptr = new wxDateTime((wxDateTime &) result);
16652 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16653 }
16654 return resultobj;
16655 fail:
16656 return NULL;
16657 }
16658
16659
16660 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj;
16662 wxDateTime *arg1 = (wxDateTime *) 0 ;
16663 double result;
16664 PyObject * obj0 = 0 ;
16665 char *kwnames[] = {
16666 (char *) "self", NULL
16667 };
16668
16669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (double)(arg1)->GetJulianDayNumber();
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 resultobj = PyFloat_FromDouble(result);
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxDateTime *arg1 = (wxDateTime *) 0 ;
16688 double result;
16689 PyObject * obj0 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16696 {
16697 PyThreadState* __tstate = wxPyBeginAllowThreads();
16698 result = (double)(arg1)->GetJDN();
16699
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 resultobj = PyFloat_FromDouble(result);
16704 return resultobj;
16705 fail:
16706 return NULL;
16707 }
16708
16709
16710 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj;
16712 wxDateTime *arg1 = (wxDateTime *) 0 ;
16713 double result;
16714 PyObject * obj0 = 0 ;
16715 char *kwnames[] = {
16716 (char *) "self", NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16724
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 resultobj = PyFloat_FromDouble(result);
16729 return resultobj;
16730 fail:
16731 return NULL;
16732 }
16733
16734
16735 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxDateTime *arg1 = (wxDateTime *) 0 ;
16738 double result;
16739 PyObject * obj0 = 0 ;
16740 char *kwnames[] = {
16741 (char *) "self", NULL
16742 };
16743
16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16746 {
16747 PyThreadState* __tstate = wxPyBeginAllowThreads();
16748 result = (double)(arg1)->GetMJD();
16749
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 resultobj = PyFloat_FromDouble(result);
16754 return resultobj;
16755 fail:
16756 return NULL;
16757 }
16758
16759
16760 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxDateTime *arg1 = (wxDateTime *) 0 ;
16763 double result;
16764 PyObject * obj0 = 0 ;
16765 char *kwnames[] = {
16766 (char *) "self", NULL
16767 };
16768
16769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = (double)(arg1)->GetRataDie();
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 resultobj = PyFloat_FromDouble(result);
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 wxDateTime *arg1 = (wxDateTime *) 0 ;
16788 wxDateTime::TimeZone *arg2 = 0 ;
16789 bool arg3 = (bool) False ;
16790 wxDateTime result;
16791 PyObject * obj0 = 0 ;
16792 PyObject * obj1 = 0 ;
16793 PyObject * obj2 = 0 ;
16794 char *kwnames[] = {
16795 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16796 };
16797
16798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16800 {
16801 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16802 }
16803 if (obj2) {
16804 arg3 = PyInt_AsLong(obj2) ? true : false;
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 {
16808 PyThreadState* __tstate = wxPyBeginAllowThreads();
16809 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 {
16815 wxDateTime * resultptr;
16816 resultptr = new wxDateTime((wxDateTime &) result);
16817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16818 }
16819 {
16820 if (arg2) delete arg2;
16821 }
16822 return resultobj;
16823 fail:
16824 {
16825 if (arg2) delete arg2;
16826 }
16827 return NULL;
16828 }
16829
16830
16831 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16832 PyObject *resultobj;
16833 wxDateTime *arg1 = (wxDateTime *) 0 ;
16834 wxDateTime::TimeZone *arg2 = 0 ;
16835 bool arg3 = (bool) False ;
16836 wxDateTime *result;
16837 PyObject * obj0 = 0 ;
16838 PyObject * obj1 = 0 ;
16839 PyObject * obj2 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16846 {
16847 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16848 }
16849 if (obj2) {
16850 arg3 = PyInt_AsLong(obj2) ? true : false;
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
16855 {
16856 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16857 result = (wxDateTime *) &_result_ref;
16858 }
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16864 {
16865 if (arg2) delete arg2;
16866 }
16867 return resultobj;
16868 fail:
16869 {
16870 if (arg2) delete arg2;
16871 }
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxDateTime *arg1 = (wxDateTime *) 0 ;
16879 bool arg2 = (bool) False ;
16880 wxDateTime result;
16881 PyObject * obj0 = 0 ;
16882 PyObject * obj1 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self",(char *) "noDST", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16889 if (obj1) {
16890 arg2 = PyInt_AsLong(obj1) ? true : false;
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 {
16894 PyThreadState* __tstate = wxPyBeginAllowThreads();
16895 result = (arg1)->ToGMT(arg2);
16896
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 {
16901 wxDateTime * resultptr;
16902 resultptr = new wxDateTime((wxDateTime &) result);
16903 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16904 }
16905 return resultobj;
16906 fail:
16907 return NULL;
16908 }
16909
16910
16911 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16912 PyObject *resultobj;
16913 wxDateTime *arg1 = (wxDateTime *) 0 ;
16914 bool arg2 = (bool) False ;
16915 wxDateTime *result;
16916 PyObject * obj0 = 0 ;
16917 PyObject * obj1 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "noDST", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16924 if (obj1) {
16925 arg2 = PyInt_AsLong(obj1) ? true : false;
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 {
16931 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
16932 result = (wxDateTime *) &_result_ref;
16933 }
16934
16935 wxPyEndAllowThreads(__tstate);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16939 return resultobj;
16940 fail:
16941 return NULL;
16942 }
16943
16944
16945 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj;
16947 wxDateTime *arg1 = (wxDateTime *) 0 ;
16948 int arg2 = (int) wxDateTime::Country_Default ;
16949 int result;
16950 PyObject * obj0 = 0 ;
16951 char *kwnames[] = {
16952 (char *) "self",(char *) "country", NULL
16953 };
16954
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
16956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
16960
16961 wxPyEndAllowThreads(__tstate);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 resultobj = PyInt_FromLong((long)result);
16965 return resultobj;
16966 fail:
16967 return NULL;
16968 }
16969
16970
16971 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
16972 PyObject *resultobj;
16973 wxDateTime *arg1 = (wxDateTime *) 0 ;
16974 bool result;
16975 PyObject * obj0 = 0 ;
16976 char *kwnames[] = {
16977 (char *) "self", NULL
16978 };
16979
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
16981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16982 {
16983 PyThreadState* __tstate = wxPyBeginAllowThreads();
16984 result = (bool)((wxDateTime const *)arg1)->IsValid();
16985
16986 wxPyEndAllowThreads(__tstate);
16987 if (PyErr_Occurred()) SWIG_fail;
16988 }
16989 resultobj = PyInt_FromLong((long)result);
16990 return resultobj;
16991 fail:
16992 return NULL;
16993 }
16994
16995
16996 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
16997 PyObject *resultobj;
16998 wxDateTime *arg1 = (wxDateTime *) 0 ;
16999 time_t result;
17000 PyObject * obj0 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "self", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 resultobj = PyInt_FromLong((long)result);
17015 return resultobj;
17016 fail:
17017 return NULL;
17018 }
17019
17020
17021 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17022 PyObject *resultobj;
17023 wxDateTime *arg1 = (wxDateTime *) 0 ;
17024 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17025 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17026 int result;
17027 PyObject * obj0 = 0 ;
17028 PyObject * obj1 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "self",(char *) "tz", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17035 if (obj1) {
17036 {
17037 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17038 }
17039 }
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 resultobj = PyInt_FromLong((long)result);
17048 {
17049 if (arg2) delete arg2;
17050 }
17051 return resultobj;
17052 fail:
17053 {
17054 if (arg2) delete arg2;
17055 }
17056 return NULL;
17057 }
17058
17059
17060 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxDateTime *arg1 = (wxDateTime *) 0 ;
17063 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17064 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17065 int result;
17066 PyObject * obj0 = 0 ;
17067 PyObject * obj1 = 0 ;
17068 char *kwnames[] = {
17069 (char *) "self",(char *) "tz", NULL
17070 };
17071
17072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17074 if (obj1) {
17075 {
17076 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17077 }
17078 }
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17082
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 resultobj = PyInt_FromLong((long)result);
17087 {
17088 if (arg2) delete arg2;
17089 }
17090 return resultobj;
17091 fail:
17092 {
17093 if (arg2) delete arg2;
17094 }
17095 return NULL;
17096 }
17097
17098
17099 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj;
17101 wxDateTime *arg1 = (wxDateTime *) 0 ;
17102 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17103 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17104 wxDateTime::wxDateTime_t result;
17105 PyObject * obj0 = 0 ;
17106 PyObject * obj1 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self",(char *) "tz", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17113 if (obj1) {
17114 {
17115 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17116 }
17117 }
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = PyInt_FromLong((long)result);
17126 {
17127 if (arg2) delete arg2;
17128 }
17129 return resultobj;
17130 fail:
17131 {
17132 if (arg2) delete arg2;
17133 }
17134 return NULL;
17135 }
17136
17137
17138 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17139 PyObject *resultobj;
17140 wxDateTime *arg1 = (wxDateTime *) 0 ;
17141 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17142 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17143 int result;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 char *kwnames[] = {
17147 (char *) "self",(char *) "tz", NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17152 if (obj1) {
17153 {
17154 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17155 }
17156 }
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 resultobj = PyInt_FromLong((long)result);
17165 {
17166 if (arg2) delete arg2;
17167 }
17168 return resultobj;
17169 fail:
17170 {
17171 if (arg2) delete arg2;
17172 }
17173 return NULL;
17174 }
17175
17176
17177 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxDateTime *arg1 = (wxDateTime *) 0 ;
17180 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17181 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17182 wxDateTime::wxDateTime_t result;
17183 PyObject * obj0 = 0 ;
17184 PyObject * obj1 = 0 ;
17185 char *kwnames[] = {
17186 (char *) "self",(char *) "tz", NULL
17187 };
17188
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17191 if (obj1) {
17192 {
17193 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17194 }
17195 }
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 resultobj = PyInt_FromLong((long)result);
17204 {
17205 if (arg2) delete arg2;
17206 }
17207 return resultobj;
17208 fail:
17209 {
17210 if (arg2) delete arg2;
17211 }
17212 return NULL;
17213 }
17214
17215
17216 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxDateTime *arg1 = (wxDateTime *) 0 ;
17219 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17220 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17221 wxDateTime::wxDateTime_t result;
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self",(char *) "tz", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17230 if (obj1) {
17231 {
17232 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17233 }
17234 }
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 resultobj = PyInt_FromLong((long)result);
17243 {
17244 if (arg2) delete arg2;
17245 }
17246 return resultobj;
17247 fail:
17248 {
17249 if (arg2) delete arg2;
17250 }
17251 return NULL;
17252 }
17253
17254
17255 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxDateTime *arg1 = (wxDateTime *) 0 ;
17258 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17259 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17260 wxDateTime::wxDateTime_t result;
17261 PyObject * obj0 = 0 ;
17262 PyObject * obj1 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "tz", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17269 if (obj1) {
17270 {
17271 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17272 }
17273 }
17274 {
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17277
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 resultobj = PyInt_FromLong((long)result);
17282 {
17283 if (arg2) delete arg2;
17284 }
17285 return resultobj;
17286 fail:
17287 {
17288 if (arg2) delete arg2;
17289 }
17290 return NULL;
17291 }
17292
17293
17294 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxDateTime *arg1 = (wxDateTime *) 0 ;
17297 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17298 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17299 wxDateTime::wxDateTime_t result;
17300 PyObject * obj0 = 0 ;
17301 PyObject * obj1 = 0 ;
17302 char *kwnames[] = {
17303 (char *) "self",(char *) "tz", NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17308 if (obj1) {
17309 {
17310 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17311 }
17312 }
17313 {
17314 PyThreadState* __tstate = wxPyBeginAllowThreads();
17315 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17316
17317 wxPyEndAllowThreads(__tstate);
17318 if (PyErr_Occurred()) SWIG_fail;
17319 }
17320 resultobj = PyInt_FromLong((long)result);
17321 {
17322 if (arg2) delete arg2;
17323 }
17324 return resultobj;
17325 fail:
17326 {
17327 if (arg2) delete arg2;
17328 }
17329 return NULL;
17330 }
17331
17332
17333 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj;
17335 wxDateTime *arg1 = (wxDateTime *) 0 ;
17336 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17337 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17338 wxDateTime::wxDateTime_t result;
17339 PyObject * obj0 = 0 ;
17340 PyObject * obj1 = 0 ;
17341 char *kwnames[] = {
17342 (char *) "self",(char *) "tz", NULL
17343 };
17344
17345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17347 if (obj1) {
17348 {
17349 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17350 }
17351 }
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 resultobj = PyInt_FromLong((long)result);
17360 {
17361 if (arg2) delete arg2;
17362 }
17363 return resultobj;
17364 fail:
17365 {
17366 if (arg2) delete arg2;
17367 }
17368 return NULL;
17369 }
17370
17371
17372 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxDateTime *arg1 = (wxDateTime *) 0 ;
17375 int arg2 = (int) wxDateTime::Monday_First ;
17376 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17377 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17378 wxDateTime::wxDateTime_t result;
17379 PyObject * obj0 = 0 ;
17380 PyObject * obj2 = 0 ;
17381 char *kwnames[] = {
17382 (char *) "self",(char *) "flags",(char *) "tz", NULL
17383 };
17384
17385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17387 if (obj2) {
17388 {
17389 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17390 }
17391 }
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 resultobj = PyInt_FromLong((long)result);
17400 {
17401 if (arg3) delete arg3;
17402 }
17403 return resultobj;
17404 fail:
17405 {
17406 if (arg3) delete arg3;
17407 }
17408 return NULL;
17409 }
17410
17411
17412 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxDateTime *arg1 = (wxDateTime *) 0 ;
17415 int arg2 = (int) wxDateTime::Monday_First ;
17416 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17417 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17418 wxDateTime::wxDateTime_t result;
17419 PyObject * obj0 = 0 ;
17420 PyObject * obj2 = 0 ;
17421 char *kwnames[] = {
17422 (char *) "self",(char *) "flags",(char *) "tz", NULL
17423 };
17424
17425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17427 if (obj2) {
17428 {
17429 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17430 }
17431 }
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = PyInt_FromLong((long)result);
17440 {
17441 if (arg3) delete arg3;
17442 }
17443 return resultobj;
17444 fail:
17445 {
17446 if (arg3) delete arg3;
17447 }
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxDateTime *arg1 = (wxDateTime *) 0 ;
17455 int arg2 = (int) wxDateTime::Country_Default ;
17456 bool result;
17457 PyObject * obj0 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self",(char *) "country", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 resultobj = PyInt_FromLong((long)result);
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxDateTime *arg1 = (wxDateTime *) 0 ;
17481 wxDateTime *arg2 = 0 ;
17482 bool result;
17483 PyObject * obj0 = 0 ;
17484 PyObject * obj1 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self",(char *) "datetime", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17492 if (arg2 == NULL) {
17493 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17494 }
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 resultobj = PyInt_FromLong((long)result);
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxDateTime *arg1 = (wxDateTime *) 0 ;
17512 wxDateTime *arg2 = 0 ;
17513 bool result;
17514 PyObject * obj0 = 0 ;
17515 PyObject * obj1 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self",(char *) "datetime", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17523 if (arg2 == NULL) {
17524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17525 }
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 resultobj = PyInt_FromLong((long)result);
17534 return resultobj;
17535 fail:
17536 return NULL;
17537 }
17538
17539
17540 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17541 PyObject *resultobj;
17542 wxDateTime *arg1 = (wxDateTime *) 0 ;
17543 wxDateTime *arg2 = 0 ;
17544 bool result;
17545 PyObject * obj0 = 0 ;
17546 PyObject * obj1 = 0 ;
17547 char *kwnames[] = {
17548 (char *) "self",(char *) "datetime", NULL
17549 };
17550
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17554 if (arg2 == NULL) {
17555 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17556 }
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17560
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 resultobj = PyInt_FromLong((long)result);
17565 return resultobj;
17566 fail:
17567 return NULL;
17568 }
17569
17570
17571 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj;
17573 wxDateTime *arg1 = (wxDateTime *) 0 ;
17574 wxDateTime *arg2 = 0 ;
17575 wxDateTime *arg3 = 0 ;
17576 bool result;
17577 PyObject * obj0 = 0 ;
17578 PyObject * obj1 = 0 ;
17579 PyObject * obj2 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self",(char *) "t1",(char *) "t2", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17587 if (arg2 == NULL) {
17588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17589 }
17590 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17591 if (arg3 == NULL) {
17592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17593 }
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 resultobj = PyInt_FromLong((long)result);
17602 return resultobj;
17603 fail:
17604 return NULL;
17605 }
17606
17607
17608 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17609 PyObject *resultobj;
17610 wxDateTime *arg1 = (wxDateTime *) 0 ;
17611 wxDateTime *arg2 = 0 ;
17612 wxDateTime *arg3 = 0 ;
17613 bool result;
17614 PyObject * obj0 = 0 ;
17615 PyObject * obj1 = 0 ;
17616 PyObject * obj2 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self",(char *) "t1",(char *) "t2", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17624 if (arg2 == NULL) {
17625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17626 }
17627 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17628 if (arg3 == NULL) {
17629 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17630 }
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 resultobj = PyInt_FromLong((long)result);
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxDateTime *arg1 = (wxDateTime *) 0 ;
17648 wxDateTime *arg2 = 0 ;
17649 bool result;
17650 PyObject * obj0 = 0 ;
17651 PyObject * obj1 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self",(char *) "dt", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17659 if (arg2 == NULL) {
17660 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17661 }
17662 {
17663 PyThreadState* __tstate = wxPyBeginAllowThreads();
17664 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17665
17666 wxPyEndAllowThreads(__tstate);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 resultobj = PyInt_FromLong((long)result);
17670 return resultobj;
17671 fail:
17672 return NULL;
17673 }
17674
17675
17676 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17677 PyObject *resultobj;
17678 wxDateTime *arg1 = (wxDateTime *) 0 ;
17679 wxDateTime *arg2 = 0 ;
17680 bool result;
17681 PyObject * obj0 = 0 ;
17682 PyObject * obj1 = 0 ;
17683 char *kwnames[] = {
17684 (char *) "self",(char *) "dt", NULL
17685 };
17686
17687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17689 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17690 if (arg2 == NULL) {
17691 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17692 }
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 resultobj = PyInt_FromLong((long)result);
17701 return resultobj;
17702 fail:
17703 return NULL;
17704 }
17705
17706
17707 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxDateTime *arg1 = (wxDateTime *) 0 ;
17710 wxDateTime *arg2 = 0 ;
17711 wxTimeSpan *arg3 = 0 ;
17712 bool result;
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 PyObject * obj2 = 0 ;
17716 char *kwnames[] = {
17717 (char *) "self",(char *) "dt",(char *) "ts", NULL
17718 };
17719
17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 if (arg2 == NULL) {
17724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17725 }
17726 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17727 if (arg3 == NULL) {
17728 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17729 }
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 resultobj = PyInt_FromLong((long)result);
17738 return resultobj;
17739 fail:
17740 return NULL;
17741 }
17742
17743
17744 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17745 PyObject *resultobj;
17746 wxDateTime *arg1 = (wxDateTime *) 0 ;
17747 wxTimeSpan *arg2 = 0 ;
17748 wxDateTime *result;
17749 PyObject * obj0 = 0 ;
17750 PyObject * obj1 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "self",(char *) "diff", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17758 if (arg2 == NULL) {
17759 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17760 }
17761 {
17762 PyThreadState* __tstate = wxPyBeginAllowThreads();
17763 {
17764 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17765 result = (wxDateTime *) &_result_ref;
17766 }
17767
17768 wxPyEndAllowThreads(__tstate);
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxDateTime *arg1 = (wxDateTime *) 0 ;
17781 wxDateSpan *arg2 = 0 ;
17782 wxDateTime *result;
17783 PyObject * obj0 = 0 ;
17784 PyObject * obj1 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "self",(char *) "diff", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17792 if (arg2 == NULL) {
17793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17794 }
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 {
17798 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17799 result = (wxDateTime *) &_result_ref;
17800 }
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxDateTime *arg1 = (wxDateTime *) 0 ;
17815 wxTimeSpan *arg2 = 0 ;
17816 wxDateTime *result;
17817 PyObject * obj0 = 0 ;
17818 PyObject * obj1 = 0 ;
17819 char *kwnames[] = {
17820 (char *) "self",(char *) "diff", NULL
17821 };
17822
17823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17826 if (arg2 == NULL) {
17827 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17828 }
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 {
17832 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17833 result = (wxDateTime *) &_result_ref;
17834 }
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17840 return resultobj;
17841 fail:
17842 return NULL;
17843 }
17844
17845
17846 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxDateTime *arg1 = (wxDateTime *) 0 ;
17849 wxDateSpan *arg2 = 0 ;
17850 wxDateTime *result;
17851 PyObject * obj0 = 0 ;
17852 PyObject * obj1 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self",(char *) "diff", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17860 if (arg2 == NULL) {
17861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17862 }
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 {
17866 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17867 result = (wxDateTime *) &_result_ref;
17868 }
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxDateTime *arg1 = (wxDateTime *) 0 ;
17883 wxDateTime *arg2 = 0 ;
17884 wxTimeSpan result;
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self",(char *) "dt", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17894 if (arg2 == NULL) {
17895 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17896 }
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 {
17905 wxTimeSpan * resultptr;
17906 resultptr = new wxTimeSpan((wxTimeSpan &) result);
17907 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
17908 }
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
17916 PyObject *resultobj;
17917 wxDateTime *arg1 = (wxDateTime *) 0 ;
17918 wxTimeSpan *arg2 = 0 ;
17919 wxDateTime *result;
17920 PyObject * obj0 = 0 ;
17921 PyObject * obj1 = 0 ;
17922
17923 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17926 if (arg2 == NULL) {
17927 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17928 }
17929 {
17930 PyThreadState* __tstate = wxPyBeginAllowThreads();
17931 {
17932 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
17933 result = (wxDateTime *) &_result_ref;
17934 }
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17940 return resultobj;
17941 fail:
17942 return NULL;
17943 }
17944
17945
17946 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
17947 PyObject *resultobj;
17948 wxDateTime *arg1 = (wxDateTime *) 0 ;
17949 wxDateSpan *arg2 = 0 ;
17950 wxDateTime *result;
17951 PyObject * obj0 = 0 ;
17952 PyObject * obj1 = 0 ;
17953
17954 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17957 if (arg2 == NULL) {
17958 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17959 }
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 {
17963 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
17964 result = (wxDateTime *) &_result_ref;
17965 }
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
17978 int argc;
17979 PyObject *argv[3];
17980 int ii;
17981
17982 argc = PyObject_Length(args);
17983 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17984 argv[ii] = PyTuple_GetItem(args,ii);
17985 }
17986 if (argc == 2) {
17987 int _v;
17988 {
17989 void *ptr;
17990 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17991 _v = 0;
17992 PyErr_Clear();
17993 } else {
17994 _v = 1;
17995 }
17996 }
17997 if (_v) {
17998 {
17999 void *ptr;
18000 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18001 _v = 0;
18002 PyErr_Clear();
18003 } else {
18004 _v = 1;
18005 }
18006 }
18007 if (_v) {
18008 return _wrap_DateTime___iadd____SWIG_0(self,args);
18009 }
18010 }
18011 }
18012 if (argc == 2) {
18013 int _v;
18014 {
18015 void *ptr;
18016 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18017 _v = 0;
18018 PyErr_Clear();
18019 } else {
18020 _v = 1;
18021 }
18022 }
18023 if (_v) {
18024 {
18025 void *ptr;
18026 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18027 _v = 0;
18028 PyErr_Clear();
18029 } else {
18030 _v = 1;
18031 }
18032 }
18033 if (_v) {
18034 return _wrap_DateTime___iadd____SWIG_1(self,args);
18035 }
18036 }
18037 }
18038
18039 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18040 return NULL;
18041 }
18042
18043
18044 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18045 PyObject *resultobj;
18046 wxDateTime *arg1 = (wxDateTime *) 0 ;
18047 wxTimeSpan *arg2 = 0 ;
18048 wxDateTime *result;
18049 PyObject * obj0 = 0 ;
18050 PyObject * obj1 = 0 ;
18051
18052 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18055 if (arg2 == NULL) {
18056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18057 }
18058 {
18059 PyThreadState* __tstate = wxPyBeginAllowThreads();
18060 {
18061 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18062 result = (wxDateTime *) &_result_ref;
18063 }
18064
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18069 return resultobj;
18070 fail:
18071 return NULL;
18072 }
18073
18074
18075 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18076 PyObject *resultobj;
18077 wxDateTime *arg1 = (wxDateTime *) 0 ;
18078 wxDateSpan *arg2 = 0 ;
18079 wxDateTime *result;
18080 PyObject * obj0 = 0 ;
18081 PyObject * obj1 = 0 ;
18082
18083 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18086 if (arg2 == NULL) {
18087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18088 }
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 {
18092 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18093 result = (wxDateTime *) &_result_ref;
18094 }
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18100 return resultobj;
18101 fail:
18102 return NULL;
18103 }
18104
18105
18106 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18107 int argc;
18108 PyObject *argv[3];
18109 int ii;
18110
18111 argc = PyObject_Length(args);
18112 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18113 argv[ii] = PyTuple_GetItem(args,ii);
18114 }
18115 if (argc == 2) {
18116 int _v;
18117 {
18118 void *ptr;
18119 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18120 _v = 0;
18121 PyErr_Clear();
18122 } else {
18123 _v = 1;
18124 }
18125 }
18126 if (_v) {
18127 {
18128 void *ptr;
18129 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18130 _v = 0;
18131 PyErr_Clear();
18132 } else {
18133 _v = 1;
18134 }
18135 }
18136 if (_v) {
18137 return _wrap_DateTime___isub____SWIG_0(self,args);
18138 }
18139 }
18140 }
18141 if (argc == 2) {
18142 int _v;
18143 {
18144 void *ptr;
18145 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18146 _v = 0;
18147 PyErr_Clear();
18148 } else {
18149 _v = 1;
18150 }
18151 }
18152 if (_v) {
18153 {
18154 void *ptr;
18155 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18156 _v = 0;
18157 PyErr_Clear();
18158 } else {
18159 _v = 1;
18160 }
18161 }
18162 if (_v) {
18163 return _wrap_DateTime___isub____SWIG_1(self,args);
18164 }
18165 }
18166 }
18167
18168 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18169 return NULL;
18170 }
18171
18172
18173 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18174 PyObject *resultobj;
18175 wxDateTime *arg1 = (wxDateTime *) 0 ;
18176 wxTimeSpan *arg2 = 0 ;
18177 wxDateTime result;
18178 PyObject * obj0 = 0 ;
18179 PyObject * obj1 = 0 ;
18180
18181 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18184 if (arg2 == NULL) {
18185 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18186 }
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 {
18195 wxDateTime * resultptr;
18196 resultptr = new wxDateTime((wxDateTime &) result);
18197 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18198 }
18199 return resultobj;
18200 fail:
18201 return NULL;
18202 }
18203
18204
18205 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18206 PyObject *resultobj;
18207 wxDateTime *arg1 = (wxDateTime *) 0 ;
18208 wxDateSpan *arg2 = 0 ;
18209 wxDateTime result;
18210 PyObject * obj0 = 0 ;
18211 PyObject * obj1 = 0 ;
18212
18213 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18216 if (arg2 == NULL) {
18217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18218 }
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 {
18227 wxDateTime * resultptr;
18228 resultptr = new wxDateTime((wxDateTime &) result);
18229 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18230 }
18231 return resultobj;
18232 fail:
18233 return NULL;
18234 }
18235
18236
18237 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18238 int argc;
18239 PyObject *argv[3];
18240 int ii;
18241
18242 argc = PyObject_Length(args);
18243 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18244 argv[ii] = PyTuple_GetItem(args,ii);
18245 }
18246 if (argc == 2) {
18247 int _v;
18248 {
18249 void *ptr;
18250 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18251 _v = 0;
18252 PyErr_Clear();
18253 } else {
18254 _v = 1;
18255 }
18256 }
18257 if (_v) {
18258 {
18259 void *ptr;
18260 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18261 _v = 0;
18262 PyErr_Clear();
18263 } else {
18264 _v = 1;
18265 }
18266 }
18267 if (_v) {
18268 return _wrap_DateTime___add____SWIG_0(self,args);
18269 }
18270 }
18271 }
18272 if (argc == 2) {
18273 int _v;
18274 {
18275 void *ptr;
18276 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18277 _v = 0;
18278 PyErr_Clear();
18279 } else {
18280 _v = 1;
18281 }
18282 }
18283 if (_v) {
18284 {
18285 void *ptr;
18286 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18287 _v = 0;
18288 PyErr_Clear();
18289 } else {
18290 _v = 1;
18291 }
18292 }
18293 if (_v) {
18294 return _wrap_DateTime___add____SWIG_1(self,args);
18295 }
18296 }
18297 }
18298
18299 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18300 return NULL;
18301 }
18302
18303
18304 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18305 PyObject *resultobj;
18306 wxDateTime *arg1 = (wxDateTime *) 0 ;
18307 wxDateTime *arg2 = 0 ;
18308 wxTimeSpan result;
18309 PyObject * obj0 = 0 ;
18310 PyObject * obj1 = 0 ;
18311
18312 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18315 if (arg2 == NULL) {
18316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18317 }
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 {
18326 wxTimeSpan * resultptr;
18327 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18328 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18329 }
18330 return resultobj;
18331 fail:
18332 return NULL;
18333 }
18334
18335
18336 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18337 PyObject *resultobj;
18338 wxDateTime *arg1 = (wxDateTime *) 0 ;
18339 wxTimeSpan *arg2 = 0 ;
18340 wxDateTime result;
18341 PyObject * obj0 = 0 ;
18342 PyObject * obj1 = 0 ;
18343
18344 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18347 if (arg2 == NULL) {
18348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18349 }
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 {
18358 wxDateTime * resultptr;
18359 resultptr = new wxDateTime((wxDateTime &) result);
18360 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18361 }
18362 return resultobj;
18363 fail:
18364 return NULL;
18365 }
18366
18367
18368 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18369 PyObject *resultobj;
18370 wxDateTime *arg1 = (wxDateTime *) 0 ;
18371 wxDateSpan *arg2 = 0 ;
18372 wxDateTime result;
18373 PyObject * obj0 = 0 ;
18374 PyObject * obj1 = 0 ;
18375
18376 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18379 if (arg2 == NULL) {
18380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18381 }
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 {
18390 wxDateTime * resultptr;
18391 resultptr = new wxDateTime((wxDateTime &) result);
18392 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18393 }
18394 return resultobj;
18395 fail:
18396 return NULL;
18397 }
18398
18399
18400 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18401 int argc;
18402 PyObject *argv[3];
18403 int ii;
18404
18405 argc = PyObject_Length(args);
18406 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18407 argv[ii] = PyTuple_GetItem(args,ii);
18408 }
18409 if (argc == 2) {
18410 int _v;
18411 {
18412 void *ptr;
18413 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18414 _v = 0;
18415 PyErr_Clear();
18416 } else {
18417 _v = 1;
18418 }
18419 }
18420 if (_v) {
18421 {
18422 void *ptr;
18423 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18424 _v = 0;
18425 PyErr_Clear();
18426 } else {
18427 _v = 1;
18428 }
18429 }
18430 if (_v) {
18431 return _wrap_DateTime___sub____SWIG_0(self,args);
18432 }
18433 }
18434 }
18435 if (argc == 2) {
18436 int _v;
18437 {
18438 void *ptr;
18439 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18440 _v = 0;
18441 PyErr_Clear();
18442 } else {
18443 _v = 1;
18444 }
18445 }
18446 if (_v) {
18447 {
18448 void *ptr;
18449 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18450 _v = 0;
18451 PyErr_Clear();
18452 } else {
18453 _v = 1;
18454 }
18455 }
18456 if (_v) {
18457 return _wrap_DateTime___sub____SWIG_1(self,args);
18458 }
18459 }
18460 }
18461 if (argc == 2) {
18462 int _v;
18463 {
18464 void *ptr;
18465 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18466 _v = 0;
18467 PyErr_Clear();
18468 } else {
18469 _v = 1;
18470 }
18471 }
18472 if (_v) {
18473 {
18474 void *ptr;
18475 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18476 _v = 0;
18477 PyErr_Clear();
18478 } else {
18479 _v = 1;
18480 }
18481 }
18482 if (_v) {
18483 return _wrap_DateTime___sub____SWIG_2(self,args);
18484 }
18485 }
18486 }
18487
18488 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18489 return NULL;
18490 }
18491
18492
18493 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18494 PyObject *resultobj;
18495 wxDateTime *arg1 = (wxDateTime *) 0 ;
18496 wxDateTime *arg2 = 0 ;
18497 bool result;
18498 PyObject * obj0 = 0 ;
18499 PyObject * obj1 = 0 ;
18500
18501 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18504 if (arg2 == NULL) {
18505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18506 }
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 resultobj = PyInt_FromLong((long)result);
18515 return resultobj;
18516 fail:
18517 return NULL;
18518 }
18519
18520
18521 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18522 PyObject *resultobj;
18523 wxDateTime *arg1 = (wxDateTime *) 0 ;
18524 wxDateTime *arg2 = 0 ;
18525 bool result;
18526 PyObject * obj0 = 0 ;
18527 PyObject * obj1 = 0 ;
18528
18529 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18532 if (arg2 == NULL) {
18533 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18534 }
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 resultobj = PyInt_FromLong((long)result);
18543 return resultobj;
18544 fail:
18545 return NULL;
18546 }
18547
18548
18549 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18550 PyObject *resultobj;
18551 wxDateTime *arg1 = (wxDateTime *) 0 ;
18552 wxDateTime *arg2 = 0 ;
18553 bool result;
18554 PyObject * obj0 = 0 ;
18555 PyObject * obj1 = 0 ;
18556
18557 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18560 if (arg2 == NULL) {
18561 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18562 }
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 resultobj = PyInt_FromLong((long)result);
18571 return resultobj;
18572 fail:
18573 return NULL;
18574 }
18575
18576
18577 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18578 PyObject *resultobj;
18579 wxDateTime *arg1 = (wxDateTime *) 0 ;
18580 wxDateTime *arg2 = 0 ;
18581 bool result;
18582 PyObject * obj0 = 0 ;
18583 PyObject * obj1 = 0 ;
18584
18585 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18588 if (arg2 == NULL) {
18589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18590 }
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 resultobj = PyInt_FromLong((long)result);
18599 return resultobj;
18600 fail:
18601 return NULL;
18602 }
18603
18604
18605 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18606 PyObject *resultobj;
18607 wxDateTime *arg1 = (wxDateTime *) 0 ;
18608 wxDateTime *arg2 = 0 ;
18609 bool result;
18610 PyObject * obj0 = 0 ;
18611 PyObject * obj1 = 0 ;
18612
18613 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 if (arg2 == NULL) {
18617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18618 }
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 resultobj = PyInt_FromLong((long)result);
18627 return resultobj;
18628 fail:
18629 return NULL;
18630 }
18631
18632
18633 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18634 PyObject *resultobj;
18635 wxDateTime *arg1 = (wxDateTime *) 0 ;
18636 wxDateTime *arg2 = 0 ;
18637 bool result;
18638 PyObject * obj0 = 0 ;
18639 PyObject * obj1 = 0 ;
18640
18641 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18644 if (arg2 == NULL) {
18645 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18646 }
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18650
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 resultobj = PyInt_FromLong((long)result);
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxDateTime *arg1 = (wxDateTime *) 0 ;
18664 wxString *arg2 = 0 ;
18665 int result;
18666 bool temp2 = False ;
18667 PyObject * obj0 = 0 ;
18668 PyObject * obj1 = 0 ;
18669 char *kwnames[] = {
18670 (char *) "self",(char *) "date", NULL
18671 };
18672
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18675 {
18676 arg2 = wxString_in_helper(obj1);
18677 if (arg2 == NULL) SWIG_fail;
18678 temp2 = True;
18679 }
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 resultobj = PyInt_FromLong((long)result);
18688 {
18689 if (temp2)
18690 delete arg2;
18691 }
18692 return resultobj;
18693 fail:
18694 {
18695 if (temp2)
18696 delete arg2;
18697 }
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxDateTime *arg1 = (wxDateTime *) 0 ;
18705 wxString *arg2 = 0 ;
18706 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18707 wxString *arg3 = (wxString *) &arg3_defvalue ;
18708 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18709 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18710 int result;
18711 bool temp2 = False ;
18712 bool temp3 = False ;
18713 PyObject * obj0 = 0 ;
18714 PyObject * obj1 = 0 ;
18715 PyObject * obj2 = 0 ;
18716 PyObject * obj3 = 0 ;
18717 char *kwnames[] = {
18718 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18723 {
18724 arg2 = wxString_in_helper(obj1);
18725 if (arg2 == NULL) SWIG_fail;
18726 temp2 = True;
18727 }
18728 if (obj2) {
18729 {
18730 arg3 = wxString_in_helper(obj2);
18731 if (arg3 == NULL) SWIG_fail;
18732 temp3 = True;
18733 }
18734 }
18735 if (obj3) {
18736 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18737 if (arg4 == NULL) {
18738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18739 }
18740 }
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18744
18745 wxPyEndAllowThreads(__tstate);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
18748 resultobj = PyInt_FromLong((long)result);
18749 {
18750 if (temp2)
18751 delete arg2;
18752 }
18753 {
18754 if (temp3)
18755 delete arg3;
18756 }
18757 return resultobj;
18758 fail:
18759 {
18760 if (temp2)
18761 delete arg2;
18762 }
18763 {
18764 if (temp3)
18765 delete arg3;
18766 }
18767 return NULL;
18768 }
18769
18770
18771 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18772 PyObject *resultobj;
18773 wxDateTime *arg1 = (wxDateTime *) 0 ;
18774 wxString *arg2 = 0 ;
18775 int result;
18776 bool temp2 = False ;
18777 PyObject * obj0 = 0 ;
18778 PyObject * obj1 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self",(char *) "datetime", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18785 {
18786 arg2 = wxString_in_helper(obj1);
18787 if (arg2 == NULL) SWIG_fail;
18788 temp2 = True;
18789 }
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 resultobj = PyInt_FromLong((long)result);
18798 {
18799 if (temp2)
18800 delete arg2;
18801 }
18802 return resultobj;
18803 fail:
18804 {
18805 if (temp2)
18806 delete arg2;
18807 }
18808 return NULL;
18809 }
18810
18811
18812 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxDateTime *arg1 = (wxDateTime *) 0 ;
18815 wxString *arg2 = 0 ;
18816 int result;
18817 bool temp2 = False ;
18818 PyObject * obj0 = 0 ;
18819 PyObject * obj1 = 0 ;
18820 char *kwnames[] = {
18821 (char *) "self",(char *) "date", NULL
18822 };
18823
18824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18826 {
18827 arg2 = wxString_in_helper(obj1);
18828 if (arg2 == NULL) SWIG_fail;
18829 temp2 = True;
18830 }
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 resultobj = PyInt_FromLong((long)result);
18839 {
18840 if (temp2)
18841 delete arg2;
18842 }
18843 return resultobj;
18844 fail:
18845 {
18846 if (temp2)
18847 delete arg2;
18848 }
18849 return NULL;
18850 }
18851
18852
18853 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18854 PyObject *resultobj;
18855 wxDateTime *arg1 = (wxDateTime *) 0 ;
18856 wxString *arg2 = 0 ;
18857 int result;
18858 bool temp2 = False ;
18859 PyObject * obj0 = 0 ;
18860 PyObject * obj1 = 0 ;
18861 char *kwnames[] = {
18862 (char *) "self",(char *) "time", NULL
18863 };
18864
18865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18867 {
18868 arg2 = wxString_in_helper(obj1);
18869 if (arg2 == NULL) SWIG_fail;
18870 temp2 = True;
18871 }
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18875
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 resultobj = PyInt_FromLong((long)result);
18880 {
18881 if (temp2)
18882 delete arg2;
18883 }
18884 return resultobj;
18885 fail:
18886 {
18887 if (temp2)
18888 delete arg2;
18889 }
18890 return NULL;
18891 }
18892
18893
18894 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18895 PyObject *resultobj;
18896 wxDateTime *arg1 = (wxDateTime *) 0 ;
18897 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18898 wxString *arg2 = (wxString *) &arg2_defvalue ;
18899 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18900 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18901 wxString result;
18902 bool temp2 = False ;
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 PyObject * obj2 = 0 ;
18906 char *kwnames[] = {
18907 (char *) "self",(char *) "format",(char *) "tz", NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
18911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18912 if (obj1) {
18913 {
18914 arg2 = wxString_in_helper(obj1);
18915 if (arg2 == NULL) SWIG_fail;
18916 temp2 = True;
18917 }
18918 }
18919 if (obj2) {
18920 {
18921 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
18922 }
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 {
18932 #if wxUSE_UNICODE
18933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18934 #else
18935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18936 #endif
18937 }
18938 {
18939 if (temp2)
18940 delete arg2;
18941 }
18942 {
18943 if (arg3) delete arg3;
18944 }
18945 return resultobj;
18946 fail:
18947 {
18948 if (temp2)
18949 delete arg2;
18950 }
18951 {
18952 if (arg3) delete arg3;
18953 }
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxDateTime *arg1 = (wxDateTime *) 0 ;
18961 wxString result;
18962 PyObject * obj0 = 0 ;
18963 char *kwnames[] = {
18964 (char *) "self", NULL
18965 };
18966
18967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
18968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 result = ((wxDateTime const *)arg1)->FormatDate();
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 {
18977 #if wxUSE_UNICODE
18978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18979 #else
18980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18981 #endif
18982 }
18983 return resultobj;
18984 fail:
18985 return NULL;
18986 }
18987
18988
18989 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18990 PyObject *resultobj;
18991 wxDateTime *arg1 = (wxDateTime *) 0 ;
18992 wxString result;
18993 PyObject * obj0 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 result = ((wxDateTime const *)arg1)->FormatTime();
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 {
19008 #if wxUSE_UNICODE
19009 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19010 #else
19011 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19012 #endif
19013 }
19014 return resultobj;
19015 fail:
19016 return NULL;
19017 }
19018
19019
19020 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj;
19022 wxDateTime *arg1 = (wxDateTime *) 0 ;
19023 wxString result;
19024 PyObject * obj0 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 result = ((wxDateTime const *)arg1)->FormatISODate();
19034
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 {
19039 #if wxUSE_UNICODE
19040 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19041 #else
19042 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19043 #endif
19044 }
19045 return resultobj;
19046 fail:
19047 return NULL;
19048 }
19049
19050
19051 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19052 PyObject *resultobj;
19053 wxDateTime *arg1 = (wxDateTime *) 0 ;
19054 wxString result;
19055 PyObject * obj0 = 0 ;
19056 char *kwnames[] = {
19057 (char *) "self", NULL
19058 };
19059
19060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 result = ((wxDateTime const *)arg1)->FormatISOTime();
19065
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 {
19070 #if wxUSE_UNICODE
19071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19072 #else
19073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19074 #endif
19075 }
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19083 PyObject *obj;
19084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19085 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19086 Py_INCREF(obj);
19087 return Py_BuildValue((char *)"");
19088 }
19089 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 long arg1 ;
19092 wxTimeSpan result;
19093 char *kwnames[] = {
19094 (char *) "sec", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19098 {
19099 PyThreadState* __tstate = wxPyBeginAllowThreads();
19100 result = wxTimeSpan::Seconds(arg1);
19101
19102 wxPyEndAllowThreads(__tstate);
19103 if (PyErr_Occurred()) SWIG_fail;
19104 }
19105 {
19106 wxTimeSpan * resultptr;
19107 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19109 }
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxTimeSpan result;
19119 char *kwnames[] = {
19120 NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 result = wxTimeSpan::Second();
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 {
19132 wxTimeSpan * resultptr;
19133 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19135 }
19136 return resultobj;
19137 fail:
19138 return NULL;
19139 }
19140
19141
19142 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj;
19144 long arg1 ;
19145 wxTimeSpan result;
19146 char *kwnames[] = {
19147 (char *) "min", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = wxTimeSpan::Minutes(arg1);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 {
19159 wxTimeSpan * resultptr;
19160 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19161 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19162 }
19163 return resultobj;
19164 fail:
19165 return NULL;
19166 }
19167
19168
19169 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxTimeSpan result;
19172 char *kwnames[] = {
19173 NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 result = wxTimeSpan::Minute();
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 {
19185 wxTimeSpan * resultptr;
19186 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19187 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19188 }
19189 return resultobj;
19190 fail:
19191 return NULL;
19192 }
19193
19194
19195 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19196 PyObject *resultobj;
19197 long arg1 ;
19198 wxTimeSpan result;
19199 char *kwnames[] = {
19200 (char *) "hours", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19204 {
19205 PyThreadState* __tstate = wxPyBeginAllowThreads();
19206 result = wxTimeSpan::Hours(arg1);
19207
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 {
19212 wxTimeSpan * resultptr;
19213 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19214 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19215 }
19216 return resultobj;
19217 fail:
19218 return NULL;
19219 }
19220
19221
19222 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj;
19224 wxTimeSpan result;
19225 char *kwnames[] = {
19226 NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 result = wxTimeSpan::Hour();
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 {
19238 wxTimeSpan * resultptr;
19239 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19241 }
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 long arg1 ;
19251 wxTimeSpan result;
19252 char *kwnames[] = {
19253 (char *) "days", NULL
19254 };
19255
19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = wxTimeSpan::Days(arg1);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 {
19265 wxTimeSpan * resultptr;
19266 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19268 }
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxTimeSpan result;
19278 char *kwnames[] = {
19279 NULL
19280 };
19281
19282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 result = wxTimeSpan::Day();
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 {
19291 wxTimeSpan * resultptr;
19292 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19293 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19294 }
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 long arg1 ;
19304 wxTimeSpan result;
19305 char *kwnames[] = {
19306 (char *) "days", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19310 {
19311 PyThreadState* __tstate = wxPyBeginAllowThreads();
19312 result = wxTimeSpan::Weeks(arg1);
19313
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 {
19318 wxTimeSpan * resultptr;
19319 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19320 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19321 }
19322 return resultobj;
19323 fail:
19324 return NULL;
19325 }
19326
19327
19328 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19329 PyObject *resultobj;
19330 wxTimeSpan result;
19331 char *kwnames[] = {
19332 NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 result = wxTimeSpan::Week();
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 {
19344 wxTimeSpan * resultptr;
19345 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19346 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19347 }
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 long arg1 = (long) 0 ;
19357 long arg2 = (long) 0 ;
19358 long arg3 = (long) 0 ;
19359 long arg4 = (long) 0 ;
19360 wxTimeSpan *result;
19361 char *kwnames[] = {
19362 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19363 };
19364
19365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19374 return resultobj;
19375 fail:
19376 return NULL;
19377 }
19378
19379
19380 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19381 PyObject *resultobj;
19382 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19383 PyObject * obj0 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 delete arg1;
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 Py_INCREF(Py_None); resultobj = Py_None;
19398 return resultobj;
19399 fail:
19400 return NULL;
19401 }
19402
19403
19404 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19405 PyObject *resultobj;
19406 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19407 wxTimeSpan *arg2 = 0 ;
19408 wxTimeSpan *result;
19409 PyObject * obj0 = 0 ;
19410 PyObject * obj1 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self",(char *) "diff", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19418 if (arg2 == NULL) {
19419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19420 }
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 {
19424 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19425 result = (wxTimeSpan *) &_result_ref;
19426 }
19427
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19432 return resultobj;
19433 fail:
19434 return NULL;
19435 }
19436
19437
19438 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj;
19440 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19441 wxTimeSpan *arg2 = 0 ;
19442 wxTimeSpan *result;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 char *kwnames[] = {
19446 (char *) "self",(char *) "diff", NULL
19447 };
19448
19449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19452 if (arg2 == NULL) {
19453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19454 }
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 {
19458 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19459 result = (wxTimeSpan *) &_result_ref;
19460 }
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19466 return resultobj;
19467 fail:
19468 return NULL;
19469 }
19470
19471
19472 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19473 PyObject *resultobj;
19474 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19475 int arg2 ;
19476 wxTimeSpan *result;
19477 PyObject * obj0 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self",(char *) "n", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 {
19487 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19488 result = (wxTimeSpan *) &_result_ref;
19489 }
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19504 wxTimeSpan *result;
19505 PyObject * obj0 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 {
19515 wxTimeSpan &_result_ref = (arg1)->Neg();
19516 result = (wxTimeSpan *) &_result_ref;
19517 }
19518
19519 wxPyEndAllowThreads(__tstate);
19520 if (PyErr_Occurred()) SWIG_fail;
19521 }
19522 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19523 return resultobj;
19524 fail:
19525 return NULL;
19526 }
19527
19528
19529 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19530 PyObject *resultobj;
19531 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19532 wxTimeSpan result;
19533 PyObject * obj0 = 0 ;
19534 char *kwnames[] = {
19535 (char *) "self", NULL
19536 };
19537
19538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 result = ((wxTimeSpan const *)arg1)->Abs();
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 {
19548 wxTimeSpan * resultptr;
19549 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19551 }
19552 return resultobj;
19553 fail:
19554 return NULL;
19555 }
19556
19557
19558 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19559 PyObject *resultobj;
19560 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19561 wxTimeSpan *arg2 = 0 ;
19562 wxTimeSpan *result;
19563 PyObject * obj0 = 0 ;
19564 PyObject * obj1 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "diff", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19572 if (arg2 == NULL) {
19573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19574 }
19575 {
19576 PyThreadState* __tstate = wxPyBeginAllowThreads();
19577 {
19578 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19579 result = (wxTimeSpan *) &_result_ref;
19580 }
19581
19582 wxPyEndAllowThreads(__tstate);
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19586 return resultobj;
19587 fail:
19588 return NULL;
19589 }
19590
19591
19592 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj;
19594 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19595 wxTimeSpan *arg2 = 0 ;
19596 wxTimeSpan *result;
19597 PyObject * obj0 = 0 ;
19598 PyObject * obj1 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "diff", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19606 if (arg2 == NULL) {
19607 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19608 }
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 {
19612 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19613 result = (wxTimeSpan *) &_result_ref;
19614 }
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19620 return resultobj;
19621 fail:
19622 return NULL;
19623 }
19624
19625
19626 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj;
19628 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19629 int arg2 ;
19630 wxTimeSpan *result;
19631 PyObject * obj0 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self",(char *) "n", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19638 {
19639 PyThreadState* __tstate = wxPyBeginAllowThreads();
19640 {
19641 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19642 result = (wxTimeSpan *) &_result_ref;
19643 }
19644
19645 wxPyEndAllowThreads(__tstate);
19646 if (PyErr_Occurred()) SWIG_fail;
19647 }
19648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19649 return resultobj;
19650 fail:
19651 return NULL;
19652 }
19653
19654
19655 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19656 PyObject *resultobj;
19657 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19658 wxTimeSpan *result;
19659 PyObject * obj0 = 0 ;
19660 char *kwnames[] = {
19661 (char *) "self", NULL
19662 };
19663
19664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 {
19669 wxTimeSpan &_result_ref = (arg1)->operator -();
19670 result = (wxTimeSpan *) &_result_ref;
19671 }
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19677 return resultobj;
19678 fail:
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19686 wxTimeSpan *arg2 = 0 ;
19687 wxTimeSpan result;
19688 PyObject * obj0 = 0 ;
19689 PyObject * obj1 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self",(char *) "other", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19696 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19697 if (arg2 == NULL) {
19698 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19699 }
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 {
19708 wxTimeSpan * resultptr;
19709 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19710 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19711 }
19712 return resultobj;
19713 fail:
19714 return NULL;
19715 }
19716
19717
19718 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19719 PyObject *resultobj;
19720 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19721 wxTimeSpan *arg2 = 0 ;
19722 wxTimeSpan result;
19723 PyObject * obj0 = 0 ;
19724 PyObject * obj1 = 0 ;
19725 char *kwnames[] = {
19726 (char *) "self",(char *) "other", NULL
19727 };
19728
19729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19732 if (arg2 == NULL) {
19733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19734 }
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 {
19743 wxTimeSpan * resultptr;
19744 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19745 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19746 }
19747 return resultobj;
19748 fail:
19749 return NULL;
19750 }
19751
19752
19753 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19754 PyObject *resultobj;
19755 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19756 int arg2 ;
19757 wxTimeSpan result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self",(char *) "n", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 result = wxTimeSpan___mul__(arg1,arg2);
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
19772 {
19773 wxTimeSpan * resultptr;
19774 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19776 }
19777 return resultobj;
19778 fail:
19779 return NULL;
19780 }
19781
19782
19783 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19784 PyObject *resultobj;
19785 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19786 int arg2 ;
19787 wxTimeSpan result;
19788 PyObject * obj0 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self",(char *) "n", NULL
19791 };
19792
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 result = wxTimeSpan___rmul__(arg1,arg2);
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 {
19803 wxTimeSpan * resultptr;
19804 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19805 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19806 }
19807 return resultobj;
19808 fail:
19809 return NULL;
19810 }
19811
19812
19813 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19814 PyObject *resultobj;
19815 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19816 wxTimeSpan *arg2 = 0 ;
19817 bool result;
19818 PyObject * obj0 = 0 ;
19819 PyObject * obj1 = 0 ;
19820 char *kwnames[] = {
19821 (char *) "self",(char *) "other", NULL
19822 };
19823
19824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19826 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19827 if (arg2 == NULL) {
19828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19829 }
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 resultobj = PyInt_FromLong((long)result);
19838 return resultobj;
19839 fail:
19840 return NULL;
19841 }
19842
19843
19844 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj;
19846 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19847 wxTimeSpan *arg2 = 0 ;
19848 bool result;
19849 PyObject * obj0 = 0 ;
19850 PyObject * obj1 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self",(char *) "other", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19858 if (arg2 == NULL) {
19859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19860 }
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 resultobj = PyInt_FromLong((long)result);
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19878 wxTimeSpan *arg2 = 0 ;
19879 bool result;
19880 PyObject * obj0 = 0 ;
19881 PyObject * obj1 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self",(char *) "other", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19889 if (arg2 == NULL) {
19890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19891 }
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 resultobj = PyInt_FromLong((long)result);
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj;
19908 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19909 wxTimeSpan *arg2 = 0 ;
19910 bool result;
19911 PyObject * obj0 = 0 ;
19912 PyObject * obj1 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self",(char *) "other", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
19918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19920 if (arg2 == NULL) {
19921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19922 }
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 resultobj = PyInt_FromLong((long)result);
19931 return resultobj;
19932 fail:
19933 return NULL;
19934 }
19935
19936
19937 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19940 wxTimeSpan *arg2 = 0 ;
19941 bool result;
19942 PyObject * obj0 = 0 ;
19943 PyObject * obj1 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self",(char *) "other", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
19949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19951 if (arg2 == NULL) {
19952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19953 }
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 resultobj = PyInt_FromLong((long)result);
19962 return resultobj;
19963 fail:
19964 return NULL;
19965 }
19966
19967
19968 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19971 wxTimeSpan *arg2 = 0 ;
19972 bool result;
19973 PyObject * obj0 = 0 ;
19974 PyObject * obj1 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self",(char *) "other", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
19980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19982 if (arg2 == NULL) {
19983 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19984 }
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 resultobj = PyInt_FromLong((long)result);
19993 return resultobj;
19994 fail:
19995 return NULL;
19996 }
19997
19998
19999 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20002 bool result;
20003 PyObject * obj0 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
20009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 resultobj = PyInt_FromLong((long)result);
20018 return resultobj;
20019 fail:
20020 return NULL;
20021 }
20022
20023
20024 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20025 PyObject *resultobj;
20026 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20027 bool result;
20028 PyObject * obj0 = 0 ;
20029 char *kwnames[] = {
20030 (char *) "self", NULL
20031 };
20032
20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20038
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 resultobj = PyInt_FromLong((long)result);
20043 return resultobj;
20044 fail:
20045 return NULL;
20046 }
20047
20048
20049 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj;
20051 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20052 bool result;
20053 PyObject * obj0 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 resultobj = PyInt_FromLong((long)result);
20068 return resultobj;
20069 fail:
20070 return NULL;
20071 }
20072
20073
20074 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20075 PyObject *resultobj;
20076 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20077 wxTimeSpan *arg2 = 0 ;
20078 bool result;
20079 PyObject * obj0 = 0 ;
20080 PyObject * obj1 = 0 ;
20081 char *kwnames[] = {
20082 (char *) "self",(char *) "ts", NULL
20083 };
20084
20085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20088 if (arg2 == NULL) {
20089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20090 }
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 resultobj = PyInt_FromLong((long)result);
20099 return resultobj;
20100 fail:
20101 return NULL;
20102 }
20103
20104
20105 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj;
20107 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20108 wxTimeSpan *arg2 = 0 ;
20109 bool result;
20110 PyObject * obj0 = 0 ;
20111 PyObject * obj1 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self",(char *) "ts", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20119 if (arg2 == NULL) {
20120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20121 }
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20125
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 resultobj = PyInt_FromLong((long)result);
20130 return resultobj;
20131 fail:
20132 return NULL;
20133 }
20134
20135
20136 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20137 PyObject *resultobj;
20138 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20139 wxTimeSpan *arg2 = 0 ;
20140 bool result;
20141 PyObject * obj0 = 0 ;
20142 PyObject * obj1 = 0 ;
20143 char *kwnames[] = {
20144 (char *) "self",(char *) "t", NULL
20145 };
20146
20147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20150 if (arg2 == NULL) {
20151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20152 }
20153 {
20154 PyThreadState* __tstate = wxPyBeginAllowThreads();
20155 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20156
20157 wxPyEndAllowThreads(__tstate);
20158 if (PyErr_Occurred()) SWIG_fail;
20159 }
20160 resultobj = PyInt_FromLong((long)result);
20161 return resultobj;
20162 fail:
20163 return NULL;
20164 }
20165
20166
20167 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20168 PyObject *resultobj;
20169 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20170 int result;
20171 PyObject * obj0 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 resultobj = PyInt_FromLong((long)result);
20186 return resultobj;
20187 fail:
20188 return NULL;
20189 }
20190
20191
20192 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20193 PyObject *resultobj;
20194 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20195 int result;
20196 PyObject * obj0 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 resultobj = PyInt_FromLong((long)result);
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20220 int result;
20221 PyObject * obj0 = 0 ;
20222 char *kwnames[] = {
20223 (char *) "self", NULL
20224 };
20225
20226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20228 {
20229 PyThreadState* __tstate = wxPyBeginAllowThreads();
20230 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20231
20232 wxPyEndAllowThreads(__tstate);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 }
20235 resultobj = PyInt_FromLong((long)result);
20236 return resultobj;
20237 fail:
20238 return NULL;
20239 }
20240
20241
20242 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20243 PyObject *resultobj;
20244 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20245 int result;
20246 PyObject * obj0 = 0 ;
20247 char *kwnames[] = {
20248 (char *) "self", NULL
20249 };
20250
20251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = PyInt_FromLong((long)result);
20261 return resultobj;
20262 fail:
20263 return NULL;
20264 }
20265
20266
20267 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20268 PyObject *resultobj;
20269 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20270 wxLongLong result;
20271 PyObject * obj0 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
20280 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 {
20286 PyObject *hi, *lo, *shifter, *shifted;
20287 hi = PyLong_FromLong( (&result)->GetHi() );
20288 lo = PyLong_FromLong( (&result)->GetLo() );
20289 shifter = PyLong_FromLong(32);
20290 shifted = PyNumber_Lshift(hi, shifter);
20291 resultobj = PyNumber_Or(shifted, lo);
20292 Py_DECREF(hi);
20293 Py_DECREF(lo);
20294 Py_DECREF(shifter);
20295 Py_DECREF(shifted);
20296 }
20297 return resultobj;
20298 fail:
20299 return NULL;
20300 }
20301
20302
20303 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20306 wxLongLong result;
20307 PyObject * obj0 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 {
20322 PyObject *hi, *lo, *shifter, *shifted;
20323 hi = PyLong_FromLong( (&result)->GetHi() );
20324 lo = PyLong_FromLong( (&result)->GetLo() );
20325 shifter = PyLong_FromLong(32);
20326 shifted = PyNumber_Lshift(hi, shifter);
20327 resultobj = PyNumber_Or(shifted, lo);
20328 Py_DECREF(hi);
20329 Py_DECREF(lo);
20330 Py_DECREF(shifter);
20331 Py_DECREF(shifted);
20332 }
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj;
20341 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20342 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20343 wxString *arg2 = (wxString *) &arg2_defvalue ;
20344 wxString result;
20345 bool temp2 = False ;
20346 PyObject * obj0 = 0 ;
20347 PyObject * obj1 = 0 ;
20348 char *kwnames[] = {
20349 (char *) "self",(char *) "format", NULL
20350 };
20351
20352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20354 if (obj1) {
20355 {
20356 arg2 = wxString_in_helper(obj1);
20357 if (arg2 == NULL) SWIG_fail;
20358 temp2 = True;
20359 }
20360 }
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 {
20369 #if wxUSE_UNICODE
20370 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20371 #else
20372 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20373 #endif
20374 }
20375 {
20376 if (temp2)
20377 delete arg2;
20378 }
20379 return resultobj;
20380 fail:
20381 {
20382 if (temp2)
20383 delete arg2;
20384 }
20385 return NULL;
20386 }
20387
20388
20389 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20390 PyObject *obj;
20391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20392 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20393 Py_INCREF(obj);
20394 return Py_BuildValue((char *)"");
20395 }
20396 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20397 PyObject *resultobj;
20398 int arg1 = (int) 0 ;
20399 int arg2 = (int) 0 ;
20400 int arg3 = (int) 0 ;
20401 int arg4 = (int) 0 ;
20402 wxDateSpan *result;
20403 char *kwnames[] = {
20404 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20408 {
20409 PyThreadState* __tstate = wxPyBeginAllowThreads();
20410 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20411
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
20415 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20416 return resultobj;
20417 fail:
20418 return NULL;
20419 }
20420
20421
20422 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20423 PyObject *resultobj;
20424 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20425 PyObject * obj0 = 0 ;
20426 char *kwnames[] = {
20427 (char *) "self", NULL
20428 };
20429
20430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 delete arg1;
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 Py_INCREF(Py_None); resultobj = Py_None;
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 int arg1 ;
20449 wxDateSpan result;
20450 char *kwnames[] = {
20451 (char *) "days", NULL
20452 };
20453
20454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 result = wxDateSpan::Days(arg1);
20458
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 {
20463 wxDateSpan * resultptr;
20464 resultptr = new wxDateSpan((wxDateSpan &) result);
20465 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20466 }
20467 return resultobj;
20468 fail:
20469 return NULL;
20470 }
20471
20472
20473 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20474 PyObject *resultobj;
20475 wxDateSpan result;
20476 char *kwnames[] = {
20477 NULL
20478 };
20479
20480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 result = wxDateSpan::Day();
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
20488 {
20489 wxDateSpan * resultptr;
20490 resultptr = new wxDateSpan((wxDateSpan &) result);
20491 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20492 }
20493 return resultobj;
20494 fail:
20495 return NULL;
20496 }
20497
20498
20499 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20500 PyObject *resultobj;
20501 int arg1 ;
20502 wxDateSpan result;
20503 char *kwnames[] = {
20504 (char *) "weeks", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
20510 result = wxDateSpan::Weeks(arg1);
20511
20512 wxPyEndAllowThreads(__tstate);
20513 if (PyErr_Occurred()) SWIG_fail;
20514 }
20515 {
20516 wxDateSpan * resultptr;
20517 resultptr = new wxDateSpan((wxDateSpan &) result);
20518 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20519 }
20520 return resultobj;
20521 fail:
20522 return NULL;
20523 }
20524
20525
20526 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj;
20528 wxDateSpan result;
20529 char *kwnames[] = {
20530 NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 result = wxDateSpan::Week();
20537
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 {
20542 wxDateSpan * resultptr;
20543 resultptr = new wxDateSpan((wxDateSpan &) result);
20544 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20545 }
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 int arg1 ;
20555 wxDateSpan result;
20556 char *kwnames[] = {
20557 (char *) "mon", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = wxDateSpan::Months(arg1);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 {
20569 wxDateSpan * resultptr;
20570 resultptr = new wxDateSpan((wxDateSpan &) result);
20571 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20572 }
20573 return resultobj;
20574 fail:
20575 return NULL;
20576 }
20577
20578
20579 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj;
20581 wxDateSpan result;
20582 char *kwnames[] = {
20583 NULL
20584 };
20585
20586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 result = wxDateSpan::Month();
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 {
20595 wxDateSpan * resultptr;
20596 resultptr = new wxDateSpan((wxDateSpan &) result);
20597 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20598 }
20599 return resultobj;
20600 fail:
20601 return NULL;
20602 }
20603
20604
20605 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj;
20607 int arg1 ;
20608 wxDateSpan result;
20609 char *kwnames[] = {
20610 (char *) "years", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 result = wxDateSpan::Years(arg1);
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 {
20622 wxDateSpan * resultptr;
20623 resultptr = new wxDateSpan((wxDateSpan &) result);
20624 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20625 }
20626 return resultobj;
20627 fail:
20628 return NULL;
20629 }
20630
20631
20632 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 wxDateSpan result;
20635 char *kwnames[] = {
20636 NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = wxDateSpan::Year();
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 {
20648 wxDateSpan * resultptr;
20649 resultptr = new wxDateSpan((wxDateSpan &) result);
20650 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20651 }
20652 return resultobj;
20653 fail:
20654 return NULL;
20655 }
20656
20657
20658 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20659 PyObject *resultobj;
20660 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20661 int arg2 ;
20662 wxDateSpan *result;
20663 PyObject * obj0 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self",(char *) "n", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 {
20673 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20674 result = (wxDateSpan *) &_result_ref;
20675 }
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20690 int arg2 ;
20691 wxDateSpan *result;
20692 PyObject * obj0 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self",(char *) "n", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 {
20702 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20703 result = (wxDateSpan *) &_result_ref;
20704 }
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20710 return resultobj;
20711 fail:
20712 return NULL;
20713 }
20714
20715
20716 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj;
20718 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20719 int arg2 ;
20720 wxDateSpan *result;
20721 PyObject * obj0 = 0 ;
20722 char *kwnames[] = {
20723 (char *) "self",(char *) "n", NULL
20724 };
20725
20726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 {
20731 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20732 result = (wxDateSpan *) &_result_ref;
20733 }
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20739 return resultobj;
20740 fail:
20741 return NULL;
20742 }
20743
20744
20745 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj;
20747 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20748 int arg2 ;
20749 wxDateSpan *result;
20750 PyObject * obj0 = 0 ;
20751 char *kwnames[] = {
20752 (char *) "self",(char *) "n", NULL
20753 };
20754
20755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 {
20760 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20761 result = (wxDateSpan *) &_result_ref;
20762 }
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20768 return resultobj;
20769 fail:
20770 return NULL;
20771 }
20772
20773
20774 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20775 PyObject *resultobj;
20776 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20777 int result;
20778 PyObject * obj0 = 0 ;
20779 char *kwnames[] = {
20780 (char *) "self", NULL
20781 };
20782
20783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 result = (int)((wxDateSpan const *)arg1)->GetYears();
20788
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 resultobj = PyInt_FromLong((long)result);
20793 return resultobj;
20794 fail:
20795 return NULL;
20796 }
20797
20798
20799 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20800 PyObject *resultobj;
20801 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20802 int result;
20803 PyObject * obj0 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 resultobj = PyInt_FromLong((long)result);
20818 return resultobj;
20819 fail:
20820 return NULL;
20821 }
20822
20823
20824 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20825 PyObject *resultobj;
20826 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20827 int result;
20828 PyObject * obj0 = 0 ;
20829 char *kwnames[] = {
20830 (char *) "self", NULL
20831 };
20832
20833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 resultobj = PyInt_FromLong((long)result);
20843 return resultobj;
20844 fail:
20845 return NULL;
20846 }
20847
20848
20849 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj;
20851 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20852 int result;
20853 PyObject * obj0 = 0 ;
20854 char *kwnames[] = {
20855 (char *) "self", NULL
20856 };
20857
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20860 {
20861 PyThreadState* __tstate = wxPyBeginAllowThreads();
20862 result = (int)((wxDateSpan const *)arg1)->GetDays();
20863
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 resultobj = PyInt_FromLong((long)result);
20868 return resultobj;
20869 fail:
20870 return NULL;
20871 }
20872
20873
20874 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj;
20876 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20877 int result;
20878 PyObject * obj0 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = PyInt_FromLong((long)result);
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20902 wxDateSpan *arg2 = 0 ;
20903 wxDateSpan *result;
20904 PyObject * obj0 = 0 ;
20905 PyObject * obj1 = 0 ;
20906 char *kwnames[] = {
20907 (char *) "self",(char *) "other", NULL
20908 };
20909
20910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20912 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20913 if (arg2 == NULL) {
20914 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20915 }
20916 {
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 {
20919 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20920 result = (wxDateSpan *) &_result_ref;
20921 }
20922
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20927 return resultobj;
20928 fail:
20929 return NULL;
20930 }
20931
20932
20933 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20934 PyObject *resultobj;
20935 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20936 wxDateSpan *arg2 = 0 ;
20937 wxDateSpan *result;
20938 PyObject * obj0 = 0 ;
20939 PyObject * obj1 = 0 ;
20940 char *kwnames[] = {
20941 (char *) "self",(char *) "other", NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
20945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20947 if (arg2 == NULL) {
20948 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20949 }
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 {
20953 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20954 result = (wxDateSpan *) &_result_ref;
20955 }
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
20968 PyObject *resultobj;
20969 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20970 wxDateSpan *result;
20971 PyObject * obj0 = 0 ;
20972 char *kwnames[] = {
20973 (char *) "self", NULL
20974 };
20975
20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
20977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 {
20981 wxDateSpan &_result_ref = (arg1)->Neg();
20982 result = (wxDateSpan *) &_result_ref;
20983 }
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj;
20997 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20998 int arg2 ;
20999 wxDateSpan *result;
21000 PyObject * obj0 = 0 ;
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "factor", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
21006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21007 {
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 {
21010 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21011 result = (wxDateSpan *) &_result_ref;
21012 }
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21018 return resultobj;
21019 fail:
21020 return NULL;
21021 }
21022
21023
21024 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj;
21026 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21027 wxDateSpan *arg2 = 0 ;
21028 wxDateSpan *result;
21029 PyObject * obj0 = 0 ;
21030 PyObject * obj1 = 0 ;
21031 char *kwnames[] = {
21032 (char *) "self",(char *) "other", NULL
21033 };
21034
21035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21038 if (arg2 == NULL) {
21039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21040 }
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 {
21044 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21045 result = (wxDateSpan *) &_result_ref;
21046 }
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21052 return resultobj;
21053 fail:
21054 return NULL;
21055 }
21056
21057
21058 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21059 PyObject *resultobj;
21060 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21061 wxDateSpan *arg2 = 0 ;
21062 wxDateSpan *result;
21063 PyObject * obj0 = 0 ;
21064 PyObject * obj1 = 0 ;
21065 char *kwnames[] = {
21066 (char *) "self",(char *) "other", NULL
21067 };
21068
21069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21072 if (arg2 == NULL) {
21073 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21074 }
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 {
21078 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21079 result = (wxDateSpan *) &_result_ref;
21080 }
21081
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21086 return resultobj;
21087 fail:
21088 return NULL;
21089 }
21090
21091
21092 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21093 PyObject *resultobj;
21094 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21095 wxDateSpan *result;
21096 PyObject * obj0 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21103 {
21104 PyThreadState* __tstate = wxPyBeginAllowThreads();
21105 {
21106 wxDateSpan &_result_ref = (arg1)->operator -();
21107 result = (wxDateSpan *) &_result_ref;
21108 }
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21121 PyObject *resultobj;
21122 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21123 int arg2 ;
21124 wxDateSpan *result;
21125 PyObject * obj0 = 0 ;
21126 char *kwnames[] = {
21127 (char *) "self",(char *) "factor", NULL
21128 };
21129
21130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 {
21135 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21136 result = (wxDateSpan *) &_result_ref;
21137 }
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21143 return resultobj;
21144 fail:
21145 return NULL;
21146 }
21147
21148
21149 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21152 wxDateSpan *arg2 = 0 ;
21153 wxDateSpan result;
21154 PyObject * obj0 = 0 ;
21155 PyObject * obj1 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self",(char *) "other", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21163 if (arg2 == NULL) {
21164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21165 }
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21169
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 {
21174 wxDateSpan * resultptr;
21175 resultptr = new wxDateSpan((wxDateSpan &) result);
21176 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21177 }
21178 return resultobj;
21179 fail:
21180 return NULL;
21181 }
21182
21183
21184 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21185 PyObject *resultobj;
21186 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21187 wxDateSpan *arg2 = 0 ;
21188 wxDateSpan result;
21189 PyObject * obj0 = 0 ;
21190 PyObject * obj1 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self",(char *) "other", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21198 if (arg2 == NULL) {
21199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21200 }
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 {
21209 wxDateSpan * resultptr;
21210 resultptr = new wxDateSpan((wxDateSpan &) result);
21211 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21212 }
21213 return resultobj;
21214 fail:
21215 return NULL;
21216 }
21217
21218
21219 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj;
21221 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21222 int arg2 ;
21223 wxDateSpan result;
21224 PyObject * obj0 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "self",(char *) "n", NULL
21227 };
21228
21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21231 {
21232 PyThreadState* __tstate = wxPyBeginAllowThreads();
21233 result = wxDateSpan___mul__(arg1,arg2);
21234
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 {
21239 wxDateSpan * resultptr;
21240 resultptr = new wxDateSpan((wxDateSpan &) result);
21241 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21242 }
21243 return resultobj;
21244 fail:
21245 return NULL;
21246 }
21247
21248
21249 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21250 PyObject *resultobj;
21251 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21252 int arg2 ;
21253 wxDateSpan result;
21254 PyObject * obj0 = 0 ;
21255 char *kwnames[] = {
21256 (char *) "self",(char *) "n", NULL
21257 };
21258
21259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21261 {
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = wxDateSpan___rmul__(arg1,arg2);
21264
21265 wxPyEndAllowThreads(__tstate);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
21268 {
21269 wxDateSpan * resultptr;
21270 resultptr = new wxDateSpan((wxDateSpan &) result);
21271 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21272 }
21273 return resultobj;
21274 fail:
21275 return NULL;
21276 }
21277
21278
21279 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21282 wxDateSpan *arg2 = 0 ;
21283 bool result;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 char *kwnames[] = {
21287 (char *) "self",(char *) "other", NULL
21288 };
21289
21290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 if (arg2 == NULL) {
21294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21295 }
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 resultobj = PyInt_FromLong((long)result);
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21313 wxDateSpan *arg2 = 0 ;
21314 bool result;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self",(char *) "other", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21324 if (arg2 == NULL) {
21325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21326 }
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21330
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 resultobj = PyInt_FromLong((long)result);
21335 return resultobj;
21336 fail:
21337 return NULL;
21338 }
21339
21340
21341 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21342 PyObject *obj;
21343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21344 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21345 Py_INCREF(obj);
21346 return Py_BuildValue((char *)"");
21347 }
21348 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj;
21350 long result;
21351 char *kwnames[] = {
21352 NULL
21353 };
21354
21355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21356 {
21357 PyThreadState* __tstate = wxPyBeginAllowThreads();
21358 result = (long)wxGetLocalTime();
21359
21360 wxPyEndAllowThreads(__tstate);
21361 if (PyErr_Occurred()) SWIG_fail;
21362 }
21363 resultobj = PyInt_FromLong((long)result);
21364 return resultobj;
21365 fail:
21366 return NULL;
21367 }
21368
21369
21370 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21371 PyObject *resultobj;
21372 long result;
21373 char *kwnames[] = {
21374 NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 result = (long)wxGetUTCTime();
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
21385 resultobj = PyInt_FromLong((long)result);
21386 return resultobj;
21387 fail:
21388 return NULL;
21389 }
21390
21391
21392 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21393 PyObject *resultobj;
21394 long result;
21395 char *kwnames[] = {
21396 NULL
21397 };
21398
21399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 result = (long)wxGetCurrentTime();
21403
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 resultobj = PyInt_FromLong((long)result);
21408 return resultobj;
21409 fail:
21410 return NULL;
21411 }
21412
21413
21414 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21415 PyObject *resultobj;
21416 wxLongLong result;
21417 char *kwnames[] = {
21418 NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 result = wxGetLocalTimeMillis();
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 {
21430 PyObject *hi, *lo, *shifter, *shifted;
21431 hi = PyLong_FromLong( (&result)->GetHi() );
21432 lo = PyLong_FromLong( (&result)->GetLo() );
21433 shifter = PyLong_FromLong(32);
21434 shifted = PyNumber_Lshift(hi, shifter);
21435 resultobj = PyNumber_Or(shifted, lo);
21436 Py_DECREF(hi);
21437 Py_DECREF(lo);
21438 Py_DECREF(shifter);
21439 Py_DECREF(shifted);
21440 }
21441 return resultobj;
21442 fail:
21443 return NULL;
21444 }
21445
21446
21447 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21448 PyObject *resultobj;
21449 int arg1 ;
21450 wxDataFormat *result;
21451 char *kwnames[] = {
21452 (char *) "type", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxString *arg1 = 0 ;
21473 wxDataFormat *result;
21474 bool temp1 = False ;
21475 PyObject * obj0 = 0 ;
21476 char *kwnames[] = {
21477 (char *) "format", NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21481 {
21482 arg1 = wxString_in_helper(obj0);
21483 if (arg1 == NULL) SWIG_fail;
21484 temp1 = True;
21485 }
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21494 {
21495 if (temp1)
21496 delete arg1;
21497 }
21498 return resultobj;
21499 fail:
21500 {
21501 if (temp1)
21502 delete arg1;
21503 }
21504 return NULL;
21505 }
21506
21507
21508 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21509 PyObject *resultobj;
21510 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21511 PyObject * obj0 = 0 ;
21512 char *kwnames[] = {
21513 (char *) "self", NULL
21514 };
21515
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 delete arg1;
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 Py_INCREF(Py_None); resultobj = Py_None;
21526 return resultobj;
21527 fail:
21528 return NULL;
21529 }
21530
21531
21532 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21533 PyObject *resultobj;
21534 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21535 int arg2 ;
21536 bool result;
21537 PyObject * obj0 = 0 ;
21538
21539 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 resultobj = PyInt_FromLong((long)result);
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21556 PyObject *resultobj;
21557 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21558 int arg2 ;
21559 bool result;
21560 PyObject * obj0 = 0 ;
21561
21562 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 resultobj = PyInt_FromLong((long)result);
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21579 PyObject *resultobj;
21580 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21581 wxDataFormat *arg2 = 0 ;
21582 bool result;
21583 PyObject * obj0 = 0 ;
21584 PyObject * obj1 = 0 ;
21585
21586 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 if (arg2 == NULL) {
21590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21591 }
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21595
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 resultobj = PyInt_FromLong((long)result);
21600 return resultobj;
21601 fail:
21602 return NULL;
21603 }
21604
21605
21606 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21607 int argc;
21608 PyObject *argv[3];
21609 int ii;
21610
21611 argc = PyObject_Length(args);
21612 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21613 argv[ii] = PyTuple_GetItem(args,ii);
21614 }
21615 if (argc == 2) {
21616 int _v;
21617 {
21618 void *ptr;
21619 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21620 _v = 0;
21621 PyErr_Clear();
21622 } else {
21623 _v = 1;
21624 }
21625 }
21626 if (_v) {
21627 {
21628 void *ptr;
21629 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21630 _v = 0;
21631 PyErr_Clear();
21632 } else {
21633 _v = 1;
21634 }
21635 }
21636 if (_v) {
21637 return _wrap_DataFormat___eq____SWIG_1(self,args);
21638 }
21639 }
21640 }
21641 if (argc == 2) {
21642 int _v;
21643 {
21644 void *ptr;
21645 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21646 _v = 0;
21647 PyErr_Clear();
21648 } else {
21649 _v = 1;
21650 }
21651 }
21652 if (_v) {
21653 {
21654 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21655 }
21656 if (_v) {
21657 return _wrap_DataFormat___eq____SWIG_0(self,args);
21658 }
21659 }
21660 }
21661
21662 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21663 return NULL;
21664 }
21665
21666
21667 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21668 PyObject *resultobj;
21669 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21670 wxDataFormat *arg2 = 0 ;
21671 bool result;
21672 PyObject * obj0 = 0 ;
21673 PyObject * obj1 = 0 ;
21674
21675 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21678 if (arg2 == NULL) {
21679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21680 }
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 resultobj = PyInt_FromLong((long)result);
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21696 int argc;
21697 PyObject *argv[3];
21698 int ii;
21699
21700 argc = PyObject_Length(args);
21701 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21702 argv[ii] = PyTuple_GetItem(args,ii);
21703 }
21704 if (argc == 2) {
21705 int _v;
21706 {
21707 void *ptr;
21708 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21709 _v = 0;
21710 PyErr_Clear();
21711 } else {
21712 _v = 1;
21713 }
21714 }
21715 if (_v) {
21716 {
21717 void *ptr;
21718 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21719 _v = 0;
21720 PyErr_Clear();
21721 } else {
21722 _v = 1;
21723 }
21724 }
21725 if (_v) {
21726 return _wrap_DataFormat___ne____SWIG_1(self,args);
21727 }
21728 }
21729 }
21730 if (argc == 2) {
21731 int _v;
21732 {
21733 void *ptr;
21734 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21735 _v = 0;
21736 PyErr_Clear();
21737 } else {
21738 _v = 1;
21739 }
21740 }
21741 if (_v) {
21742 {
21743 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21744 }
21745 if (_v) {
21746 return _wrap_DataFormat___ne____SWIG_0(self,args);
21747 }
21748 }
21749 }
21750
21751 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21752 return NULL;
21753 }
21754
21755
21756 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21757 PyObject *resultobj;
21758 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21759 int arg2 ;
21760 PyObject * obj0 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self",(char *) "format", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 (arg1)->SetType((wxDataFormatId )arg2);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 Py_INCREF(Py_None); resultobj = Py_None;
21775 return resultobj;
21776 fail:
21777 return NULL;
21778 }
21779
21780
21781 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 wxDataFormat *arg1 = (wxDataFormat *) 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:DataFormat_GetType",kwnames,&obj0)) goto fail;
21791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 result = (int)((wxDataFormat const *)arg1)->GetType();
21795
21796 wxPyEndAllowThreads(__tstate);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 }
21799 resultobj = PyInt_FromLong((long)result);
21800 return resultobj;
21801 fail:
21802 return NULL;
21803 }
21804
21805
21806 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21807 PyObject *resultobj;
21808 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21809 wxString result;
21810 PyObject * obj0 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21817 {
21818 PyThreadState* __tstate = wxPyBeginAllowThreads();
21819 result = ((wxDataFormat const *)arg1)->GetId();
21820
21821 wxPyEndAllowThreads(__tstate);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 {
21825 #if wxUSE_UNICODE
21826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21827 #else
21828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21829 #endif
21830 }
21831 return resultobj;
21832 fail:
21833 return NULL;
21834 }
21835
21836
21837 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj;
21839 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21840 wxString *arg2 = 0 ;
21841 bool temp2 = False ;
21842 PyObject * obj0 = 0 ;
21843 PyObject * obj1 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self",(char *) "format", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21850 {
21851 arg2 = wxString_in_helper(obj1);
21852 if (arg2 == NULL) SWIG_fail;
21853 temp2 = True;
21854 }
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 (arg1)->SetId((wxString const &)*arg2);
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 Py_INCREF(Py_None); resultobj = Py_None;
21863 {
21864 if (temp2)
21865 delete arg2;
21866 }
21867 return resultobj;
21868 fail:
21869 {
21870 if (temp2)
21871 delete arg2;
21872 }
21873 return NULL;
21874 }
21875
21876
21877 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21878 PyObject *obj;
21879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21880 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21881 Py_INCREF(obj);
21882 return Py_BuildValue((char *)"");
21883 }
21884 static int _wrap_FormatInvalid_set(PyObject *_val) {
21885 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21886 return 1;
21887 }
21888
21889
21890 static PyObject *_wrap_FormatInvalid_get() {
21891 PyObject *pyobj;
21892
21893 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21894 return pyobj;
21895 }
21896
21897
21898 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21899 PyObject *resultobj;
21900 wxDataObject *arg1 = (wxDataObject *) 0 ;
21901 PyObject * obj0 = 0 ;
21902 char *kwnames[] = {
21903 (char *) "self", NULL
21904 };
21905
21906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
21907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 delete arg1;
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 Py_INCREF(Py_None); resultobj = Py_None;
21916 return resultobj;
21917 fail:
21918 return NULL;
21919 }
21920
21921
21922 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21923 PyObject *resultobj;
21924 wxDataObject *arg1 = (wxDataObject *) 0 ;
21925 int arg2 = (int) wxDataObject::Get ;
21926 SwigValueWrapper< wxDataFormat > result;
21927 PyObject * obj0 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "dir", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 {
21942 wxDataFormat * resultptr;
21943 resultptr = new wxDataFormat((wxDataFormat &) result);
21944 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
21945 }
21946 return resultobj;
21947 fail:
21948 return NULL;
21949 }
21950
21951
21952 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 wxDataObject *arg1 = (wxDataObject *) 0 ;
21955 int arg2 = (int) wxDataObject::Get ;
21956 size_t result;
21957 PyObject * obj0 = 0 ;
21958 char *kwnames[] = {
21959 (char *) "self",(char *) "dir", NULL
21960 };
21961
21962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
21963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21964 {
21965 PyThreadState* __tstate = wxPyBeginAllowThreads();
21966 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
21967
21968 wxPyEndAllowThreads(__tstate);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 resultobj = PyInt_FromLong((long)result);
21972 return resultobj;
21973 fail:
21974 return NULL;
21975 }
21976
21977
21978 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
21979 PyObject *resultobj;
21980 wxDataObject *arg1 = (wxDataObject *) 0 ;
21981 wxDataFormat *arg2 = 0 ;
21982 int arg3 = (int) wxDataObject::Get ;
21983 bool result;
21984 PyObject * obj0 = 0 ;
21985 PyObject * obj1 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self",(char *) "format",(char *) "dir", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
21991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21993 if (arg2 == NULL) {
21994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21995 }
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 resultobj = PyInt_FromLong((long)result);
22004 return resultobj;
22005 fail:
22006 return NULL;
22007 }
22008
22009
22010 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj;
22012 wxDataObject *arg1 = (wxDataObject *) 0 ;
22013 wxDataFormat *arg2 = 0 ;
22014 size_t result;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self",(char *) "format", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22024 if (arg2 == NULL) {
22025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22026 }
22027 {
22028 PyThreadState* __tstate = wxPyBeginAllowThreads();
22029 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22030
22031 wxPyEndAllowThreads(__tstate);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 }
22034 resultobj = PyInt_FromLong((long)result);
22035 return resultobj;
22036 fail:
22037 return NULL;
22038 }
22039
22040
22041 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22042 PyObject *resultobj;
22043 wxDataObject *arg1 = (wxDataObject *) 0 ;
22044 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22045 int arg3 = (int) wxDataObject::Get ;
22046 PyObject * obj0 = 0 ;
22047 PyObject * obj1 = 0 ;
22048 char *kwnames[] = {
22049 (char *) "self",(char *) "formats",(char *) "dir", NULL
22050 };
22051
22052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22055 {
22056 PyThreadState* __tstate = wxPyBeginAllowThreads();
22057 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22058
22059 wxPyEndAllowThreads(__tstate);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 }
22062 Py_INCREF(Py_None); resultobj = Py_None;
22063 return resultobj;
22064 fail:
22065 return NULL;
22066 }
22067
22068
22069 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22070 PyObject *resultobj;
22071 wxDataObject *arg1 = (wxDataObject *) 0 ;
22072 wxDataFormat *arg2 = 0 ;
22073 void *arg3 = (void *) 0 ;
22074 bool result;
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 PyObject * obj2 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self",(char *) "format",(char *) "buf", NULL
22080 };
22081
22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22085 if (arg2 == NULL) {
22086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22087 }
22088 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22092
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
22096 resultobj = PyInt_FromLong((long)result);
22097 return resultobj;
22098 fail:
22099 return NULL;
22100 }
22101
22102
22103 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 wxDataObject *arg1 = (wxDataObject *) 0 ;
22106 wxDataFormat *arg2 = 0 ;
22107 size_t arg3 ;
22108 void *arg4 = (void *) 0 ;
22109 bool result;
22110 PyObject * obj0 = 0 ;
22111 PyObject * obj1 = 0 ;
22112 PyObject * obj2 = 0 ;
22113 PyObject * obj3 = 0 ;
22114 char *kwnames[] = {
22115 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22116 };
22117
22118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22121 if (arg2 == NULL) {
22122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22123 }
22124 arg3 = (size_t) PyInt_AsLong(obj2);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22130
22131 wxPyEndAllowThreads(__tstate);
22132 if (PyErr_Occurred()) SWIG_fail;
22133 }
22134 resultobj = PyInt_FromLong((long)result);
22135 return resultobj;
22136 fail:
22137 return NULL;
22138 }
22139
22140
22141 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22142 PyObject *obj;
22143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22144 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22145 Py_INCREF(obj);
22146 return Py_BuildValue((char *)"");
22147 }
22148 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22149 PyObject *resultobj;
22150 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22151 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22152 wxDataObjectSimple *result;
22153 PyObject * obj0 = 0 ;
22154 char *kwnames[] = {
22155 (char *) "format", NULL
22156 };
22157
22158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22159 if (obj0) {
22160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22161 if (arg1 == NULL) {
22162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22163 }
22164 }
22165 {
22166 PyThreadState* __tstate = wxPyBeginAllowThreads();
22167 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22168
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
22172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22173 return resultobj;
22174 fail:
22175 return NULL;
22176 }
22177
22178
22179 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22180 PyObject *resultobj;
22181 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22182 wxDataFormat *result;
22183 PyObject * obj0 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 {
22193 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22194 result = (wxDataFormat *) &_result_ref;
22195 }
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22201 return resultobj;
22202 fail:
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22210 wxDataFormat *arg2 = 0 ;
22211 PyObject * obj0 = 0 ;
22212 PyObject * obj1 = 0 ;
22213 char *kwnames[] = {
22214 (char *) "self",(char *) "format", NULL
22215 };
22216
22217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22220 if (arg2 == NULL) {
22221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22222 }
22223 {
22224 PyThreadState* __tstate = wxPyBeginAllowThreads();
22225 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22226
22227 wxPyEndAllowThreads(__tstate);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 }
22230 Py_INCREF(Py_None); resultobj = Py_None;
22231 return resultobj;
22232 fail:
22233 return NULL;
22234 }
22235
22236
22237 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22238 PyObject *obj;
22239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22240 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22241 Py_INCREF(obj);
22242 return Py_BuildValue((char *)"");
22243 }
22244 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj;
22246 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22247 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22248 wxPyDataObjectSimple *result;
22249 PyObject * obj0 = 0 ;
22250 char *kwnames[] = {
22251 (char *) "format", NULL
22252 };
22253
22254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22255 if (obj0) {
22256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22257 if (arg1 == NULL) {
22258 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22259 }
22260 }
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22269 return resultobj;
22270 fail:
22271 return NULL;
22272 }
22273
22274
22275 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22278 PyObject *arg2 = (PyObject *) 0 ;
22279 PyObject *arg3 = (PyObject *) 0 ;
22280 PyObject * obj0 = 0 ;
22281 PyObject * obj1 = 0 ;
22282 PyObject * obj2 = 0 ;
22283 char *kwnames[] = {
22284 (char *) "self",(char *) "self",(char *) "_class", NULL
22285 };
22286
22287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22289 arg2 = obj1;
22290 arg3 = obj2;
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 (arg1)->_setCallbackInfo(arg2,arg3);
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 Py_INCREF(Py_None); resultobj = Py_None;
22299 return resultobj;
22300 fail:
22301 return NULL;
22302 }
22303
22304
22305 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22306 PyObject *obj;
22307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22308 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22309 Py_INCREF(obj);
22310 return Py_BuildValue((char *)"");
22311 }
22312 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxDataObjectComposite *result;
22315 char *kwnames[] = {
22316 NULL
22317 };
22318
22319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22323
22324 wxPyEndAllowThreads(__tstate);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 }
22327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22328 return resultobj;
22329 fail:
22330 return NULL;
22331 }
22332
22333
22334 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22335 PyObject *resultobj;
22336 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22337 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22338 int arg3 = (int) False ;
22339 PyObject * obj0 = 0 ;
22340 PyObject * obj1 = 0 ;
22341 char *kwnames[] = {
22342 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22343 };
22344
22345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 (arg1)->Add(arg2,arg3);
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 Py_INCREF(Py_None); resultobj = Py_None;
22356 return resultobj;
22357 fail:
22358 return NULL;
22359 }
22360
22361
22362 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22363 PyObject *obj;
22364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22365 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22366 Py_INCREF(obj);
22367 return Py_BuildValue((char *)"");
22368 }
22369 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22370 PyObject *resultobj;
22371 wxString const &arg1_defvalue = wxPyEmptyString ;
22372 wxString *arg1 = (wxString *) &arg1_defvalue ;
22373 wxTextDataObject *result;
22374 bool temp1 = False ;
22375 PyObject * obj0 = 0 ;
22376 char *kwnames[] = {
22377 (char *) "text", NULL
22378 };
22379
22380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22381 if (obj0) {
22382 {
22383 arg1 = wxString_in_helper(obj0);
22384 if (arg1 == NULL) SWIG_fail;
22385 temp1 = True;
22386 }
22387 }
22388 {
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22391
22392 wxPyEndAllowThreads(__tstate);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
22395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22396 {
22397 if (temp1)
22398 delete arg1;
22399 }
22400 return resultobj;
22401 fail:
22402 {
22403 if (temp1)
22404 delete arg1;
22405 }
22406 return NULL;
22407 }
22408
22409
22410 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj;
22412 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22413 size_t result;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 result = (size_t)(arg1)->GetTextLength();
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 resultobj = PyInt_FromLong((long)result);
22429 return resultobj;
22430 fail:
22431 return NULL;
22432 }
22433
22434
22435 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22436 PyObject *resultobj;
22437 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22438 wxString result;
22439 PyObject * obj0 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22446 {
22447 PyThreadState* __tstate = wxPyBeginAllowThreads();
22448 result = (arg1)->GetText();
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 {
22454 #if wxUSE_UNICODE
22455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22456 #else
22457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22458 #endif
22459 }
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22469 wxString *arg2 = 0 ;
22470 bool temp2 = False ;
22471 PyObject * obj0 = 0 ;
22472 PyObject * obj1 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self",(char *) "text", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22479 {
22480 arg2 = wxString_in_helper(obj1);
22481 if (arg2 == NULL) SWIG_fail;
22482 temp2 = True;
22483 }
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 (arg1)->SetText((wxString const &)*arg2);
22487
22488 wxPyEndAllowThreads(__tstate);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 Py_INCREF(Py_None); resultobj = Py_None;
22492 {
22493 if (temp2)
22494 delete arg2;
22495 }
22496 return resultobj;
22497 fail:
22498 {
22499 if (temp2)
22500 delete arg2;
22501 }
22502 return NULL;
22503 }
22504
22505
22506 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22507 PyObject *obj;
22508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22509 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22510 Py_INCREF(obj);
22511 return Py_BuildValue((char *)"");
22512 }
22513 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22514 PyObject *resultobj;
22515 wxString const &arg1_defvalue = wxPyEmptyString ;
22516 wxString *arg1 = (wxString *) &arg1_defvalue ;
22517 wxPyTextDataObject *result;
22518 bool temp1 = False ;
22519 PyObject * obj0 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "text", NULL
22522 };
22523
22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22525 if (obj0) {
22526 {
22527 arg1 = wxString_in_helper(obj0);
22528 if (arg1 == NULL) SWIG_fail;
22529 temp1 = True;
22530 }
22531 }
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22540 {
22541 if (temp1)
22542 delete arg1;
22543 }
22544 return resultobj;
22545 fail:
22546 {
22547 if (temp1)
22548 delete arg1;
22549 }
22550 return NULL;
22551 }
22552
22553
22554 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj;
22556 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22557 PyObject *arg2 = (PyObject *) 0 ;
22558 PyObject *arg3 = (PyObject *) 0 ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 PyObject * obj2 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self",(char *) "self",(char *) "_class", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 arg2 = obj1;
22569 arg3 = obj2;
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 (arg1)->_setCallbackInfo(arg2,arg3);
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 Py_INCREF(Py_None); resultobj = Py_None;
22578 return resultobj;
22579 fail:
22580 return NULL;
22581 }
22582
22583
22584 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22585 PyObject *obj;
22586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22587 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22588 Py_INCREF(obj);
22589 return Py_BuildValue((char *)"");
22590 }
22591 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22592 PyObject *resultobj;
22593 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22594 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22595 wxBitmapDataObject *result;
22596 PyObject * obj0 = 0 ;
22597 char *kwnames[] = {
22598 (char *) "bitmap", NULL
22599 };
22600
22601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22602 if (obj0) {
22603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22604 if (arg1 == NULL) {
22605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22606 }
22607 }
22608 {
22609 PyThreadState* __tstate = wxPyBeginAllowThreads();
22610 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22611
22612 wxPyEndAllowThreads(__tstate);
22613 if (PyErr_Occurred()) SWIG_fail;
22614 }
22615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22616 return resultobj;
22617 fail:
22618 return NULL;
22619 }
22620
22621
22622 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22623 PyObject *resultobj;
22624 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22625 wxBitmap result;
22626 PyObject * obj0 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22636
22637 wxPyEndAllowThreads(__tstate);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 {
22641 wxBitmap * resultptr;
22642 resultptr = new wxBitmap((wxBitmap &) result);
22643 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22644 }
22645 return resultobj;
22646 fail:
22647 return NULL;
22648 }
22649
22650
22651 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22652 PyObject *resultobj;
22653 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22654 wxBitmap *arg2 = 0 ;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self",(char *) "bitmap", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22664 if (arg2 == NULL) {
22665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22666 }
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 Py_INCREF(Py_None); resultobj = Py_None;
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22682 PyObject *obj;
22683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22684 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22685 Py_INCREF(obj);
22686 return Py_BuildValue((char *)"");
22687 }
22688 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj;
22690 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22691 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22692 wxPyBitmapDataObject *result;
22693 PyObject * obj0 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "bitmap", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22699 if (obj0) {
22700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22701 if (arg1 == NULL) {
22702 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22703 }
22704 }
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22722 PyObject *arg2 = (PyObject *) 0 ;
22723 PyObject *arg3 = (PyObject *) 0 ;
22724 PyObject * obj0 = 0 ;
22725 PyObject * obj1 = 0 ;
22726 PyObject * obj2 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self",(char *) "self",(char *) "_class", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22733 arg2 = obj1;
22734 arg3 = obj2;
22735 {
22736 PyThreadState* __tstate = wxPyBeginAllowThreads();
22737 (arg1)->_setCallbackInfo(arg2,arg3);
22738
22739 wxPyEndAllowThreads(__tstate);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 }
22742 Py_INCREF(Py_None); resultobj = Py_None;
22743 return resultobj;
22744 fail:
22745 return NULL;
22746 }
22747
22748
22749 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22750 PyObject *obj;
22751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22752 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22753 Py_INCREF(obj);
22754 return Py_BuildValue((char *)"");
22755 }
22756 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22757 PyObject *resultobj;
22758 wxFileDataObject *result;
22759 char *kwnames[] = {
22760 NULL
22761 };
22762
22763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22764 {
22765 PyThreadState* __tstate = wxPyBeginAllowThreads();
22766 result = (wxFileDataObject *)new wxFileDataObject();
22767
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
22771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22772 return resultobj;
22773 fail:
22774 return NULL;
22775 }
22776
22777
22778 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22779 PyObject *resultobj;
22780 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22781 wxArrayString *result;
22782 PyObject * obj0 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22789 {
22790 PyThreadState* __tstate = wxPyBeginAllowThreads();
22791 {
22792 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22793 result = (wxArrayString *) &_result_ref;
22794 }
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 {
22800 resultobj = wxArrayString2PyList_helper(*result);
22801 }
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22809 PyObject *obj;
22810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22811 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22812 Py_INCREF(obj);
22813 return Py_BuildValue((char *)"");
22814 }
22815 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22818 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22819 wxCustomDataObject *result;
22820 PyObject * obj0 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "format", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22826 if (obj0) {
22827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22828 if (arg1 == NULL) {
22829 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22830 }
22831 }
22832 {
22833 PyThreadState* __tstate = wxPyBeginAllowThreads();
22834 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22835
22836 wxPyEndAllowThreads(__tstate);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22840 return resultobj;
22841 fail:
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22849 PyObject *arg2 = (PyObject *) 0 ;
22850 PyObject * obj0 = 0 ;
22851 PyObject * obj1 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self",(char *) "data", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22858 arg2 = obj1;
22859 {
22860 PyThreadState* __tstate = wxPyBeginAllowThreads();
22861 wxCustomDataObject_TakeData(arg1,arg2);
22862
22863 wxPyEndAllowThreads(__tstate);
22864 if (PyErr_Occurred()) SWIG_fail;
22865 }
22866 Py_INCREF(Py_None); resultobj = Py_None;
22867 return resultobj;
22868 fail:
22869 return NULL;
22870 }
22871
22872
22873 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22874 PyObject *resultobj;
22875 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22876 PyObject *arg2 = (PyObject *) 0 ;
22877 bool result;
22878 PyObject * obj0 = 0 ;
22879 PyObject * obj1 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self",(char *) "data", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22886 arg2 = obj1;
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 resultobj = PyInt_FromLong((long)result);
22895 return resultobj;
22896 fail:
22897 return NULL;
22898 }
22899
22900
22901 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22902 PyObject *resultobj;
22903 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22904 size_t result;
22905 PyObject * obj0 = 0 ;
22906 char *kwnames[] = {
22907 (char *) "self", NULL
22908 };
22909
22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
22911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 result = (size_t)(arg1)->GetSize();
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
22919 resultobj = PyInt_FromLong((long)result);
22920 return resultobj;
22921 fail:
22922 return NULL;
22923 }
22924
22925
22926 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj;
22928 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22929 PyObject *result;
22930 PyObject * obj0 = 0 ;
22931 char *kwnames[] = {
22932 (char *) "self", NULL
22933 };
22934
22935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
22936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22937 {
22938 PyThreadState* __tstate = wxPyBeginAllowThreads();
22939 result = (PyObject *)wxCustomDataObject_GetData(arg1);
22940
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 resultobj = result;
22945 return resultobj;
22946 fail:
22947 return NULL;
22948 }
22949
22950
22951 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
22952 PyObject *obj;
22953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22954 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
22955 Py_INCREF(obj);
22956 return Py_BuildValue((char *)"");
22957 }
22958 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxURLDataObject *result;
22961 char *kwnames[] = {
22962 NULL
22963 };
22964
22965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 result = (wxURLDataObject *)new wxURLDataObject();
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22981 PyObject *resultobj;
22982 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22983 wxString result;
22984 PyObject * obj0 = 0 ;
22985 char *kwnames[] = {
22986 (char *) "self", NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
22990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22991 {
22992 PyThreadState* __tstate = wxPyBeginAllowThreads();
22993 result = (arg1)->GetURL();
22994
22995 wxPyEndAllowThreads(__tstate);
22996 if (PyErr_Occurred()) SWIG_fail;
22997 }
22998 {
22999 #if wxUSE_UNICODE
23000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23001 #else
23002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23003 #endif
23004 }
23005 return resultobj;
23006 fail:
23007 return NULL;
23008 }
23009
23010
23011 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23012 PyObject *resultobj;
23013 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23014 wxString *arg2 = 0 ;
23015 bool temp2 = False ;
23016 PyObject * obj0 = 0 ;
23017 PyObject * obj1 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "self",(char *) "url", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23024 {
23025 arg2 = wxString_in_helper(obj1);
23026 if (arg2 == NULL) SWIG_fail;
23027 temp2 = True;
23028 }
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 (arg1)->SetURL((wxString const &)*arg2);
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 Py_INCREF(Py_None); resultobj = Py_None;
23037 {
23038 if (temp2)
23039 delete arg2;
23040 }
23041 return resultobj;
23042 fail:
23043 {
23044 if (temp2)
23045 delete arg2;
23046 }
23047 return NULL;
23048 }
23049
23050
23051 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23052 PyObject *obj;
23053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23054 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23055 Py_INCREF(obj);
23056 return Py_BuildValue((char *)"");
23057 }
23058 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj;
23060 wxMetafileDataObject *result;
23061 char *kwnames[] = {
23062 NULL
23063 };
23064
23065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23081 PyObject *obj;
23082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23083 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23084 Py_INCREF(obj);
23085 return Py_BuildValue((char *)"");
23086 }
23087 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23088 PyObject *resultobj;
23089 int arg1 ;
23090 bool result;
23091 char *kwnames[] = {
23092 (char *) "res", NULL
23093 };
23094
23095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 resultobj = PyInt_FromLong((long)result);
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxWindow *arg1 = (wxWindow *) NULL ;
23113 wxIcon const &arg2_defvalue = wxNullIcon ;
23114 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
23115 wxIcon const &arg3_defvalue = wxNullIcon ;
23116 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
23117 wxIcon const &arg4_defvalue = wxNullIcon ;
23118 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
23119 wxPyDropSource *result;
23120 PyObject * obj0 = 0 ;
23121 PyObject * obj1 = 0 ;
23122 PyObject * obj2 = 0 ;
23123 PyObject * obj3 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23129 if (obj0) {
23130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23131 }
23132 if (obj1) {
23133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23134 if (arg2 == NULL) {
23135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23136 }
23137 }
23138 if (obj2) {
23139 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23140 if (arg3 == NULL) {
23141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23142 }
23143 }
23144 if (obj3) {
23145 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23146 if (arg4 == NULL) {
23147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23148 }
23149 }
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23158 return resultobj;
23159 fail:
23160 return NULL;
23161 }
23162
23163
23164 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23167 PyObject *arg2 = (PyObject *) 0 ;
23168 PyObject *arg3 = (PyObject *) 0 ;
23169 int arg4 ;
23170 PyObject * obj0 = 0 ;
23171 PyObject * obj1 = 0 ;
23172 PyObject * obj2 = 0 ;
23173 char *kwnames[] = {
23174 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23175 };
23176
23177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23179 arg2 = obj1;
23180 arg3 = obj2;
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 Py_INCREF(Py_None); resultobj = Py_None;
23189 return resultobj;
23190 fail:
23191 return NULL;
23192 }
23193
23194
23195 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23196 PyObject *resultobj;
23197 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23198 PyObject * obj0 = 0 ;
23199 char *kwnames[] = {
23200 (char *) "self", NULL
23201 };
23202
23203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 delete arg1;
23208
23209 wxPyEndAllowThreads(__tstate);
23210 if (PyErr_Occurred()) SWIG_fail;
23211 }
23212 Py_INCREF(Py_None); resultobj = Py_None;
23213 return resultobj;
23214 fail:
23215 return NULL;
23216 }
23217
23218
23219 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23220 PyObject *resultobj;
23221 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23222 wxDataObject *arg2 = 0 ;
23223 PyObject * obj0 = 0 ;
23224 PyObject * obj1 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "self",(char *) "data", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23232 if (arg2 == NULL) {
23233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23234 }
23235 {
23236 PyThreadState* __tstate = wxPyBeginAllowThreads();
23237 (arg1)->SetData(*arg2);
23238
23239 wxPyEndAllowThreads(__tstate);
23240 if (PyErr_Occurred()) SWIG_fail;
23241 }
23242 Py_INCREF(Py_None); resultobj = Py_None;
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23250 PyObject *resultobj;
23251 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23252 wxDataObject *result;
23253 PyObject * obj0 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23260 {
23261 PyThreadState* __tstate = wxPyBeginAllowThreads();
23262 result = (wxDataObject *)(arg1)->GetDataObject();
23263
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23268 return resultobj;
23269 fail:
23270 return NULL;
23271 }
23272
23273
23274 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23275 PyObject *resultobj;
23276 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23277 int arg2 ;
23278 wxCursor *arg3 = 0 ;
23279 PyObject * obj0 = 0 ;
23280 PyObject * obj2 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self",(char *) "res",(char *) "cursor", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23287 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23288 if (arg3 == NULL) {
23289 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23290 }
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
23293 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23294
23295 wxPyEndAllowThreads(__tstate);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 }
23298 Py_INCREF(Py_None); resultobj = Py_None;
23299 return resultobj;
23300 fail:
23301 return NULL;
23302 }
23303
23304
23305 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23306 PyObject *resultobj;
23307 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23308 int arg2 = (int) wxDrag_CopyOnly ;
23309 int result;
23310 PyObject * obj0 = 0 ;
23311 char *kwnames[] = {
23312 (char *) "self",(char *) "flags", NULL
23313 };
23314
23315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 result = (int)(arg1)->DoDragDrop(arg2);
23320
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 resultobj = PyInt_FromLong((long)result);
23325 return resultobj;
23326 fail:
23327 return NULL;
23328 }
23329
23330
23331 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23332 PyObject *resultobj;
23333 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23334 int arg2 ;
23335 bool result;
23336 PyObject * obj0 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "self",(char *) "effect", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23343 {
23344 PyThreadState* __tstate = wxPyBeginAllowThreads();
23345 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23346
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 resultobj = PyInt_FromLong((long)result);
23351 return resultobj;
23352 fail:
23353 return NULL;
23354 }
23355
23356
23357 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23358 PyObject *obj;
23359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23360 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23361 Py_INCREF(obj);
23362 return Py_BuildValue((char *)"");
23363 }
23364 static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj;
23366 wxDataObject *arg1 = (wxDataObject *) NULL ;
23367 wxPyDropTarget *result;
23368 PyObject * obj0 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "dataObject", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
23374 if (obj0) {
23375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23376 }
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23394 PyObject *arg2 = (PyObject *) 0 ;
23395 PyObject *arg3 = (PyObject *) 0 ;
23396 PyObject * obj0 = 0 ;
23397 PyObject * obj1 = 0 ;
23398 PyObject * obj2 = 0 ;
23399 char *kwnames[] = {
23400 (char *) "self",(char *) "self",(char *) "_class", NULL
23401 };
23402
23403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23405 arg2 = obj1;
23406 arg3 = obj2;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 (arg1)->_setCallbackInfo(arg2,arg3);
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 Py_INCREF(Py_None); resultobj = Py_None;
23415 return resultobj;
23416 fail:
23417 return NULL;
23418 }
23419
23420
23421 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23422 PyObject *resultobj;
23423 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23424 PyObject * obj0 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 delete arg1;
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 Py_INCREF(Py_None); resultobj = Py_None;
23439 return resultobj;
23440 fail:
23441 return NULL;
23442 }
23443
23444
23445 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23446 PyObject *resultobj;
23447 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23448 wxDataObject *result;
23449 PyObject * obj0 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 result = (wxDataObject *)(arg1)->GetDataObject();
23459
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23464 return resultobj;
23465 fail:
23466 return NULL;
23467 }
23468
23469
23470 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23471 PyObject *resultobj;
23472 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23473 wxDataObject *arg2 = (wxDataObject *) 0 ;
23474 PyObject * obj0 = 0 ;
23475 PyObject * obj1 = 0 ;
23476 char *kwnames[] = {
23477 (char *) "self",(char *) "dataObject", NULL
23478 };
23479
23480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 (arg1)->SetDataObject(arg2);
23486
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 Py_INCREF(Py_None); resultobj = Py_None;
23491 return resultobj;
23492 fail:
23493 return NULL;
23494 }
23495
23496
23497 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23498 PyObject *resultobj;
23499 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23500 int arg2 ;
23501 int arg3 ;
23502 int arg4 ;
23503 int result;
23504 PyObject * obj0 = 0 ;
23505 char *kwnames[] = {
23506 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23507 };
23508
23509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = PyInt_FromLong((long)result);
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23526 PyObject *resultobj;
23527 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23528 int arg2 ;
23529 int arg3 ;
23530 int arg4 ;
23531 int result;
23532 PyObject * obj0 = 0 ;
23533 char *kwnames[] = {
23534 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23535 };
23536
23537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23542
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 resultobj = PyInt_FromLong((long)result);
23547 return resultobj;
23548 fail:
23549 return NULL;
23550 }
23551
23552
23553 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23554 PyObject *resultobj;
23555 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23556 PyObject * obj0 = 0 ;
23557 char *kwnames[] = {
23558 (char *) "self", NULL
23559 };
23560
23561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23563 {
23564 PyThreadState* __tstate = wxPyBeginAllowThreads();
23565 (arg1)->base_OnLeave();
23566
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 Py_INCREF(Py_None); resultobj = Py_None;
23571 return resultobj;
23572 fail:
23573 return NULL;
23574 }
23575
23576
23577 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23578 PyObject *resultobj;
23579 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23580 int arg2 ;
23581 int arg3 ;
23582 bool result;
23583 PyObject * obj0 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self",(char *) "x",(char *) "y", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23590 {
23591 PyThreadState* __tstate = wxPyBeginAllowThreads();
23592 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23593
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 resultobj = PyInt_FromLong((long)result);
23598 return resultobj;
23599 fail:
23600 return NULL;
23601 }
23602
23603
23604 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23605 PyObject *resultobj;
23606 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23607 bool result;
23608 PyObject * obj0 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (bool)(arg1)->GetData();
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 resultobj = PyInt_FromLong((long)result);
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23630 PyObject *obj;
23631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23632 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23633 Py_INCREF(obj);
23634 return Py_BuildValue((char *)"");
23635 }
23636 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23637 PyObject *resultobj;
23638 wxPyTextDropTarget *result;
23639 char *kwnames[] = {
23640 NULL
23641 };
23642
23643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23644 {
23645 PyThreadState* __tstate = wxPyBeginAllowThreads();
23646 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23647
23648 wxPyEndAllowThreads(__tstate);
23649 if (PyErr_Occurred()) SWIG_fail;
23650 }
23651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23652 return resultobj;
23653 fail:
23654 return NULL;
23655 }
23656
23657
23658 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23659 PyObject *resultobj;
23660 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23661 PyObject *arg2 = (PyObject *) 0 ;
23662 PyObject *arg3 = (PyObject *) 0 ;
23663 PyObject * obj0 = 0 ;
23664 PyObject * obj1 = 0 ;
23665 PyObject * obj2 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self",(char *) "self",(char *) "_class", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23672 arg2 = obj1;
23673 arg3 = obj2;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->_setCallbackInfo(arg2,arg3);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 Py_INCREF(Py_None); resultobj = Py_None;
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23691 int arg2 ;
23692 int arg3 ;
23693 int arg4 ;
23694 int result;
23695 PyObject * obj0 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 resultobj = PyInt_FromLong((long)result);
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23719 int arg2 ;
23720 int arg3 ;
23721 int arg4 ;
23722 int result;
23723 PyObject * obj0 = 0 ;
23724 char *kwnames[] = {
23725 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23726 };
23727
23728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 resultobj = PyInt_FromLong((long)result);
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23747 PyObject * obj0 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "self", NULL
23750 };
23751
23752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 (arg1)->base_OnLeave();
23757
23758 wxPyEndAllowThreads(__tstate);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 Py_INCREF(Py_None); resultobj = Py_None;
23762 return resultobj;
23763 fail:
23764 return NULL;
23765 }
23766
23767
23768 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23769 PyObject *resultobj;
23770 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23771 int arg2 ;
23772 int arg3 ;
23773 bool result;
23774 PyObject * obj0 = 0 ;
23775 char *kwnames[] = {
23776 (char *) "self",(char *) "x",(char *) "y", NULL
23777 };
23778
23779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23781 {
23782 PyThreadState* __tstate = wxPyBeginAllowThreads();
23783 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23784
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 resultobj = PyInt_FromLong((long)result);
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj;
23797 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23798 int arg2 ;
23799 int arg3 ;
23800 int arg4 ;
23801 int result;
23802 PyObject * obj0 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23809 {
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23812
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 resultobj = PyInt_FromLong((long)result);
23817 return resultobj;
23818 fail:
23819 return NULL;
23820 }
23821
23822
23823 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23824 PyObject *obj;
23825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23826 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23827 Py_INCREF(obj);
23828 return Py_BuildValue((char *)"");
23829 }
23830 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23831 PyObject *resultobj;
23832 wxPyFileDropTarget *result;
23833 char *kwnames[] = {
23834 NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23838 {
23839 PyThreadState* __tstate = wxPyBeginAllowThreads();
23840 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23841
23842 wxPyEndAllowThreads(__tstate);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
23845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23846 return resultobj;
23847 fail:
23848 return NULL;
23849 }
23850
23851
23852 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23853 PyObject *resultobj;
23854 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23855 PyObject *arg2 = (PyObject *) 0 ;
23856 PyObject *arg3 = (PyObject *) 0 ;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859 PyObject * obj2 = 0 ;
23860 char *kwnames[] = {
23861 (char *) "self",(char *) "self",(char *) "_class", NULL
23862 };
23863
23864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23866 arg2 = obj1;
23867 arg3 = obj2;
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 (arg1)->_setCallbackInfo(arg2,arg3);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 Py_INCREF(Py_None); resultobj = Py_None;
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23885 int arg2 ;
23886 int arg3 ;
23887 int arg4 ;
23888 int result;
23889 PyObject * obj0 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = PyInt_FromLong((long)result);
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23913 int arg2 ;
23914 int arg3 ;
23915 int arg4 ;
23916 int result;
23917 PyObject * obj0 = 0 ;
23918 char *kwnames[] = {
23919 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23920 };
23921
23922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 resultobj = PyInt_FromLong((long)result);
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj;
23940 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23941 PyObject * obj0 = 0 ;
23942 char *kwnames[] = {
23943 (char *) "self", NULL
23944 };
23945
23946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 (arg1)->base_OnLeave();
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 Py_INCREF(Py_None); resultobj = Py_None;
23956 return resultobj;
23957 fail:
23958 return NULL;
23959 }
23960
23961
23962 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj;
23964 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23965 int arg2 ;
23966 int arg3 ;
23967 bool result;
23968 PyObject * obj0 = 0 ;
23969 char *kwnames[] = {
23970 (char *) "self",(char *) "x",(char *) "y", NULL
23971 };
23972
23973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23975 {
23976 PyThreadState* __tstate = wxPyBeginAllowThreads();
23977 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23978
23979 wxPyEndAllowThreads(__tstate);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 resultobj = PyInt_FromLong((long)result);
23983 return resultobj;
23984 fail:
23985 return NULL;
23986 }
23987
23988
23989 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23990 PyObject *resultobj;
23991 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23992 int arg2 ;
23993 int arg3 ;
23994 int arg4 ;
23995 int result;
23996 PyObject * obj0 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
24005 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24006
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 resultobj = PyInt_FromLong((long)result);
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24018 PyObject *obj;
24019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24020 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24021 Py_INCREF(obj);
24022 return Py_BuildValue((char *)"");
24023 }
24024 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj;
24026 wxClipboard *result;
24027 char *kwnames[] = {
24028 NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (wxClipboard *)new wxClipboard();
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24040 return resultobj;
24041 fail:
24042 return NULL;
24043 }
24044
24045
24046 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24047 PyObject *resultobj;
24048 wxClipboard *arg1 = (wxClipboard *) 0 ;
24049 PyObject * obj0 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "self", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 delete arg1;
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 Py_INCREF(Py_None); resultobj = Py_None;
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24071 PyObject *resultobj;
24072 wxClipboard *arg1 = (wxClipboard *) 0 ;
24073 bool result;
24074 PyObject * obj0 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self", NULL
24077 };
24078
24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 result = (bool)(arg1)->Open();
24084
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 resultobj = PyInt_FromLong((long)result);
24089 return resultobj;
24090 fail:
24091 return NULL;
24092 }
24093
24094
24095 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj;
24097 wxClipboard *arg1 = (wxClipboard *) 0 ;
24098 PyObject * obj0 = 0 ;
24099 char *kwnames[] = {
24100 (char *) "self", NULL
24101 };
24102
24103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 (arg1)->Close();
24108
24109 wxPyEndAllowThreads(__tstate);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
24112 Py_INCREF(Py_None); resultobj = Py_None;
24113 return resultobj;
24114 fail:
24115 return NULL;
24116 }
24117
24118
24119 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24120 PyObject *resultobj;
24121 wxClipboard *arg1 = (wxClipboard *) 0 ;
24122 bool result;
24123 PyObject * obj0 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24130 {
24131 PyThreadState* __tstate = wxPyBeginAllowThreads();
24132 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24133
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 resultobj = PyInt_FromLong((long)result);
24138 return resultobj;
24139 fail:
24140 return NULL;
24141 }
24142
24143
24144 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24145 PyObject *resultobj;
24146 wxClipboard *arg1 = (wxClipboard *) 0 ;
24147 wxDataObject *arg2 = (wxDataObject *) 0 ;
24148 bool result;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self",(char *) "data", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 result = (bool)(arg1)->AddData(arg2);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 resultobj = PyInt_FromLong((long)result);
24166 return resultobj;
24167 fail:
24168 return NULL;
24169 }
24170
24171
24172 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24173 PyObject *resultobj;
24174 wxClipboard *arg1 = (wxClipboard *) 0 ;
24175 wxDataObject *arg2 = (wxDataObject *) 0 ;
24176 bool result;
24177 PyObject * obj0 = 0 ;
24178 PyObject * obj1 = 0 ;
24179 char *kwnames[] = {
24180 (char *) "self",(char *) "data", NULL
24181 };
24182
24183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 result = (bool)(arg1)->SetData(arg2);
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 resultobj = PyInt_FromLong((long)result);
24194 return resultobj;
24195 fail:
24196 return NULL;
24197 }
24198
24199
24200 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24201 PyObject *resultobj;
24202 wxClipboard *arg1 = (wxClipboard *) 0 ;
24203 wxDataFormat *arg2 = 0 ;
24204 bool result;
24205 PyObject * obj0 = 0 ;
24206 PyObject * obj1 = 0 ;
24207 char *kwnames[] = {
24208 (char *) "self",(char *) "format", NULL
24209 };
24210
24211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24214 if (arg2 == NULL) {
24215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24216 }
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24220
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 resultobj = PyInt_FromLong((long)result);
24225 return resultobj;
24226 fail:
24227 return NULL;
24228 }
24229
24230
24231 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24232 PyObject *resultobj;
24233 wxClipboard *arg1 = (wxClipboard *) 0 ;
24234 wxDataObject *arg2 = 0 ;
24235 bool result;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 char *kwnames[] = {
24239 (char *) "self",(char *) "data", NULL
24240 };
24241
24242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24245 if (arg2 == NULL) {
24246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24247 }
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (bool)(arg1)->GetData(*arg2);
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 resultobj = PyInt_FromLong((long)result);
24256 return resultobj;
24257 fail:
24258 return NULL;
24259 }
24260
24261
24262 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24263 PyObject *resultobj;
24264 wxClipboard *arg1 = (wxClipboard *) 0 ;
24265 PyObject * obj0 = 0 ;
24266 char *kwnames[] = {
24267 (char *) "self", NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 (arg1)->Clear();
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 Py_INCREF(Py_None); resultobj = Py_None;
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj;
24288 wxClipboard *arg1 = (wxClipboard *) 0 ;
24289 bool result;
24290 PyObject * obj0 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = (bool)(arg1)->Flush();
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 resultobj = PyInt_FromLong((long)result);
24305 return resultobj;
24306 fail:
24307 return NULL;
24308 }
24309
24310
24311 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24312 PyObject *resultobj;
24313 wxClipboard *arg1 = (wxClipboard *) 0 ;
24314 bool arg2 = (bool) False ;
24315 PyObject * obj0 = 0 ;
24316 PyObject * obj1 = 0 ;
24317 char *kwnames[] = {
24318 (char *) "self",(char *) "primary", NULL
24319 };
24320
24321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24323 if (obj1) {
24324 arg2 = PyInt_AsLong(obj1) ? true : false;
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 (arg1)->UsePrimarySelection(arg2);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 Py_INCREF(Py_None); resultobj = Py_None;
24335 return resultobj;
24336 fail:
24337 return NULL;
24338 }
24339
24340
24341 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24342 PyObject *obj;
24343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24344 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24345 Py_INCREF(obj);
24346 return Py_BuildValue((char *)"");
24347 }
24348 static int _wrap_TheClipboard_set(PyObject *_val) {
24349 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24350 return 1;
24351 }
24352
24353
24354 static PyObject *_wrap_TheClipboard_get() {
24355 PyObject *pyobj;
24356
24357 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24358 return pyobj;
24359 }
24360
24361
24362 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj;
24364 wxClipboard *arg1 = (wxClipboard *) NULL ;
24365 wxClipboardLocker *result;
24366 PyObject * obj0 = 0 ;
24367 char *kwnames[] = {
24368 (char *) "clipboard", NULL
24369 };
24370
24371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24372 if (obj0) {
24373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24374 }
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24378
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24383 return resultobj;
24384 fail:
24385 return NULL;
24386 }
24387
24388
24389 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24390 PyObject *resultobj;
24391 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24399 {
24400 PyThreadState* __tstate = wxPyBeginAllowThreads();
24401 delete arg1;
24402
24403 wxPyEndAllowThreads(__tstate);
24404 if (PyErr_Occurred()) SWIG_fail;
24405 }
24406 Py_INCREF(Py_None); resultobj = Py_None;
24407 return resultobj;
24408 fail:
24409 return NULL;
24410 }
24411
24412
24413 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24414 PyObject *resultobj;
24415 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24416 bool result;
24417 PyObject * obj0 = 0 ;
24418 char *kwnames[] = {
24419 (char *) "self", NULL
24420 };
24421
24422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 result = (bool)wxClipboardLocker___nonzero__(arg1);
24427
24428 wxPyEndAllowThreads(__tstate);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 }
24431 resultobj = PyInt_FromLong((long)result);
24432 return resultobj;
24433 fail:
24434 return NULL;
24435 }
24436
24437
24438 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24439 PyObject *obj;
24440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24441 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24442 Py_INCREF(obj);
24443 return Py_BuildValue((char *)"");
24444 }
24445 static PyMethodDef SwigMethods[] = {
24446 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24453 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24460 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24519 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24527 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24543 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24548 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24551 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24554 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24560 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24574 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24580 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24586 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24589 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24601 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24604 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24605 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24608 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24635 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24637 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24639 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24641 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24648 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24654 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"LogTrace", (PyCFunction) _wrap_LogTrace, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"LogTraceMask", (PyCFunction) _wrap_LogTraceMask, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24673 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24676 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24693 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24701 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24747 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24775 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24781 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24797 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24813 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24827 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24836 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
24879 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
24883 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
24886 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
24889 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
24981 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
24982 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
24983 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
24984 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
24985 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
24986 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
24987 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
24988 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
24989 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
24990 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25001 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25046 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25080 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25088 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25089 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25094 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25103 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25107 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25110 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25113 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25118 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25121 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25125 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25128 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25131 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25137 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25141 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25143 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25153 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25164 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25172 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25180 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25193 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25197 { NULL, NULL }
25198 };
25199
25200
25201 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25202
25203 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25204 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25205 }
25206 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25207 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25208 }
25209 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25210 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25211 }
25212 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25213 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25214 }
25215 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25216 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25217 }
25218 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25219 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25220 }
25221 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25222 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25223 }
25224 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25225 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25226 }
25227 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25228 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25229 }
25230 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25231 return (void *)((wxEvent *) ((wxPyEvent *) x));
25232 }
25233 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25234 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25235 }
25236 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25237 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25238 }
25239 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25240 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25241 }
25242 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25243 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25244 }
25245 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25246 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25247 }
25248 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25249 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25250 }
25251 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25252 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25253 }
25254 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25255 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25256 }
25257 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25258 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25259 }
25260 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25261 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25262 }
25263 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25264 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25265 }
25266 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25267 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25268 }
25269 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25270 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25271 }
25272 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25273 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25274 }
25275 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25276 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25277 }
25278 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25279 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25280 }
25281 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25282 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25283 }
25284 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25285 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25286 }
25287 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25288 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25289 }
25290 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25291 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25292 }
25293 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25294 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25295 }
25296 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25297 return (void *)((wxEvent *) ((wxShowEvent *) x));
25298 }
25299 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25300 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25301 }
25302 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25303 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25304 }
25305 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25306 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25307 }
25308 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25309 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25310 }
25311 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25312 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25313 }
25314 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25315 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25316 }
25317 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25318 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25319 }
25320 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25321 return (void *)((wxConfigBase *) ((wxConfig *) x));
25322 }
25323 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25324 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25325 }
25326 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25327 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25328 }
25329 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25330 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25331 }
25332 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25333 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25334 }
25335 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25336 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25337 }
25338 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25339 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25340 }
25341 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25342 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25343 }
25344 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25345 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25346 }
25347 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25348 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25349 }
25350 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25351 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25352 }
25353 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25354 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25355 }
25356 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25357 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25358 }
25359 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25360 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25361 }
25362 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25363 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25364 }
25365 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25366 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25367 }
25368 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25369 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25370 }
25371 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25372 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25373 }
25374 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25375 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25376 }
25377 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25378 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25379 }
25380 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25381 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25382 }
25383 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25384 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25385 }
25386 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25387 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25388 }
25389 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25390 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25391 }
25392 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25393 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25394 }
25395 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25396 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25397 }
25398 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25399 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25400 }
25401 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25402 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25403 }
25404 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25405 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25406 }
25407 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25408 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25409 }
25410 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25411 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25412 }
25413 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25414 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25415 }
25416 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25417 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25418 }
25419 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25420 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25421 }
25422 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25423 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25424 }
25425 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25426 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25427 }
25428 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25429 return (void *)((wxObject *) ((wxSizerItem *) x));
25430 }
25431 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25432 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25433 }
25434 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25435 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25436 }
25437 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25438 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25439 }
25440 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25441 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25442 }
25443 static void *_p_wxSizerTo_p_wxObject(void *x) {
25444 return (void *)((wxObject *) ((wxSizer *) x));
25445 }
25446 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25447 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25448 }
25449 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25450 return (void *)((wxObject *) ((wxFileHistory *) x));
25451 }
25452 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25453 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25454 }
25455 static void *_p_wxEventTo_p_wxObject(void *x) {
25456 return (void *)((wxObject *) ((wxEvent *) x));
25457 }
25458 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25459 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25460 }
25461 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25462 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25463 }
25464 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25465 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25466 }
25467 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25468 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25469 }
25470 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25471 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25472 }
25473 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25474 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25475 }
25476 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25477 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25478 }
25479 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25480 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25481 }
25482 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25483 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25484 }
25485 static void *_p_wxControlTo_p_wxObject(void *x) {
25486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25487 }
25488 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25489 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25490 }
25491 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25492 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25493 }
25494 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25495 return (void *)((wxObject *) ((wxFSFile *) x));
25496 }
25497 static void *_p_wxClipboardTo_p_wxObject(void *x) {
25498 return (void *)((wxObject *) ((wxClipboard *) x));
25499 }
25500 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25501 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25502 }
25503 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25504 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25505 }
25506 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25507 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25508 }
25509 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25511 }
25512 static void *_p_wxToolTipTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) ((wxToolTip *) x));
25514 }
25515 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) ((wxMenuItem *) x));
25517 }
25518 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25520 }
25521 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25523 }
25524 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25526 }
25527 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25529 }
25530 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25532 }
25533 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25535 }
25536 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25537 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25538 }
25539 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25540 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25541 }
25542 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25543 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25544 }
25545 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25546 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25547 }
25548 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25549 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25550 }
25551 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25552 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25553 }
25554 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25555 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25556 }
25557 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25558 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25559 }
25560 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25561 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25562 }
25563 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25564 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25565 }
25566 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25568 }
25569 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25571 }
25572 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) ((wxImageHandler *) x));
25574 }
25575 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25577 }
25578 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) ((wxEvtHandler *) x));
25580 }
25581 static void *_p_wxImageTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) ((wxImage *) x));
25583 }
25584 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25586 }
25587 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) ((wxSystemOptions *) x));
25589 }
25590 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25592 }
25593 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25595 }
25596 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25598 }
25599 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25601 }
25602 static void *_p_wxWindowTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25604 }
25605 static void *_p_wxMenuTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25607 }
25608 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25610 }
25611 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25613 }
25614 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) ((wxFileSystem *) x));
25616 }
25617 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25619 }
25620 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25622 }
25623 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25625 }
25626 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25628 }
25629 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25631 }
25632 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25634 }
25635 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) ((wxBusyInfo *) x));
25637 }
25638 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25640 }
25641 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25643 }
25644 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25646 }
25647 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25649 }
25650 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25652 }
25653 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25655 }
25656 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25658 }
25659 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25661 }
25662 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25664 }
25665 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25667 }
25668 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25669 return (void *)((wxLog *) ((wxLogStderr *) x));
25670 }
25671 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25672 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25673 }
25674 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25675 return (void *)((wxLog *) ((wxLogWindow *) x));
25676 }
25677 static void *_p_wxLogChainTo_p_wxLog(void *x) {
25678 return (void *)((wxLog *) ((wxLogChain *) x));
25679 }
25680 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25681 return (void *)((wxLog *) ((wxLogGui *) x));
25682 }
25683 static void *_p_wxPyLogTo_p_wxLog(void *x) {
25684 return (void *)((wxLog *) ((wxPyLog *) x));
25685 }
25686 static void *_p_wxControlTo_p_wxWindow(void *x) {
25687 return (void *)((wxWindow *) ((wxControl *) x));
25688 }
25689 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25690 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25691 }
25692 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25693 return (void *)((wxWindow *) ((wxMenuBar *) x));
25694 }
25695 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25696 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25697 }
25698 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25699 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25700 }
25701 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25702 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25703 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25704 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}};
25705 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25706 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25707 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}};
25708 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}};
25709 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25710 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25711 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25712 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25713 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25714 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25715 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25716 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25717 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25718 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25719 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25720 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25721 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25722 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25723 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25724 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25725 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25726 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25727 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25728 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25729 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25730 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25731 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25732 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}};
25733 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25734 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25735 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25736 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25737 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25738 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25739 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25740 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25741 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25742 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25743 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25744 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25745 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25746 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}};
25747 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}};
25748 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25749 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25750 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25751 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25752 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25753 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25754 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25755 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25756 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25757 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25758 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25759 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25760 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25761 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25762 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_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}};
25763 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25764 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25765 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25766 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}};
25767 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25768 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25769 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25770 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25771 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25772 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25773 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}};
25774 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25775 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25776 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25777 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25778 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25779 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25780 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25781 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25782 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25783
25784 static swig_type_info *swig_types_initial[] = {
25785 _swigt__p_wxLogChain,
25786 _swigt__p_wxMutexGuiLocker,
25787 _swigt__p_wxFileHistory,
25788 _swigt__p_wxLog,
25789 _swigt__p_wxDateTime__TimeZone,
25790 _swigt__p_wxMenu,
25791 _swigt__p_wxEvent,
25792 _swigt__p_wxConfigBase,
25793 _swigt__p_wxWave,
25794 _swigt__p_wxFileType,
25795 _swigt__p_wxLogGui,
25796 _swigt__p_wxFont,
25797 _swigt__p_wxDataFormat,
25798 _swigt__p_wxTimerEvent,
25799 _swigt__p_wxCaret,
25800 _swigt__p_int,
25801 _swigt__p_wxSize,
25802 _swigt__p_wxClipboard,
25803 _swigt__p_wxStopWatch,
25804 _swigt__p_wxDC,
25805 _swigt__p_wxClipboardLocker,
25806 _swigt__p_wxIcon,
25807 _swigt__p_wxLogStderr,
25808 _swigt__p_wxLogTextCtrl,
25809 _swigt__p_wxTextCtrl,
25810 _swigt__p_wxBusyCursor,
25811 _swigt__p_wxFileDataObject,
25812 _swigt__p_wxPyBitmapDataObject,
25813 _swigt__p_wxPyTextDataObject,
25814 _swigt__p_wxBitmapDataObject,
25815 _swigt__p_wxTextDataObject,
25816 _swigt__p_wxDataObject,
25817 _swigt__p_wxCustomDataObject,
25818 _swigt__p_wxURLDataObject,
25819 _swigt__p_wxMetafileDataObject,
25820 _swigt__p_wxTimerRunner,
25821 _swigt__p_wxLogWindow,
25822 _swigt__p_wxTimeSpan,
25823 _swigt__p_wxArrayString,
25824 _swigt__p_wxWindowDisabler,
25825 _swigt__p_wxToolTip,
25826 _swigt__p_wxDataObjectComposite,
25827 _swigt__p_wxFileConfig,
25828 _swigt__p_wxSystemSettings,
25829 _swigt__p_wxPyDataObjectSimple,
25830 _swigt__p_wxDataObjectSimple,
25831 _swigt__p_wxEvtHandler,
25832 _swigt__p_wxRect,
25833 _swigt__p_wxSingleInstanceChecker,
25834 _swigt__p_wxFileTypeInfo,
25835 _swigt__p_wxFrame,
25836 _swigt__p_wxTimer,
25837 _swigt__p_wxMimeTypesManager,
25838 _swigt__p_wxPyArtProvider,
25839 _swigt__p_wxPyTipProvider,
25840 _swigt__p_wxTipProvider,
25841 _swigt__p_wxJoystick,
25842 _swigt__p_wxSystemOptions,
25843 _swigt__p_wxPoint,
25844 _swigt__p_wxJoystickEvent,
25845 _swigt__p_wxCursor,
25846 _swigt__p_wxObject,
25847 _swigt__p_wxOutputStream,
25848 _swigt__p_wxDateTime,
25849 _swigt__p_wxPyDropSource,
25850 _swigt__p_wxWindow,
25851 _swigt__p_wxString,
25852 _swigt__p_wxPyProcess,
25853 _swigt__p_wxBitmap,
25854 _swigt__p_wxConfig,
25855 _swigt__p_wxChar,
25856 _swigt__p_wxBusyInfo,
25857 _swigt__p_wxPyDropTarget,
25858 _swigt__p_wxPyTextDropTarget,
25859 _swigt__p_wxPyFileDropTarget,
25860 _swigt__p_wxProcessEvent,
25861 _swigt__p_wxPyLog,
25862 _swigt__p_wxLogNull,
25863 _swigt__p_wxColour,
25864 _swigt__p_wxConfigPathChanger,
25865 _swigt__p_wxPyTimer,
25866 _swigt__p_wxDateSpan,
25867 0
25868 };
25869
25870
25871 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25872
25873 static swig_const_info swig_const_table[] = {
25874 { SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
25875 { SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
25876 { SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
25877 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
25878 { SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
25879 { SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
25880 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
25881 { SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
25882 { SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
25883 { SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
25884 { SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
25885 { SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
25886 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
25887 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
25888 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
25889 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
25890 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
25891 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
25892 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
25893 { SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
25894 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
25895 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
25896 { SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
25897 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
25898 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
25899 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
25900 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
25901 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
25902 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
25903 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
25904 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
25905 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
25906 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
25907 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
25908 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
25909 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
25910 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
25911 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
25912 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
25913 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
25914 { SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
25915 { SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
25916 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
25917 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
25918 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
25919 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
25920 { SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
25921 { SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
25922 { SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
25923 { SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
25924 { SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
25925 { SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
25926 { SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
25927 { SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
25928 { SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
25929 { SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
25930 { SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
25931 { SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
25932 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
25933 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
25934 { SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
25935 { SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
25936 { SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
25937 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
25938 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
25939 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
25940 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
25941 { SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
25942 { SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
25943 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
25944 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
25945 { SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
25946 { SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
25947 { SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
25948 { SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
25949 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
25950 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
25951 { SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
25952 { SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
25953 { SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
25954 { SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
25955 { SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
25956 { SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
25957 { SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
25958 { SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
25959 { SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
25960 { SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
25961 { SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
25962 { SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
25963 { SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
25964 { SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
25965 { SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
25966 { SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
25967 { SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
25968 { SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
25969 { SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
25970 { SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
25971 { SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
25972 { SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
25973 { SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
25974 { SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
25975 { SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
25976 { SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
25977 { SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
25978 { SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
25979 { SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
25980 { SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
25981 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25982 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25983 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25984 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25985 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25986 { SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25987 { SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25988 { SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25989 { SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25990 { SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25991 { SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
25992 { SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
25993 { SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
25994 { SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
25995 { SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
25996 { SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
25997 { SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
25998 { SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
25999 { SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26000 { SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26001 { SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26002 { SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26003 { SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26004 { SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26005 { SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26006 { SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26007 { SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26008 { SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26009 { SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26010 { SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26011 { SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26012 { SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26013 { SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26014 { SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26015 { SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26016 { SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26017 { SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26018 { SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26019 { SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26020 { SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26021 { SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26022 { SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26023 { SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26024 { SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26025 { SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26026 { SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26027 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26028 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26029 { SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26030 { SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26031 { SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26032 { SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26033 { SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26034 { SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26035 { SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26036 { SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26037 { SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26038 { SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26039 { SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26040 { SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26041 { SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26042 { SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26043 { SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26044 { SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26045 { SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26046 { SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26047 { SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26048 { SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26049 { SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26050 { SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26051 { SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26052 { SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26053 { SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26054 { SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26055 { SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26056 { SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26057 { SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26058 { SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26059 { SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26060 { SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26061 { SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26062 { SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26063 { SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26064 { SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26065 { SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26066 { SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26067 { SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26068 { SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26069 { SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26070 { SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26071 { SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26072 { SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26073 { SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26074 { SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26075 { SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26076 { SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26077 { SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26078 { SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26079 { SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26080 { SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26081 { SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26082 { SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26083 { SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26084 { SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26085 { SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26086 { SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26087 { SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26088 { SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26089 { SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26090 { SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26091 { SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26092 { SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26093 { SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26094 { SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26095 { SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26096 { SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26097 { SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26098 { SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26099 { SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26100 { SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26101 { SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26102 { SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26103 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26104 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26105 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26106 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26107 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26108 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26109 { SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26110 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26111 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26112 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26113 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26114 { SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26115 { SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26116 { SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26117 { SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26118 { SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26119 { SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26120 { SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26121 { SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26122 { SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26123 { SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26124 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26125 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26126 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26127 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26128 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26129 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26130 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26131 { SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26132 { SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26133 { SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26134 { SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26135 { SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26136 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26137 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26138 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26139 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26140 { SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26141 { SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26142 { SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26143 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26144 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26145 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26146 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26147 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26148 { SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26149 { SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26150 { SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26151 { SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26152 { SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26153 { SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26154 { SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26155 { SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26156 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26157 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26158 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26159 { SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26160 { SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26161 { SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26162 { SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26163 { SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26164 { SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26165 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26166 { SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26167 { SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26168 { SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26169 { SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26170 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26171 { SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26172 { SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26173 { SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26174 { SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26175 { SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26176 { SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26177 { SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26178 { SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26179 { SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26180 { SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26181 { SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26182 { SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26183 { SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26184 { SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26185 { SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26186 { SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26187 { SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26188 { SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26189 { SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26190 { SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26191 { SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26192 { SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26193 { SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26194 { SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26195 { SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26196 { SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26197 { SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26198 { SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26199 { SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26200 { SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26201 { SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26202 { SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26203 { SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26204 { SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26205 { SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26206 { SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26207 { SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26208 { SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26209 { SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26210 { SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26211 { SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26212 { SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26213 { SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26214 { SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26215 { SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26216 { SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26217 { SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26218 { SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26219 { SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26220 { SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26221 { SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26222 { SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26223 { SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26224 { SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26225 { SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26226 { SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26227 { SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26228 { SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26229 { SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26230 { SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26231 { SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26232 {0}};
26233
26234 #ifdef __cplusplus
26235 }
26236 #endif
26237
26238 #ifdef __cplusplus
26239 extern "C"
26240 #endif
26241 SWIGEXPORT(void) SWIG_init(void) {
26242 static PyObject *SWIG_globals = 0;
26243 static int typeinit = 0;
26244 PyObject *m, *d;
26245 int i;
26246 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26247 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26248 d = PyModule_GetDict(m);
26249
26250 if (!typeinit) {
26251 for (i = 0; swig_types_initial[i]; i++) {
26252 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26253 }
26254 typeinit = 1;
26255 }
26256 SWIG_InstallConstants(d,swig_const_table);
26257
26258 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26259 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26260
26261 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26262
26263 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26264 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26265 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26266 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26267 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26268 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26269 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26270 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26271 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26272 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26273 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26274 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26275 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26276 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26277 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26278 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26279 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26280 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26281 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26282 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26283 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26284 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26285 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26286 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26287 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26288 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26289 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26290 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26291 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26292 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26293 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26294 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26295 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26296 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26297 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26298 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26299 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26300 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26301 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26302 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26303 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26304 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26305 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26306 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26307
26308 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26309
26310 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26311
26312 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26313 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26314 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26315 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26316
26317 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26318 }
26319