]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/misc_wrap.cpp
Put a copy of the generated C++ docs back into the docs tree
[wxWidgets.git] / wxPython / src / mac / misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxLogChain swig_types[0]
213 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
214 #define SWIGTYPE_p_wxMetafile swig_types[2]
215 #define SWIGTYPE_p_wxFileHistory swig_types[3]
216 #define SWIGTYPE_p_wxLog swig_types[4]
217 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
218 #define SWIGTYPE_p_wxMenu swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxConfigBase swig_types[8]
221 #define SWIGTYPE_p_wxWave swig_types[9]
222 #define SWIGTYPE_p_wxFileType swig_types[10]
223 #define SWIGTYPE_p_wxLogGui swig_types[11]
224 #define SWIGTYPE_p_wxFont swig_types[12]
225 #define SWIGTYPE_p_wxDataFormat swig_types[13]
226 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
227 #define SWIGTYPE_p_wxCaret swig_types[15]
228 #define SWIGTYPE_p_int swig_types[16]
229 #define SWIGTYPE_p_wxSize swig_types[17]
230 #define SWIGTYPE_p_wxClipboard swig_types[18]
231 #define SWIGTYPE_p_wxStopWatch swig_types[19]
232 #define SWIGTYPE_p_wxDC swig_types[20]
233 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
234 #define SWIGTYPE_p_wxIcon swig_types[22]
235 #define SWIGTYPE_p_wxLogStderr swig_types[23]
236 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
237 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
238 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
239 #define SWIGTYPE_p_wxFileDataObject swig_types[27]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[28]
241 #define SWIGTYPE_p_wxPyTextDataObject swig_types[29]
242 #define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
243 #define SWIGTYPE_p_wxTextDataObject swig_types[31]
244 #define SWIGTYPE_p_wxDataObject swig_types[32]
245 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
246 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
247 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
248 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
249 #define SWIGTYPE_p_wxLogWindow swig_types[37]
250 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
251 #define SWIGTYPE_p_wxArrayString swig_types[39]
252 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
253 #define SWIGTYPE_p_wxToolTip swig_types[41]
254 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
255 #define SWIGTYPE_p_wxFileConfig swig_types[43]
256 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
257 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
258 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
260 #define SWIGTYPE_p_wxRect swig_types[48]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
263 #define SWIGTYPE_p_wxFrame swig_types[51]
264 #define SWIGTYPE_p_wxTimer swig_types[52]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
268 #define SWIGTYPE_p_wxTipProvider swig_types[56]
269 #define SWIGTYPE_p_wxJoystick swig_types[57]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
271 #define SWIGTYPE_p_wxPoint swig_types[59]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
273 #define SWIGTYPE_p_wxCursor swig_types[61]
274 #define SWIGTYPE_p_wxObject swig_types[62]
275 #define SWIGTYPE_p_wxOutputStream swig_types[63]
276 #define SWIGTYPE_p_wxDateTime swig_types[64]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
278 #define SWIGTYPE_p_wxWindow swig_types[66]
279 #define SWIGTYPE_p_wxString swig_types[67]
280 #define SWIGTYPE_p_wxPyProcess swig_types[68]
281 #define SWIGTYPE_p_wxBitmap swig_types[69]
282 #define SWIGTYPE_p_wxConfig swig_types[70]
283 #define SWIGTYPE_p_wxChar swig_types[71]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
289 #define SWIGTYPE_p_wxPyLog swig_types[77]
290 #define SWIGTYPE_p_wxLogNull swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
293 #define SWIGTYPE_p_wxPyTimer swig_types[81]
294 #define SWIGTYPE_p_wxDateSpan swig_types[82]
295 static swig_type_info *swig_types[84];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _misc.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc
304
305 #define SWIG_name "_misc"
306
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309 #include "wx/wxPython/pyistream.h"
310
311
312 static const wxString wxPyEmptyString(wxEmptyString);
313
314
315 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
316 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
317 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
318
319 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
320 PyObject* o2;
321 PyObject* o3;
322
323 if (!target) {
324 target = o;
325 } else if (target == Py_None) {
326 Py_DECREF(Py_None);
327 target = o;
328 } else {
329 if (!PyTuple_Check(target)) {
330 o2 = target;
331 target = PyTuple_New(1);
332 PyTuple_SetItem(target, 0, o2);
333 }
334 o3 = PyTuple_New(1);
335 PyTuple_SetItem(o3, 0, o);
336
337 o2 = target;
338 target = PySequence_Concat(o2, o3);
339 Py_DECREF(o2);
340 Py_DECREF(o3);
341 }
342 return target;
343 }
344
345
346 bool wxThread_IsMain() {
347 #ifdef WXP_WITH_THREAD
348 return wxThread::IsMain();
349 #else
350 return True;
351 #endif
352 }
353
354
355 int wxCaret_GetBlinkTime() {
356 return wxCaret::GetBlinkTime();
357 }
358
359 void wxCaret_SetBlinkTime(int milliseconds) {
360 wxCaret::SetBlinkTime(milliseconds);
361 }
362
363
364 #include <wx/snglinst.h>
365
366
367 #ifdef __WXMSW__
368 #include <wx/msw/private.h>
369 #include <wx/dynload.h>
370 #endif
371
372
373
374 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
375 {
376 #ifdef __WXMSW__
377
378 switch (method)
379 {
380 case 1:
381 // This one only partially works. Appears to be an undocumented
382 // "standard" convention that not all widgets adhear to. For
383 // example, for some widgets backgrounds or non-client areas may
384 // not be painted.
385 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
386 break;
387
388 case 2:
389 // This one works much better, except for on XP. On Win2k nearly
390 // all widgets and their children are captured correctly[**]. On
391 // XP with Themes activated most native widgets draw only
392 // partially, if at all. Without themes it works just like on
393 // Win2k.
394 //
395 // ** For example the radio buttons in a wxRadioBox are not its
396 // children by default, but you can capture it via the panel
397 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
398 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
399 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
400 PRF_ERASEBKGND | PRF_OWNED );
401 break;
402
403 case 3:
404 // This one is only defined in the latest SDK and is only
405 // available on XP. MSDN says it is similar to sending WM_PRINT
406 // so I expect that it will work similar to the above. Since it
407 // is avaialble only on XP, it can't be compiled like this and
408 // will have to be loaded dynamically.
409 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
410
411 // fall through
412
413 case 4:
414 // Use PrintWindow if available, or fallback to WM_PRINT
415 // otherwise. Unfortunately using PrintWindow is even worse than
416 // WM_PRINT. For most native widgets nothing is drawn to the dc
417 // at all, with or without Themes.
418 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
419 static bool s_triedToLoad = False;
420 static PrintWindow_t pfnPrintWindow = NULL;
421 if ( !s_triedToLoad )
422 {
423
424 s_triedToLoad = True;
425 wxDynamicLibrary dllUser32(_T("user32.dll"));
426 if ( dllUser32.IsLoaded() )
427 {
428 wxLogNull nolog; // Don't report errors here
429 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
430 }
431 }
432 if (pfnPrintWindow)
433 {
434 printf("Using PrintWindow\n");
435 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
436 }
437 else
438 {
439 printf("Using WM_PRINT\n");
440 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
441 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
442 }
443 }
444 #endif
445 }
446
447
448
449 #include <wx/tipdlg.h>
450
451
452 class wxPyTipProvider : public wxTipProvider {
453 public:
454 wxPyTipProvider(size_t currentTip)
455 : wxTipProvider(currentTip) {}
456
457 DEC_PYCALLBACK_STRING__pure(GetTip);
458 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
459 PYPRIVATE;
460 };
461
462 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
463 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
464
465
466 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
467
468 wxString Log_TimeStamp(){
469 wxString msg;
470 wxLog::TimeStamp(&msg);
471 return msg;
472 }
473 void wxLog_Destroy(wxLog *self){ delete self; }
474
475 // A wxLog class that can be derived from in wxPython
476 class wxPyLog : public wxLog {
477 public:
478 wxPyLog() : wxLog() {}
479
480 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
481 bool found;
482 wxPyBeginBlockThreads();
483 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
484 PyObject* s = wx2PyString(szString);
485 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
486 Py_DECREF(s);
487 }
488 wxPyEndBlockThreads();
489 if (! found)
490 wxLog::DoLog(level, szString, t);
491 }
492
493 virtual void DoLogString(const wxChar *szString, time_t t) {
494 bool found;
495 wxPyBeginBlockThreads();
496 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
497 PyObject* s = wx2PyString(szString);
498 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
499 Py_DECREF(s);
500 }
501 wxPyEndBlockThreads();
502 if (! found)
503 wxLog::DoLogString(szString, t);
504 }
505
506 PYPRIVATE;
507 };
508
509
510
511
512 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
513
514
515 #include <wx/joystick.h>
516
517
518 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
519 // A C++ stub class for wxJoystick for platforms that don't have it.
520 class wxJoystick : public wxObject {
521 public:
522 wxJoystick(int joystick = wxJOYSTICK1) {
523 wxPyBeginBlockThreads();
524 PyErr_SetString(PyExc_NotImplementedError,
525 "wxJoystick is not available on this platform.");
526 wxPyEndBlockThreads();
527 }
528 wxPoint GetPosition() { return wxPoint(-1,-1); }
529 int GetZPosition() { return -1; }
530 int GetButtonState() { return -1; }
531 int GetPOVPosition() { return -1; }
532 int GetPOVCTSPosition() { return -1; }
533 int GetRudderPosition() { return -1; }
534 int GetUPosition() { return -1; }
535 int GetVPosition() { return -1; }
536 int GetMovementThreshold() { return -1; }
537 void SetMovementThreshold(int threshold) {}
538
539 bool IsOk(void) { return False; }
540 int GetNumberJoysticks() { return -1; }
541 int GetManufacturerId() { return -1; }
542 int GetProductId() { return -1; }
543 wxString GetProductName() { return ""; }
544 int GetXMin() { return -1; }
545 int GetYMin() { return -1; }
546 int GetZMin() { return -1; }
547 int GetXMax() { return -1; }
548 int GetYMax() { return -1; }
549 int GetZMax() { return -1; }
550 int GetNumberButtons() { return -1; }
551 int GetNumberAxes() { return -1; }
552 int GetMaxButtons() { return -1; }
553 int GetMaxAxes() { return -1; }
554 int GetPollingMin() { return -1; }
555 int GetPollingMax() { return -1; }
556 int GetRudderMin() { return -1; }
557 int GetRudderMax() { return -1; }
558 int GetUMin() { return -1; }
559 int GetUMax() { return -1; }
560 int GetVMin() { return -1; }
561 int GetVMax() { return -1; }
562
563 bool HasRudder() { return False; }
564 bool HasZ() { return False; }
565 bool HasU() { return False; }
566 bool HasV() { return False; }
567 bool HasPOV() { return False; }
568 bool HasPOV4Dir() { return False; }
569 bool HasPOVCTS() { return False; }
570
571 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
572 bool ReleaseCapture() { return False; }
573 };
574 #endif
575
576
577 #include <wx/wave.h>
578
579
580 #if !wxUSE_WAVE
581 // A C++ stub class for wxWave for platforms that don't have it.
582 class wxWave : public wxObject
583 {
584 public:
585 wxWave(const wxString& fileName, bool isResource = False) {
586 wxPyBeginBlockThreads();
587 PyErr_SetString(PyExc_NotImplementedError,
588 "wxWave is not available on this platform.");
589 wxPyEndBlockThreads();
590 }
591 wxWave(int size, const wxByte* data) {
592 wxPyBeginBlockThreads();
593 PyErr_SetString(PyExc_NotImplementedError,
594 "wxWave is not available on this platform.");
595 wxPyEndBlockThreads();
596 }
597
598 ~wxWave() {}
599
600 bool IsOk() const { return False; }
601 bool Play(bool async = True, bool looped = False) const { return False; }
602 };
603
604 #endif
605
606 wxWave *new_wxWave(wxString const &data){
607 return new wxWave(data.Len(), (wxByte*)data.c_str());
608 }
609
610 #include <wx/mimetype.h>
611
612 PyObject *wxFileType_GetMimeType(wxFileType *self){
613 wxString str;
614 if (self->GetMimeType(&str))
615 return wx2PyString(str);
616 else
617 RETURN_NONE();
618 }
619 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
620 wxArrayString arr;
621 if (self->GetMimeTypes(arr))
622 return wxArrayString2PyList_helper(arr);
623 else
624 RETURN_NONE();
625 }
626 PyObject *wxFileType_GetExtensions(wxFileType *self){
627 wxArrayString arr;
628 if (self->GetExtensions(arr))
629 return wxArrayString2PyList_helper(arr);
630 else
631 RETURN_NONE();
632 }
633 wxIcon *wxFileType_GetIcon(wxFileType *self){
634 wxIconLocation loc;
635 if (self->GetIcon(&loc))
636 return new wxIcon(loc);
637 else
638 return NULL;
639 }
640 PyObject *wxFileType_GetIconInfo(wxFileType *self){
641 wxIconLocation loc;
642 if (self->GetIcon(&loc)) {
643 wxString iconFile = loc.GetFileName();
644 int iconIndex = -1;
645
646
647
648 // Make a tuple and put the values in it
649 wxPyBeginBlockThreads();
650 PyObject* tuple = PyTuple_New(3);
651 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
652 wxT("wxIcon"), True));
653 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
654 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
655 wxPyEndBlockThreads();
656 return tuple;
657 }
658 else
659 RETURN_NONE();
660 }
661 PyObject *wxFileType_GetDescription(wxFileType *self){
662 wxString str;
663 if (self->GetDescription(&str))
664 return wx2PyString(str);
665 else
666 RETURN_NONE();
667 }
668 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
669 wxString str;
670 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
671 return wx2PyString(str);
672 else
673 RETURN_NONE();
674 }
675 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
676 wxString str;
677 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
678 return wx2PyString(str);
679 else
680 RETURN_NONE();
681 }
682 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
683 wxArrayString verbs;
684 wxArrayString commands;
685 if (self->GetAllCommands(&verbs, &commands,
686 wxFileType::MessageParameters(filename, mimetype))) {
687 wxPyBeginBlockThreads();
688 PyObject* tuple = PyTuple_New(2);
689 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
690 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
691 wxPyEndBlockThreads();
692 return tuple;
693 }
694 else
695 RETURN_NONE();
696 }
697 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
698 return wxFileType::ExpandCommand(command,
699 wxFileType::MessageParameters(filename, mimetype));
700 }
701 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
702 wxArrayString arr;
703 self->EnumAllFileTypes(arr);
704 return wxArrayString2PyList_helper(arr);
705 }
706
707 #include <wx/artprov.h>
708
709 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
710 static const wxString wxPyART_MENU(wxART_MENU);
711 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
712 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
713 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
714 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
715 static const wxString wxPyART_OTHER(wxART_OTHER);
716 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
717 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
718 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
719 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
720 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
721 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
722 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
723 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
724 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
725 static const wxString wxPyART_GO_UP(wxART_GO_UP);
726 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
727 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
728 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
729 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
730 static const wxString wxPyART_PRINT(wxART_PRINT);
731 static const wxString wxPyART_HELP(wxART_HELP);
732 static const wxString wxPyART_TIP(wxART_TIP);
733 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
734 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
735 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
736 static const wxString wxPyART_FOLDER(wxART_FOLDER);
737 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
738 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
739 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
740 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
741 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
742 static const wxString wxPyART_ERROR(wxART_ERROR);
743 static const wxString wxPyART_QUESTION(wxART_QUESTION);
744 static const wxString wxPyART_WARNING(wxART_WARNING);
745 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
746 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
747 // Python aware wxArtProvider
748 class wxPyArtProvider : public wxArtProvider {
749 public:
750
751 virtual wxBitmap CreateBitmap(const wxArtID& id,
752 const wxArtClient& client,
753 const wxSize& size) {
754 wxBitmap rval = wxNullBitmap;
755 wxPyBeginBlockThreads();
756 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
757 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
758 PyObject* ro;
759 wxBitmap* ptr;
760 PyObject* s1, *s2;
761 s1 = wx2PyString(id);
762 s2 = wx2PyString(client);
763 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
764 Py_DECREF(so);
765 Py_DECREF(s1);
766 Py_DECREF(s2);
767 if (ro) {
768 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
769 rval = *ptr;
770 Py_DECREF(ro);
771 }
772 }
773 wxPyEndBlockThreads();
774 return rval;
775 }
776
777 PYPRIVATE;
778 };
779
780 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
781
782
783
784 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
785 PyObject* ret = PyTuple_New(3);
786 if (ret) {
787 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
788 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
789 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
790 }
791 return ret;
792 }
793
794 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
795 bool cont;
796 long index = 0;
797 wxString value;
798
799 cont = self->GetFirstGroup(value, index);
800 return __EnumerationHelper(cont, value, index);
801 }
802 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
803 bool cont;
804 wxString value;
805
806 cont = self->GetNextGroup(value, index);
807 return __EnumerationHelper(cont, value, index);
808 }
809 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
810 bool cont;
811 long index = 0;
812 wxString value;
813
814 cont = self->GetFirstEntry(value, index);
815 return __EnumerationHelper(cont, value, index);
816 }
817 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
818 bool cont;
819 wxString value;
820
821 cont = self->GetNextEntry(value, index);
822 return __EnumerationHelper(cont, value, index);
823 }
824 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
825 long rv;
826 self->Read(key, &rv, defaultVal);
827 return rv;
828 }
829 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
830 double rv;
831 self->Read(key, &rv, defaultVal);
832 return rv;
833 }
834 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
835 bool rv;
836 self->Read(key, &rv, defaultVal);
837 return rv;
838 }
839
840 #include <wx/datetime.h>
841
842
843 static const wxString wxPyDateFormatStr(wxT("%c"));
844 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
845
846 #define LOCAL_TZ wxDateTime::Local
847
848 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
849 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
850 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
851 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
852 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
853 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
854 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
855 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
856 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
857 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
858 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
859 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
860 const wxChar* rv;
861 const wxChar* _date = date;
862 rv = self->ParseRfc822Date(_date);
863 if (rv == NULL) return -1;
864 return rv - _date;
865 }
866 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
867 const wxChar* rv;
868 const wxChar* _date = date;
869 rv = self->ParseFormat(_date, format, dateDef);
870 if (rv == NULL) return -1;
871 return rv - _date;
872 }
873 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
874 const wxChar* rv;
875 const wxChar* _datetime = datetime;
876 rv = self->ParseDateTime(_datetime);
877 if (rv == NULL) return -1;
878 return rv - _datetime;
879 }
880 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
881 const wxChar* rv;
882 const wxChar* _date = date;
883 rv = self->ParseDate(_date);
884 if (rv == NULL) return -1;
885 return rv - _date;
886 }
887 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
888 const wxChar* rv;
889 const wxChar* _time = time;
890 rv = self->ParseTime(_time);
891 if (rv == NULL) return -1;
892 return rv - _time;
893 }
894 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
895 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
896 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
897 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
898 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
899 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
900 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
901 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
902 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
903 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
904 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
905 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
906 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
907 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
908 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
909 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
910
911 #include <wx/dataobj.h>
912
913 // Create a new class for wxPython to use
914 class wxPyDataObjectSimple : public wxDataObjectSimple {
915 public:
916 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
917 : wxDataObjectSimple(format) {}
918
919 DEC_PYCALLBACK_SIZET__const(GetDataSize);
920 bool GetDataHere(void *buf) const;
921 bool SetData(size_t len, const void *buf) const;
922 PYPRIVATE;
923 };
924
925 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
926
927 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
928 // We need to get the data for this object and write it to buf. I think
929 // the best way to do this for wxPython is to have the Python method
930 // return either a string or None and then act appropriately with the
931 // C++ version.
932
933 bool rval = False;
934 wxPyBeginBlockThreads();
935 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
936 PyObject* ro;
937 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
938 if (ro) {
939 rval = (ro != Py_None && PyString_Check(ro));
940 if (rval)
941 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
942 Py_DECREF(ro);
943 }
944 }
945 wxPyEndBlockThreads();
946 return rval;
947 }
948
949 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
950 // For this one we simply need to make a string from buf and len
951 // and send it to the Python method.
952 bool rval = False;
953 wxPyBeginBlockThreads();
954 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
955 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
956 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
957 Py_DECREF(data);
958 }
959 wxPyEndBlockThreads();
960 return rval;
961 }
962
963 // Create a new class for wxPython to use
964 class wxPyTextDataObject : public wxTextDataObject {
965 public:
966 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
967 : wxTextDataObject(text) {}
968
969 DEC_PYCALLBACK_SIZET__const(GetTextLength);
970 DEC_PYCALLBACK_STRING__const(GetText);
971 DEC_PYCALLBACK__STRING(SetText);
972 PYPRIVATE;
973 };
974
975 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
976 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
977 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
978
979
980 // Create a new class for wxPython to use
981 class wxPyBitmapDataObject : public wxBitmapDataObject {
982 public:
983 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
984 : wxBitmapDataObject(bitmap) {}
985
986 wxBitmap GetBitmap() const;
987 void SetBitmap(const wxBitmap& bitmap);
988 PYPRIVATE;
989 };
990
991 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
992 wxBitmap* rval = &wxNullBitmap;
993 wxPyBeginBlockThreads();
994 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
995 PyObject* ro;
996 wxBitmap* ptr;
997 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
998 if (ro) {
999 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1000 rval = ptr;
1001 Py_DECREF(ro);
1002 }
1003 }
1004 wxPyEndBlockThreads();
1005 return *rval;
1006 }
1007
1008 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1009 wxPyBeginBlockThreads();
1010 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1011 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1012 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1013 Py_DECREF(bo);
1014 }
1015 wxPyEndBlockThreads();
1016 }
1017
1018 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1019 if (PyString_Check(data)) {
1020 // for Python we just call SetData here since we always need it to make a copy.
1021 self->SetData(PyString_Size(data), PyString_AsString(data));
1022 }
1023 else {
1024 // raise a TypeError if not a string
1025 PyErr_SetString(PyExc_TypeError, "String expected.");
1026 }
1027 }
1028 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1029 if (PyString_Check(data)) {
1030 return self->SetData(PyString_Size(data), PyString_AsString(data));
1031 }
1032 else {
1033 // raise a TypeError if not a string
1034 PyErr_SetString(PyExc_TypeError, "String expected.");
1035 return False;
1036 }
1037 }
1038 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1039 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1040 }
1041
1042 #include <wx/metafile.h>
1043
1044
1045 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1046
1047
1048 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1049 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1050 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1051 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1052 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1053
1054
1055 class wxPyTextDropTarget : public wxTextDropTarget {
1056 public:
1057 wxPyTextDropTarget() {}
1058
1059 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1060
1061 DEC_PYCALLBACK__(OnLeave);
1062 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1063 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1064 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1065 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1066
1067 PYPRIVATE;
1068 };
1069
1070 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1071 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1072 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1073 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1074 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1075 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1076
1077
1078
1079 class wxPyFileDropTarget : public wxFileDropTarget {
1080 public:
1081 wxPyFileDropTarget() {}
1082
1083 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1084
1085 DEC_PYCALLBACK__(OnLeave);
1086 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1087 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1088 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1089 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1090
1091 PYPRIVATE;
1092 };
1093
1094 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1095 const wxArrayString& filenames) {
1096 bool rval = False;
1097 wxPyBeginBlockThreads();
1098 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1099 PyObject* list = wxArrayString2PyList_helper(filenames);
1100 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1101 Py_DECREF(list);
1102 }
1103 wxPyEndBlockThreads();
1104 return rval;
1105 }
1106
1107
1108
1109 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1110 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1111 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1112 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1113 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1114
1115
1116
1117
1118 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1119 #ifdef __cplusplus
1120 extern "C" {
1121 #endif
1122 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1123 PyObject *resultobj;
1124 int arg1 ;
1125 wxColour result;
1126 char *kwnames[] = {
1127 (char *) "index", NULL
1128 };
1129
1130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1131 {
1132 PyThreadState* __tstate = wxPyBeginAllowThreads();
1133 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1134
1135 wxPyEndAllowThreads(__tstate);
1136 if (PyErr_Occurred()) SWIG_fail;
1137 }
1138 {
1139 wxColour * resultptr;
1140 resultptr = new wxColour((wxColour &) result);
1141 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1142 }
1143 return resultobj;
1144 fail:
1145 return NULL;
1146 }
1147
1148
1149 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1150 PyObject *resultobj;
1151 int arg1 ;
1152 wxFont result;
1153 char *kwnames[] = {
1154 (char *) "index", NULL
1155 };
1156
1157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1158 {
1159 PyThreadState* __tstate = wxPyBeginAllowThreads();
1160 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1161
1162 wxPyEndAllowThreads(__tstate);
1163 if (PyErr_Occurred()) SWIG_fail;
1164 }
1165 {
1166 wxFont * resultptr;
1167 resultptr = new wxFont((wxFont &) result);
1168 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1169 }
1170 return resultobj;
1171 fail:
1172 return NULL;
1173 }
1174
1175
1176 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject *resultobj;
1178 int arg1 ;
1179 int result;
1180 char *kwnames[] = {
1181 (char *) "index", NULL
1182 };
1183
1184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1185 {
1186 PyThreadState* __tstate = wxPyBeginAllowThreads();
1187 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1188
1189 wxPyEndAllowThreads(__tstate);
1190 if (PyErr_Occurred()) SWIG_fail;
1191 }
1192 resultobj = PyInt_FromLong((long)result);
1193 return resultobj;
1194 fail:
1195 return NULL;
1196 }
1197
1198
1199 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject *resultobj;
1201 int arg1 ;
1202 bool result;
1203 char *kwnames[] = {
1204 (char *) "index", NULL
1205 };
1206
1207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1208 {
1209 PyThreadState* __tstate = wxPyBeginAllowThreads();
1210 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1211
1212 wxPyEndAllowThreads(__tstate);
1213 if (PyErr_Occurred()) SWIG_fail;
1214 }
1215 resultobj = PyInt_FromLong((long)result);
1216 return resultobj;
1217 fail:
1218 return NULL;
1219 }
1220
1221
1222 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1223 PyObject *resultobj;
1224 int result;
1225 char *kwnames[] = {
1226 NULL
1227 };
1228
1229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1230 {
1231 PyThreadState* __tstate = wxPyBeginAllowThreads();
1232 result = (int)wxSystemSettings::GetScreenType();
1233
1234 wxPyEndAllowThreads(__tstate);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 }
1237 resultobj = PyInt_FromLong((long)result);
1238 return resultobj;
1239 fail:
1240 return NULL;
1241 }
1242
1243
1244 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1245 PyObject *resultobj;
1246 int arg1 ;
1247 char *kwnames[] = {
1248 (char *) "screen", NULL
1249 };
1250
1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1252 {
1253 PyThreadState* __tstate = wxPyBeginAllowThreads();
1254 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1255
1256 wxPyEndAllowThreads(__tstate);
1257 if (PyErr_Occurred()) SWIG_fail;
1258 }
1259 Py_INCREF(Py_None); resultobj = Py_None;
1260 return resultobj;
1261 fail:
1262 return NULL;
1263 }
1264
1265
1266 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1267 PyObject *obj;
1268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1269 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1270 Py_INCREF(obj);
1271 return Py_BuildValue((char *)"");
1272 }
1273 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1274 PyObject *resultobj;
1275 wxSystemOptions *result;
1276 char *kwnames[] = {
1277 NULL
1278 };
1279
1280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1281 {
1282 PyThreadState* __tstate = wxPyBeginAllowThreads();
1283 result = (wxSystemOptions *)new wxSystemOptions();
1284
1285 wxPyEndAllowThreads(__tstate);
1286 if (PyErr_Occurred()) SWIG_fail;
1287 }
1288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1289 return resultobj;
1290 fail:
1291 return NULL;
1292 }
1293
1294
1295 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject *resultobj;
1297 wxString *arg1 = 0 ;
1298 wxString *arg2 = 0 ;
1299 bool temp1 = False ;
1300 bool temp2 = False ;
1301 PyObject * obj0 = 0 ;
1302 PyObject * obj1 = 0 ;
1303 char *kwnames[] = {
1304 (char *) "name",(char *) "value", NULL
1305 };
1306
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1308 {
1309 arg1 = wxString_in_helper(obj0);
1310 if (arg1 == NULL) SWIG_fail;
1311 temp1 = True;
1312 }
1313 {
1314 arg2 = wxString_in_helper(obj1);
1315 if (arg2 == NULL) SWIG_fail;
1316 temp2 = True;
1317 }
1318 {
1319 PyThreadState* __tstate = wxPyBeginAllowThreads();
1320 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1321
1322 wxPyEndAllowThreads(__tstate);
1323 if (PyErr_Occurred()) SWIG_fail;
1324 }
1325 Py_INCREF(Py_None); resultobj = Py_None;
1326 {
1327 if (temp1)
1328 delete arg1;
1329 }
1330 {
1331 if (temp2)
1332 delete arg2;
1333 }
1334 return resultobj;
1335 fail:
1336 {
1337 if (temp1)
1338 delete arg1;
1339 }
1340 {
1341 if (temp2)
1342 delete arg2;
1343 }
1344 return NULL;
1345 }
1346
1347
1348 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject *resultobj;
1350 wxString *arg1 = 0 ;
1351 int arg2 ;
1352 bool temp1 = False ;
1353 PyObject * obj0 = 0 ;
1354 char *kwnames[] = {
1355 (char *) "name",(char *) "value", NULL
1356 };
1357
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1359 {
1360 arg1 = wxString_in_helper(obj0);
1361 if (arg1 == NULL) SWIG_fail;
1362 temp1 = True;
1363 }
1364 {
1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
1366 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1367
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 Py_INCREF(Py_None); resultobj = Py_None;
1372 {
1373 if (temp1)
1374 delete arg1;
1375 }
1376 return resultobj;
1377 fail:
1378 {
1379 if (temp1)
1380 delete arg1;
1381 }
1382 return NULL;
1383 }
1384
1385
1386 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1387 PyObject *resultobj;
1388 wxString *arg1 = 0 ;
1389 wxString result;
1390 bool temp1 = False ;
1391 PyObject * obj0 = 0 ;
1392 char *kwnames[] = {
1393 (char *) "name", NULL
1394 };
1395
1396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1397 {
1398 arg1 = wxString_in_helper(obj0);
1399 if (arg1 == NULL) SWIG_fail;
1400 temp1 = True;
1401 }
1402 {
1403 PyThreadState* __tstate = wxPyBeginAllowThreads();
1404 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1405
1406 wxPyEndAllowThreads(__tstate);
1407 if (PyErr_Occurred()) SWIG_fail;
1408 }
1409 {
1410 #if wxUSE_UNICODE
1411 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1412 #else
1413 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1414 #endif
1415 }
1416 {
1417 if (temp1)
1418 delete arg1;
1419 }
1420 return resultobj;
1421 fail:
1422 {
1423 if (temp1)
1424 delete arg1;
1425 }
1426 return NULL;
1427 }
1428
1429
1430 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject *resultobj;
1432 wxString *arg1 = 0 ;
1433 int result;
1434 bool temp1 = False ;
1435 PyObject * obj0 = 0 ;
1436 char *kwnames[] = {
1437 (char *) "name", NULL
1438 };
1439
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1441 {
1442 arg1 = wxString_in_helper(obj0);
1443 if (arg1 == NULL) SWIG_fail;
1444 temp1 = True;
1445 }
1446 {
1447 PyThreadState* __tstate = wxPyBeginAllowThreads();
1448 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1449
1450 wxPyEndAllowThreads(__tstate);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
1453 resultobj = PyInt_FromLong((long)result);
1454 {
1455 if (temp1)
1456 delete arg1;
1457 }
1458 return resultobj;
1459 fail:
1460 {
1461 if (temp1)
1462 delete arg1;
1463 }
1464 return NULL;
1465 }
1466
1467
1468 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1469 PyObject *resultobj;
1470 wxString *arg1 = 0 ;
1471 bool result;
1472 bool temp1 = False ;
1473 PyObject * obj0 = 0 ;
1474 char *kwnames[] = {
1475 (char *) "name", NULL
1476 };
1477
1478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1479 {
1480 arg1 = wxString_in_helper(obj0);
1481 if (arg1 == NULL) SWIG_fail;
1482 temp1 = True;
1483 }
1484 {
1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
1486 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1487
1488 wxPyEndAllowThreads(__tstate);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 resultobj = PyInt_FromLong((long)result);
1492 {
1493 if (temp1)
1494 delete arg1;
1495 }
1496 return resultobj;
1497 fail:
1498 {
1499 if (temp1)
1500 delete arg1;
1501 }
1502 return NULL;
1503 }
1504
1505
1506 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1507 PyObject *obj;
1508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1509 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1510 Py_INCREF(obj);
1511 return Py_BuildValue((char *)"");
1512 }
1513 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1514 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1515 return 1;
1516 }
1517
1518
1519 static PyObject *_wrap_FileSelectorPromptStr_get() {
1520 PyObject *pyobj;
1521
1522 {
1523 #if wxUSE_UNICODE
1524 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1525 #else
1526 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1527 #endif
1528 }
1529 return pyobj;
1530 }
1531
1532
1533 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1534 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1535 return 1;
1536 }
1537
1538
1539 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1540 PyObject *pyobj;
1541
1542 {
1543 #if wxUSE_UNICODE
1544 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1545 #else
1546 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1547 #endif
1548 }
1549 return pyobj;
1550 }
1551
1552
1553 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1554 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1555 return 1;
1556 }
1557
1558
1559 static PyObject *_wrap_DirSelectorPromptStr_get() {
1560 PyObject *pyobj;
1561
1562 {
1563 #if wxUSE_UNICODE
1564 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1565 #else
1566 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1567 #endif
1568 }
1569 return pyobj;
1570 }
1571
1572
1573 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1574 PyObject *resultobj;
1575 long result;
1576 char *kwnames[] = {
1577 NULL
1578 };
1579
1580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 result = (long)wxNewId();
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
1588 resultobj = PyInt_FromLong((long)result);
1589 return resultobj;
1590 fail:
1591 return NULL;
1592 }
1593
1594
1595 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1596 PyObject *resultobj;
1597 long arg1 ;
1598 char *kwnames[] = {
1599 (char *) "id", NULL
1600 };
1601
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 wxRegisterId(arg1);
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 Py_INCREF(Py_None); resultobj = Py_None;
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 long result;
1620 char *kwnames[] = {
1621 NULL
1622 };
1623
1624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1625 {
1626 PyThreadState* __tstate = wxPyBeginAllowThreads();
1627 result = (long)wxGetCurrentId();
1628
1629 wxPyEndAllowThreads(__tstate);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
1632 resultobj = PyInt_FromLong((long)result);
1633 return resultobj;
1634 fail:
1635 return NULL;
1636 }
1637
1638
1639 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject *resultobj;
1641 char *kwnames[] = {
1642 NULL
1643 };
1644
1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 wxBell();
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 Py_INCREF(Py_None); resultobj = Py_None;
1654 return resultobj;
1655 fail:
1656 return NULL;
1657 }
1658
1659
1660 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1661 PyObject *resultobj;
1662 char *kwnames[] = {
1663 NULL
1664 };
1665
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 wxEndBusyCursor();
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 Py_INCREF(Py_None); resultobj = Py_None;
1675 return resultobj;
1676 fail:
1677 return NULL;
1678 }
1679
1680
1681 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 bool arg1 = (bool) True ;
1684 long result;
1685 PyObject * obj0 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "resetTimer", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1691 if (obj0) {
1692 arg1 = PyInt_AsLong(obj0) ? true : false;
1693 if (PyErr_Occurred()) SWIG_fail;
1694 }
1695 {
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 result = (long)wxGetElapsedTime(arg1);
1698
1699 wxPyEndAllowThreads(__tstate);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 }
1702 resultobj = PyInt_FromLong((long)result);
1703 return resultobj;
1704 fail:
1705 return NULL;
1706 }
1707
1708
1709 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject *resultobj;
1711 int *arg1 = (int *) 0 ;
1712 int *arg2 = (int *) 0 ;
1713 int temp1 ;
1714 int temp2 ;
1715 char *kwnames[] = {
1716 NULL
1717 };
1718
1719 arg1 = &temp1;
1720 arg2 = &temp2;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1722 {
1723 PyThreadState* __tstate = wxPyBeginAllowThreads();
1724 wxGetMousePosition(arg1,arg2);
1725
1726 wxPyEndAllowThreads(__tstate);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 Py_INCREF(Py_None); resultobj = Py_None;
1730 {
1731 PyObject *o = PyInt_FromLong((long) (*arg1));
1732 resultobj = t_output_helper(resultobj,o);
1733 }
1734 {
1735 PyObject *o = PyInt_FromLong((long) (*arg2));
1736 resultobj = t_output_helper(resultobj,o);
1737 }
1738 return resultobj;
1739 fail:
1740 return NULL;
1741 }
1742
1743
1744 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1745 PyObject *resultobj;
1746 bool result;
1747 char *kwnames[] = {
1748 NULL
1749 };
1750
1751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1752 {
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 result = (bool)wxIsBusy();
1755
1756 wxPyEndAllowThreads(__tstate);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
1759 resultobj = PyInt_FromLong((long)result);
1760 return resultobj;
1761 fail:
1762 return NULL;
1763 }
1764
1765
1766 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject *resultobj;
1768 wxString result;
1769 char *kwnames[] = {
1770 NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1774 {
1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
1776 result = wxNow();
1777
1778 wxPyEndAllowThreads(__tstate);
1779 if (PyErr_Occurred()) SWIG_fail;
1780 }
1781 {
1782 #if wxUSE_UNICODE
1783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1784 #else
1785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1786 #endif
1787 }
1788 return resultobj;
1789 fail:
1790 return NULL;
1791 }
1792
1793
1794 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject *resultobj;
1796 wxString const &arg1_defvalue = wxPyEmptyString ;
1797 wxString *arg1 = (wxString *) &arg1_defvalue ;
1798 bool result;
1799 bool temp1 = False ;
1800 PyObject * obj0 = 0 ;
1801 char *kwnames[] = {
1802 (char *) "command", NULL
1803 };
1804
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1806 if (obj0) {
1807 {
1808 arg1 = wxString_in_helper(obj0);
1809 if (arg1 == NULL) SWIG_fail;
1810 temp1 = True;
1811 }
1812 }
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 result = (bool)wxShell((wxString const &)*arg1);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 resultobj = PyInt_FromLong((long)result);
1821 {
1822 if (temp1)
1823 delete arg1;
1824 }
1825 return resultobj;
1826 fail:
1827 {
1828 if (temp1)
1829 delete arg1;
1830 }
1831 return NULL;
1832 }
1833
1834
1835 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1836 PyObject *resultobj;
1837 char *kwnames[] = {
1838 NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1842 {
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 wxStartTimer();
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
1849 Py_INCREF(Py_None); resultobj = Py_None;
1850 return resultobj;
1851 fail:
1852 return NULL;
1853 }
1854
1855
1856 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject *resultobj;
1858 int *arg1 = (int *) 0 ;
1859 int *arg2 = (int *) 0 ;
1860 int result;
1861 int temp1 ;
1862 int temp2 ;
1863 char *kwnames[] = {
1864 NULL
1865 };
1866
1867 arg1 = &temp1;
1868 arg2 = &temp2;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1870 {
1871 PyThreadState* __tstate = wxPyBeginAllowThreads();
1872 result = (int)wxGetOsVersion(arg1,arg2);
1873
1874 wxPyEndAllowThreads(__tstate);
1875 if (PyErr_Occurred()) SWIG_fail;
1876 }
1877 resultobj = PyInt_FromLong((long)result);
1878 {
1879 PyObject *o = PyInt_FromLong((long) (*arg1));
1880 resultobj = t_output_helper(resultobj,o);
1881 }
1882 {
1883 PyObject *o = PyInt_FromLong((long) (*arg2));
1884 resultobj = t_output_helper(resultobj,o);
1885 }
1886 return resultobj;
1887 fail:
1888 return NULL;
1889 }
1890
1891
1892 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1893 PyObject *resultobj;
1894 wxString result;
1895 char *kwnames[] = {
1896 NULL
1897 };
1898
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 result = wxGetOsDescription();
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 {
1908 #if wxUSE_UNICODE
1909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1910 #else
1911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1912 #endif
1913 }
1914 return resultobj;
1915 fail:
1916 return NULL;
1917 }
1918
1919
1920 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 long result;
1923 char *kwnames[] = {
1924 NULL
1925 };
1926
1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1928 {
1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
1930 result = (long)wxGetFreeMemory();
1931
1932 wxPyEndAllowThreads(__tstate);
1933 if (PyErr_Occurred()) SWIG_fail;
1934 }
1935 resultobj = PyInt_FromLong((long)result);
1936 return resultobj;
1937 fail:
1938 return NULL;
1939 }
1940
1941
1942 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject *resultobj;
1944 int arg1 ;
1945 bool result;
1946 char *kwnames[] = {
1947 (char *) "wFlags", NULL
1948 };
1949
1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 resultobj = PyInt_FromLong((long)result);
1959 return resultobj;
1960 fail:
1961 return NULL;
1962 }
1963
1964
1965 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1966 PyObject *resultobj;
1967 int arg1 ;
1968 char *kwnames[] = {
1969 (char *) "secs", NULL
1970 };
1971
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1973 {
1974 PyThreadState* __tstate = wxPyBeginAllowThreads();
1975 wxSleep(arg1);
1976
1977 wxPyEndAllowThreads(__tstate);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 }
1980 Py_INCREF(Py_None); resultobj = Py_None;
1981 return resultobj;
1982 fail:
1983 return NULL;
1984 }
1985
1986
1987 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1988 PyObject *resultobj;
1989 unsigned long arg1 ;
1990 PyObject * obj0 = 0 ;
1991 char *kwnames[] = {
1992 (char *) "milliseconds", NULL
1993 };
1994
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
1996 arg1 = (unsigned long) PyInt_AsLong(obj0);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
2000 wxUsleep(arg1);
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
2005 Py_INCREF(Py_None); resultobj = Py_None;
2006 return resultobj;
2007 fail:
2008 return NULL;
2009 }
2010
2011
2012 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2013 PyObject *resultobj;
2014 bool arg1 ;
2015 PyObject * obj0 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "enable", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2021 arg1 = PyInt_AsLong(obj0) ? true : false;
2022 if (PyErr_Occurred()) SWIG_fail;
2023 {
2024 PyThreadState* __tstate = wxPyBeginAllowThreads();
2025 wxEnableTopLevelWindows(arg1);
2026
2027 wxPyEndAllowThreads(__tstate);
2028 if (PyErr_Occurred()) SWIG_fail;
2029 }
2030 Py_INCREF(Py_None); resultobj = Py_None;
2031 return resultobj;
2032 fail:
2033 return NULL;
2034 }
2035
2036
2037 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject *resultobj;
2039 wxString *arg1 = 0 ;
2040 wxString result;
2041 bool temp1 = False ;
2042 PyObject * obj0 = 0 ;
2043 char *kwnames[] = {
2044 (char *) "in", NULL
2045 };
2046
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2048 {
2049 arg1 = wxString_in_helper(obj0);
2050 if (arg1 == NULL) SWIG_fail;
2051 temp1 = True;
2052 }
2053 {
2054 PyThreadState* __tstate = wxPyBeginAllowThreads();
2055 result = wxStripMenuCodes((wxString const &)*arg1);
2056
2057 wxPyEndAllowThreads(__tstate);
2058 if (PyErr_Occurred()) SWIG_fail;
2059 }
2060 {
2061 #if wxUSE_UNICODE
2062 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2063 #else
2064 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2065 #endif
2066 }
2067 {
2068 if (temp1)
2069 delete arg1;
2070 }
2071 return resultobj;
2072 fail:
2073 {
2074 if (temp1)
2075 delete arg1;
2076 }
2077 return NULL;
2078 }
2079
2080
2081 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2082 PyObject *resultobj;
2083 wxString result;
2084 char *kwnames[] = {
2085 NULL
2086 };
2087
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2089 {
2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
2091 result = wxGetEmailAddress();
2092
2093 wxPyEndAllowThreads(__tstate);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 }
2096 {
2097 #if wxUSE_UNICODE
2098 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2099 #else
2100 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2101 #endif
2102 }
2103 return resultobj;
2104 fail:
2105 return NULL;
2106 }
2107
2108
2109 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2110 PyObject *resultobj;
2111 wxString result;
2112 char *kwnames[] = {
2113 NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2117 {
2118 PyThreadState* __tstate = wxPyBeginAllowThreads();
2119 result = wxGetHostName();
2120
2121 wxPyEndAllowThreads(__tstate);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 }
2124 {
2125 #if wxUSE_UNICODE
2126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2127 #else
2128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2129 #endif
2130 }
2131 return resultobj;
2132 fail:
2133 return NULL;
2134 }
2135
2136
2137 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2138 PyObject *resultobj;
2139 wxString result;
2140 char *kwnames[] = {
2141 NULL
2142 };
2143
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 result = wxGetFullHostName();
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 {
2153 #if wxUSE_UNICODE
2154 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2155 #else
2156 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2157 #endif
2158 }
2159 return resultobj;
2160 fail:
2161 return NULL;
2162 }
2163
2164
2165 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxString result;
2168 char *kwnames[] = {
2169 NULL
2170 };
2171
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2173 {
2174 PyThreadState* __tstate = wxPyBeginAllowThreads();
2175 result = wxGetUserId();
2176
2177 wxPyEndAllowThreads(__tstate);
2178 if (PyErr_Occurred()) SWIG_fail;
2179 }
2180 {
2181 #if wxUSE_UNICODE
2182 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2183 #else
2184 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2185 #endif
2186 }
2187 return resultobj;
2188 fail:
2189 return NULL;
2190 }
2191
2192
2193 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2194 PyObject *resultobj;
2195 wxString result;
2196 char *kwnames[] = {
2197 NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = wxGetUserName();
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 {
2209 #if wxUSE_UNICODE
2210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2211 #else
2212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2213 #endif
2214 }
2215 return resultobj;
2216 fail:
2217 return NULL;
2218 }
2219
2220
2221 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject *resultobj;
2223 wxString result;
2224 char *kwnames[] = {
2225 NULL
2226 };
2227
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 result = wxGetHomeDir();
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 {
2237 #if wxUSE_UNICODE
2238 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2239 #else
2240 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2241 #endif
2242 }
2243 return resultobj;
2244 fail:
2245 return NULL;
2246 }
2247
2248
2249 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2250 PyObject *resultobj;
2251 wxString const &arg1_defvalue = wxPyEmptyString ;
2252 wxString *arg1 = (wxString *) &arg1_defvalue ;
2253 wxString result;
2254 bool temp1 = False ;
2255 PyObject * obj0 = 0 ;
2256 char *kwnames[] = {
2257 (char *) "user", NULL
2258 };
2259
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2261 if (obj0) {
2262 {
2263 arg1 = wxString_in_helper(obj0);
2264 if (arg1 == NULL) SWIG_fail;
2265 temp1 = True;
2266 }
2267 }
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 result = wxGetUserHome((wxString const &)*arg1);
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) SWIG_fail;
2274 }
2275 {
2276 #if wxUSE_UNICODE
2277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2278 #else
2279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2280 #endif
2281 }
2282 {
2283 if (temp1)
2284 delete arg1;
2285 }
2286 return resultobj;
2287 fail:
2288 {
2289 if (temp1)
2290 delete arg1;
2291 }
2292 return NULL;
2293 }
2294
2295
2296 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2297 PyObject *resultobj;
2298 unsigned long result;
2299 char *kwnames[] = {
2300 NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2304 {
2305 PyThreadState* __tstate = wxPyBeginAllowThreads();
2306 result = (unsigned long)wxGetProcessId();
2307
2308 wxPyEndAllowThreads(__tstate);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 }
2311 resultobj = PyInt_FromLong((long)result);
2312 return resultobj;
2313 fail:
2314 return NULL;
2315 }
2316
2317
2318 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject *resultobj;
2320 char *kwnames[] = {
2321 NULL
2322 };
2323
2324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 wxTrap();
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 }
2332 Py_INCREF(Py_None); resultobj = Py_None;
2333 return resultobj;
2334 fail:
2335 return NULL;
2336 }
2337
2338
2339 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject *resultobj;
2341 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2342 wxString *arg1 = (wxString *) &arg1_defvalue ;
2343 wxString const &arg2_defvalue = wxPyEmptyString ;
2344 wxString *arg2 = (wxString *) &arg2_defvalue ;
2345 wxString const &arg3_defvalue = wxPyEmptyString ;
2346 wxString *arg3 = (wxString *) &arg3_defvalue ;
2347 wxString const &arg4_defvalue = wxPyEmptyString ;
2348 wxString *arg4 = (wxString *) &arg4_defvalue ;
2349 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2350 wxString *arg5 = (wxString *) &arg5_defvalue ;
2351 int arg6 = (int) 0 ;
2352 wxWindow *arg7 = (wxWindow *) NULL ;
2353 int arg8 = (int) -1 ;
2354 int arg9 = (int) -1 ;
2355 wxString result;
2356 bool temp1 = False ;
2357 bool temp2 = False ;
2358 bool temp3 = False ;
2359 bool temp4 = False ;
2360 bool temp5 = False ;
2361 PyObject * obj0 = 0 ;
2362 PyObject * obj1 = 0 ;
2363 PyObject * obj2 = 0 ;
2364 PyObject * obj3 = 0 ;
2365 PyObject * obj4 = 0 ;
2366 PyObject * obj6 = 0 ;
2367 char *kwnames[] = {
2368 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2369 };
2370
2371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2372 if (obj0) {
2373 {
2374 arg1 = wxString_in_helper(obj0);
2375 if (arg1 == NULL) SWIG_fail;
2376 temp1 = True;
2377 }
2378 }
2379 if (obj1) {
2380 {
2381 arg2 = wxString_in_helper(obj1);
2382 if (arg2 == NULL) SWIG_fail;
2383 temp2 = True;
2384 }
2385 }
2386 if (obj2) {
2387 {
2388 arg3 = wxString_in_helper(obj2);
2389 if (arg3 == NULL) SWIG_fail;
2390 temp3 = True;
2391 }
2392 }
2393 if (obj3) {
2394 {
2395 arg4 = wxString_in_helper(obj3);
2396 if (arg4 == NULL) SWIG_fail;
2397 temp4 = True;
2398 }
2399 }
2400 if (obj4) {
2401 {
2402 arg5 = wxString_in_helper(obj4);
2403 if (arg5 == NULL) SWIG_fail;
2404 temp5 = True;
2405 }
2406 }
2407 if (obj6) {
2408 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2409 }
2410 {
2411 PyThreadState* __tstate = wxPyBeginAllowThreads();
2412 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2413
2414 wxPyEndAllowThreads(__tstate);
2415 if (PyErr_Occurred()) SWIG_fail;
2416 }
2417 {
2418 #if wxUSE_UNICODE
2419 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2420 #else
2421 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2422 #endif
2423 }
2424 {
2425 if (temp1)
2426 delete arg1;
2427 }
2428 {
2429 if (temp2)
2430 delete arg2;
2431 }
2432 {
2433 if (temp3)
2434 delete arg3;
2435 }
2436 {
2437 if (temp4)
2438 delete arg4;
2439 }
2440 {
2441 if (temp5)
2442 delete arg5;
2443 }
2444 return resultobj;
2445 fail:
2446 {
2447 if (temp1)
2448 delete arg1;
2449 }
2450 {
2451 if (temp2)
2452 delete arg2;
2453 }
2454 {
2455 if (temp3)
2456 delete arg3;
2457 }
2458 {
2459 if (temp4)
2460 delete arg4;
2461 }
2462 {
2463 if (temp5)
2464 delete arg5;
2465 }
2466 return NULL;
2467 }
2468
2469
2470 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject *resultobj;
2472 wxString *arg1 = 0 ;
2473 wxString *arg2 = 0 ;
2474 wxString const &arg3_defvalue = wxPyEmptyString ;
2475 wxString *arg3 = (wxString *) &arg3_defvalue ;
2476 wxWindow *arg4 = (wxWindow *) NULL ;
2477 wxString result;
2478 bool temp1 = False ;
2479 bool temp2 = False ;
2480 bool temp3 = False ;
2481 PyObject * obj0 = 0 ;
2482 PyObject * obj1 = 0 ;
2483 PyObject * obj2 = 0 ;
2484 PyObject * obj3 = 0 ;
2485 char *kwnames[] = {
2486 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2487 };
2488
2489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2490 {
2491 arg1 = wxString_in_helper(obj0);
2492 if (arg1 == NULL) SWIG_fail;
2493 temp1 = True;
2494 }
2495 {
2496 arg2 = wxString_in_helper(obj1);
2497 if (arg2 == NULL) SWIG_fail;
2498 temp2 = True;
2499 }
2500 if (obj2) {
2501 {
2502 arg3 = wxString_in_helper(obj2);
2503 if (arg3 == NULL) SWIG_fail;
2504 temp3 = True;
2505 }
2506 }
2507 if (obj3) {
2508 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2509 }
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 {
2518 #if wxUSE_UNICODE
2519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2520 #else
2521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2522 #endif
2523 }
2524 {
2525 if (temp1)
2526 delete arg1;
2527 }
2528 {
2529 if (temp2)
2530 delete arg2;
2531 }
2532 {
2533 if (temp3)
2534 delete arg3;
2535 }
2536 return resultobj;
2537 fail:
2538 {
2539 if (temp1)
2540 delete arg1;
2541 }
2542 {
2543 if (temp2)
2544 delete arg2;
2545 }
2546 {
2547 if (temp3)
2548 delete arg3;
2549 }
2550 return NULL;
2551 }
2552
2553
2554 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxString *arg1 = 0 ;
2557 wxString *arg2 = 0 ;
2558 wxString const &arg3_defvalue = wxPyEmptyString ;
2559 wxString *arg3 = (wxString *) &arg3_defvalue ;
2560 wxWindow *arg4 = (wxWindow *) NULL ;
2561 wxString result;
2562 bool temp1 = False ;
2563 bool temp2 = False ;
2564 bool temp3 = False ;
2565 PyObject * obj0 = 0 ;
2566 PyObject * obj1 = 0 ;
2567 PyObject * obj2 = 0 ;
2568 PyObject * obj3 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2574 {
2575 arg1 = wxString_in_helper(obj0);
2576 if (arg1 == NULL) SWIG_fail;
2577 temp1 = True;
2578 }
2579 {
2580 arg2 = wxString_in_helper(obj1);
2581 if (arg2 == NULL) SWIG_fail;
2582 temp2 = True;
2583 }
2584 if (obj2) {
2585 {
2586 arg3 = wxString_in_helper(obj2);
2587 if (arg3 == NULL) SWIG_fail;
2588 temp3 = True;
2589 }
2590 }
2591 if (obj3) {
2592 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2593 }
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
2601 {
2602 #if wxUSE_UNICODE
2603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2604 #else
2605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2606 #endif
2607 }
2608 {
2609 if (temp1)
2610 delete arg1;
2611 }
2612 {
2613 if (temp2)
2614 delete arg2;
2615 }
2616 {
2617 if (temp3)
2618 delete arg3;
2619 }
2620 return resultobj;
2621 fail:
2622 {
2623 if (temp1)
2624 delete arg1;
2625 }
2626 {
2627 if (temp2)
2628 delete arg2;
2629 }
2630 {
2631 if (temp3)
2632 delete arg3;
2633 }
2634 return NULL;
2635 }
2636
2637
2638 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2639 PyObject *resultobj;
2640 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2641 wxString *arg1 = (wxString *) &arg1_defvalue ;
2642 wxString const &arg2_defvalue = wxPyEmptyString ;
2643 wxString *arg2 = (wxString *) &arg2_defvalue ;
2644 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2645 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2646 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2647 wxWindow *arg5 = (wxWindow *) NULL ;
2648 wxString result;
2649 bool temp1 = False ;
2650 bool temp2 = False ;
2651 wxPoint temp4 ;
2652 PyObject * obj0 = 0 ;
2653 PyObject * obj1 = 0 ;
2654 PyObject * obj3 = 0 ;
2655 PyObject * obj4 = 0 ;
2656 char *kwnames[] = {
2657 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2661 if (obj0) {
2662 {
2663 arg1 = wxString_in_helper(obj0);
2664 if (arg1 == NULL) SWIG_fail;
2665 temp1 = True;
2666 }
2667 }
2668 if (obj1) {
2669 {
2670 arg2 = wxString_in_helper(obj1);
2671 if (arg2 == NULL) SWIG_fail;
2672 temp2 = True;
2673 }
2674 }
2675 if (obj3) {
2676 {
2677 arg4 = &temp4;
2678 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2679 }
2680 }
2681 if (obj4) {
2682 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2683 }
2684 {
2685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2686 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2687
2688 wxPyEndAllowThreads(__tstate);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 {
2692 #if wxUSE_UNICODE
2693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2694 #else
2695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2696 #endif
2697 }
2698 {
2699 if (temp1)
2700 delete arg1;
2701 }
2702 {
2703 if (temp2)
2704 delete arg2;
2705 }
2706 return resultobj;
2707 fail:
2708 {
2709 if (temp1)
2710 delete arg1;
2711 }
2712 {
2713 if (temp2)
2714 delete arg2;
2715 }
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxString *arg1 = 0 ;
2723 wxString const &arg2_defvalue = wxPyEmptyString ;
2724 wxString *arg2 = (wxString *) &arg2_defvalue ;
2725 wxString const &arg3_defvalue = wxPyEmptyString ;
2726 wxString *arg3 = (wxString *) &arg3_defvalue ;
2727 wxWindow *arg4 = (wxWindow *) NULL ;
2728 int arg5 = (int) -1 ;
2729 int arg6 = (int) -1 ;
2730 bool arg7 = (bool) True ;
2731 wxString result;
2732 bool temp1 = False ;
2733 bool temp2 = False ;
2734 bool temp3 = False ;
2735 PyObject * obj0 = 0 ;
2736 PyObject * obj1 = 0 ;
2737 PyObject * obj2 = 0 ;
2738 PyObject * obj3 = 0 ;
2739 PyObject * obj6 = 0 ;
2740 char *kwnames[] = {
2741 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2742 };
2743
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2745 {
2746 arg1 = wxString_in_helper(obj0);
2747 if (arg1 == NULL) SWIG_fail;
2748 temp1 = True;
2749 }
2750 if (obj1) {
2751 {
2752 arg2 = wxString_in_helper(obj1);
2753 if (arg2 == NULL) SWIG_fail;
2754 temp2 = True;
2755 }
2756 }
2757 if (obj2) {
2758 {
2759 arg3 = wxString_in_helper(obj2);
2760 if (arg3 == NULL) SWIG_fail;
2761 temp3 = True;
2762 }
2763 }
2764 if (obj3) {
2765 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2766 }
2767 if (obj6) {
2768 arg7 = PyInt_AsLong(obj6) ? true : false;
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 {
2779 #if wxUSE_UNICODE
2780 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2781 #else
2782 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2783 #endif
2784 }
2785 {
2786 if (temp1)
2787 delete arg1;
2788 }
2789 {
2790 if (temp2)
2791 delete arg2;
2792 }
2793 {
2794 if (temp3)
2795 delete arg3;
2796 }
2797 return resultobj;
2798 fail:
2799 {
2800 if (temp1)
2801 delete arg1;
2802 }
2803 {
2804 if (temp2)
2805 delete arg2;
2806 }
2807 {
2808 if (temp3)
2809 delete arg3;
2810 }
2811 return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxString *arg1 = 0 ;
2818 wxString const &arg2_defvalue = wxPyEmptyString ;
2819 wxString *arg2 = (wxString *) &arg2_defvalue ;
2820 wxString const &arg3_defvalue = wxPyEmptyString ;
2821 wxString *arg3 = (wxString *) &arg3_defvalue ;
2822 wxWindow *arg4 = (wxWindow *) NULL ;
2823 wxString result;
2824 bool temp1 = False ;
2825 bool temp2 = False ;
2826 bool temp3 = False ;
2827 PyObject * obj0 = 0 ;
2828 PyObject * obj1 = 0 ;
2829 PyObject * obj2 = 0 ;
2830 PyObject * obj3 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2836 {
2837 arg1 = wxString_in_helper(obj0);
2838 if (arg1 == NULL) SWIG_fail;
2839 temp1 = True;
2840 }
2841 if (obj1) {
2842 {
2843 arg2 = wxString_in_helper(obj1);
2844 if (arg2 == NULL) SWIG_fail;
2845 temp2 = True;
2846 }
2847 }
2848 if (obj2) {
2849 {
2850 arg3 = wxString_in_helper(obj2);
2851 if (arg3 == NULL) SWIG_fail;
2852 temp3 = True;
2853 }
2854 }
2855 if (obj3) {
2856 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2857 }
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 {
2866 #if wxUSE_UNICODE
2867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2868 #else
2869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2870 #endif
2871 }
2872 {
2873 if (temp1)
2874 delete arg1;
2875 }
2876 {
2877 if (temp2)
2878 delete arg2;
2879 }
2880 {
2881 if (temp3)
2882 delete arg3;
2883 }
2884 return resultobj;
2885 fail:
2886 {
2887 if (temp1)
2888 delete arg1;
2889 }
2890 {
2891 if (temp2)
2892 delete arg2;
2893 }
2894 {
2895 if (temp3)
2896 delete arg3;
2897 }
2898 return NULL;
2899 }
2900
2901
2902 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj;
2904 wxString *arg1 = 0 ;
2905 wxString *arg2 = 0 ;
2906 int arg3 ;
2907 wxString *arg4 = (wxString *) 0 ;
2908 wxWindow *arg5 = (wxWindow *) NULL ;
2909 int arg6 = (int) -1 ;
2910 int arg7 = (int) -1 ;
2911 bool arg8 = (bool) True ;
2912 int arg9 = (int) 150 ;
2913 int arg10 = (int) 200 ;
2914 wxString result;
2915 bool temp1 = False ;
2916 bool temp2 = False ;
2917 PyObject * obj0 = 0 ;
2918 PyObject * obj1 = 0 ;
2919 PyObject * obj2 = 0 ;
2920 PyObject * obj3 = 0 ;
2921 PyObject * obj6 = 0 ;
2922 char *kwnames[] = {
2923 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2924 };
2925
2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2927 {
2928 arg1 = wxString_in_helper(obj0);
2929 if (arg1 == NULL) SWIG_fail;
2930 temp1 = True;
2931 }
2932 {
2933 arg2 = wxString_in_helper(obj1);
2934 if (arg2 == NULL) SWIG_fail;
2935 temp2 = True;
2936 }
2937 {
2938 arg3 = PyList_Size(obj2);
2939 arg4 = wxString_LIST_helper(obj2);
2940 if (arg4 == NULL) SWIG_fail;
2941 }
2942 if (obj3) {
2943 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2944 }
2945 if (obj6) {
2946 arg8 = PyInt_AsLong(obj6) ? true : false;
2947 if (PyErr_Occurred()) SWIG_fail;
2948 }
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 {
2957 #if wxUSE_UNICODE
2958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2959 #else
2960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2961 #endif
2962 }
2963 {
2964 if (temp1)
2965 delete arg1;
2966 }
2967 {
2968 if (temp2)
2969 delete arg2;
2970 }
2971 {
2972 if (arg4) delete [] arg4;
2973 }
2974 return resultobj;
2975 fail:
2976 {
2977 if (temp1)
2978 delete arg1;
2979 }
2980 {
2981 if (temp2)
2982 delete arg2;
2983 }
2984 {
2985 if (arg4) delete [] arg4;
2986 }
2987 return NULL;
2988 }
2989
2990
2991 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2992 PyObject *resultobj;
2993 wxString *arg1 = 0 ;
2994 wxString *arg2 = 0 ;
2995 int arg3 ;
2996 wxString *arg4 = (wxString *) 0 ;
2997 wxWindow *arg5 = (wxWindow *) NULL ;
2998 int arg6 = (int) -1 ;
2999 int arg7 = (int) -1 ;
3000 bool arg8 = (bool) True ;
3001 int arg9 = (int) 150 ;
3002 int arg10 = (int) 200 ;
3003 int result;
3004 bool temp1 = False ;
3005 bool temp2 = False ;
3006 PyObject * obj0 = 0 ;
3007 PyObject * obj1 = 0 ;
3008 PyObject * obj2 = 0 ;
3009 PyObject * obj3 = 0 ;
3010 PyObject * obj6 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3016 {
3017 arg1 = wxString_in_helper(obj0);
3018 if (arg1 == NULL) SWIG_fail;
3019 temp1 = True;
3020 }
3021 {
3022 arg2 = wxString_in_helper(obj1);
3023 if (arg2 == NULL) SWIG_fail;
3024 temp2 = True;
3025 }
3026 {
3027 arg3 = PyList_Size(obj2);
3028 arg4 = wxString_LIST_helper(obj2);
3029 if (arg4 == NULL) SWIG_fail;
3030 }
3031 if (obj3) {
3032 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3033 }
3034 if (obj6) {
3035 arg8 = PyInt_AsLong(obj6) ? true : false;
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
3040 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3041
3042 wxPyEndAllowThreads(__tstate);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 }
3045 resultobj = PyInt_FromLong((long)result);
3046 {
3047 if (temp1)
3048 delete arg1;
3049 }
3050 {
3051 if (temp2)
3052 delete arg2;
3053 }
3054 {
3055 if (arg4) delete [] arg4;
3056 }
3057 return resultobj;
3058 fail:
3059 {
3060 if (temp1)
3061 delete arg1;
3062 }
3063 {
3064 if (temp2)
3065 delete arg2;
3066 }
3067 {
3068 if (arg4) delete [] arg4;
3069 }
3070 return NULL;
3071 }
3072
3073
3074 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3075 PyObject *resultobj;
3076 wxString *arg1 = 0 ;
3077 wxString const &arg2_defvalue = wxPyEmptyString ;
3078 wxString *arg2 = (wxString *) &arg2_defvalue ;
3079 int arg3 = (int) wxOK|wxCENTRE ;
3080 wxWindow *arg4 = (wxWindow *) NULL ;
3081 int arg5 = (int) -1 ;
3082 int arg6 = (int) -1 ;
3083 int result;
3084 bool temp1 = False ;
3085 bool temp2 = False ;
3086 PyObject * obj0 = 0 ;
3087 PyObject * obj1 = 0 ;
3088 PyObject * obj3 = 0 ;
3089 char *kwnames[] = {
3090 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3091 };
3092
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3094 {
3095 arg1 = wxString_in_helper(obj0);
3096 if (arg1 == NULL) SWIG_fail;
3097 temp1 = True;
3098 }
3099 if (obj1) {
3100 {
3101 arg2 = wxString_in_helper(obj1);
3102 if (arg2 == NULL) SWIG_fail;
3103 temp2 = True;
3104 }
3105 }
3106 if (obj3) {
3107 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3108 }
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 resultobj = PyInt_FromLong((long)result);
3117 {
3118 if (temp1)
3119 delete arg1;
3120 }
3121 {
3122 if (temp2)
3123 delete arg2;
3124 }
3125 return resultobj;
3126 fail:
3127 {
3128 if (temp1)
3129 delete arg1;
3130 }
3131 {
3132 if (temp2)
3133 delete arg2;
3134 }
3135 return NULL;
3136 }
3137
3138
3139 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3140 PyObject *resultobj;
3141 wxString *arg1 = 0 ;
3142 wxString *arg2 = 0 ;
3143 wxString *arg3 = 0 ;
3144 long arg4 ;
3145 long arg5 = (long) 0 ;
3146 long arg6 = (long) 100 ;
3147 wxWindow *arg7 = (wxWindow *) NULL ;
3148 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3149 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3150 long result;
3151 bool temp1 = False ;
3152 bool temp2 = False ;
3153 bool temp3 = False ;
3154 wxPoint temp8 ;
3155 PyObject * obj0 = 0 ;
3156 PyObject * obj1 = 0 ;
3157 PyObject * obj2 = 0 ;
3158 PyObject * obj6 = 0 ;
3159 PyObject * obj7 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3165 {
3166 arg1 = wxString_in_helper(obj0);
3167 if (arg1 == NULL) SWIG_fail;
3168 temp1 = True;
3169 }
3170 {
3171 arg2 = wxString_in_helper(obj1);
3172 if (arg2 == NULL) SWIG_fail;
3173 temp2 = True;
3174 }
3175 {
3176 arg3 = wxString_in_helper(obj2);
3177 if (arg3 == NULL) SWIG_fail;
3178 temp3 = True;
3179 }
3180 if (obj6) {
3181 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3182 }
3183 if (obj7) {
3184 {
3185 arg8 = &temp8;
3186 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3187 }
3188 }
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
3196 resultobj = PyInt_FromLong((long)result);
3197 {
3198 if (temp1)
3199 delete arg1;
3200 }
3201 {
3202 if (temp2)
3203 delete arg2;
3204 }
3205 {
3206 if (temp3)
3207 delete arg3;
3208 }
3209 return resultobj;
3210 fail:
3211 {
3212 if (temp1)
3213 delete arg1;
3214 }
3215 {
3216 if (temp2)
3217 delete arg2;
3218 }
3219 {
3220 if (temp3)
3221 delete arg3;
3222 }
3223 return NULL;
3224 }
3225
3226
3227 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 bool result;
3230 char *kwnames[] = {
3231 NULL
3232 };
3233
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 result = (bool)wxColourDisplay();
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 resultobj = PyInt_FromLong((long)result);
3243 return resultobj;
3244 fail:
3245 return NULL;
3246 }
3247
3248
3249 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3250 PyObject *resultobj;
3251 int result;
3252 char *kwnames[] = {
3253 NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 result = (int)wxDisplayDepth();
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 resultobj = PyInt_FromLong((long)result);
3265 return resultobj;
3266 fail:
3267 return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject *resultobj;
3273 int result;
3274 char *kwnames[] = {
3275 NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3279 {
3280 PyThreadState* __tstate = wxPyBeginAllowThreads();
3281 result = (int)wxGetDisplayDepth();
3282
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 resultobj = PyInt_FromLong((long)result);
3287 return resultobj;
3288 fail:
3289 return NULL;
3290 }
3291
3292
3293 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3294 PyObject *resultobj;
3295 int *arg1 = (int *) 0 ;
3296 int *arg2 = (int *) 0 ;
3297 int temp1 ;
3298 int temp2 ;
3299 char *kwnames[] = {
3300 NULL
3301 };
3302
3303 arg1 = &temp1;
3304 arg2 = &temp2;
3305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3306 {
3307 PyThreadState* __tstate = wxPyBeginAllowThreads();
3308 wxDisplaySize(arg1,arg2);
3309
3310 wxPyEndAllowThreads(__tstate);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 Py_INCREF(Py_None); resultobj = Py_None;
3314 {
3315 PyObject *o = PyInt_FromLong((long) (*arg1));
3316 resultobj = t_output_helper(resultobj,o);
3317 }
3318 {
3319 PyObject *o = PyInt_FromLong((long) (*arg2));
3320 resultobj = t_output_helper(resultobj,o);
3321 }
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3329 PyObject *resultobj;
3330 wxSize result;
3331 char *kwnames[] = {
3332 NULL
3333 };
3334
3335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 result = wxGetDisplaySize();
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 {
3344 wxSize * resultptr;
3345 resultptr = new wxSize((wxSize &) result);
3346 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3347 }
3348 return resultobj;
3349 fail:
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj;
3356 int *arg1 = (int *) 0 ;
3357 int *arg2 = (int *) 0 ;
3358 int temp1 ;
3359 int temp2 ;
3360 char *kwnames[] = {
3361 NULL
3362 };
3363
3364 arg1 = &temp1;
3365 arg2 = &temp2;
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3367 {
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 wxDisplaySizeMM(arg1,arg2);
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 Py_INCREF(Py_None); resultobj = Py_None;
3375 {
3376 PyObject *o = PyInt_FromLong((long) (*arg1));
3377 resultobj = t_output_helper(resultobj,o);
3378 }
3379 {
3380 PyObject *o = PyInt_FromLong((long) (*arg2));
3381 resultobj = t_output_helper(resultobj,o);
3382 }
3383 return resultobj;
3384 fail:
3385 return NULL;
3386 }
3387
3388
3389 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3390 PyObject *resultobj;
3391 wxSize result;
3392 char *kwnames[] = {
3393 NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3397 {
3398 PyThreadState* __tstate = wxPyBeginAllowThreads();
3399 result = wxGetDisplaySizeMM();
3400
3401 wxPyEndAllowThreads(__tstate);
3402 if (PyErr_Occurred()) SWIG_fail;
3403 }
3404 {
3405 wxSize * resultptr;
3406 resultptr = new wxSize((wxSize &) result);
3407 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3408 }
3409 return resultobj;
3410 fail:
3411 return NULL;
3412 }
3413
3414
3415 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 int *arg1 = (int *) 0 ;
3418 int *arg2 = (int *) 0 ;
3419 int *arg3 = (int *) 0 ;
3420 int *arg4 = (int *) 0 ;
3421 int temp1 ;
3422 int temp2 ;
3423 int temp3 ;
3424 int temp4 ;
3425 char *kwnames[] = {
3426 NULL
3427 };
3428
3429 arg1 = &temp1;
3430 arg2 = &temp2;
3431 arg3 = &temp3;
3432 arg4 = &temp4;
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3434 {
3435 PyThreadState* __tstate = wxPyBeginAllowThreads();
3436 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3437
3438 wxPyEndAllowThreads(__tstate);
3439 if (PyErr_Occurred()) SWIG_fail;
3440 }
3441 Py_INCREF(Py_None); resultobj = Py_None;
3442 {
3443 PyObject *o = PyInt_FromLong((long) (*arg1));
3444 resultobj = t_output_helper(resultobj,o);
3445 }
3446 {
3447 PyObject *o = PyInt_FromLong((long) (*arg2));
3448 resultobj = t_output_helper(resultobj,o);
3449 }
3450 {
3451 PyObject *o = PyInt_FromLong((long) (*arg3));
3452 resultobj = t_output_helper(resultobj,o);
3453 }
3454 {
3455 PyObject *o = PyInt_FromLong((long) (*arg4));
3456 resultobj = t_output_helper(resultobj,o);
3457 }
3458 return resultobj;
3459 fail:
3460 return NULL;
3461 }
3462
3463
3464 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3465 PyObject *resultobj;
3466 wxRect result;
3467 char *kwnames[] = {
3468 NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = wxGetClientDisplayRect();
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 {
3480 wxRect * resultptr;
3481 resultptr = new wxRect((wxRect &) result);
3482 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3483 }
3484 return resultobj;
3485 fail:
3486 return NULL;
3487 }
3488
3489
3490 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxCursor *arg1 = 0 ;
3493 PyObject * obj0 = 0 ;
3494 char *kwnames[] = {
3495 (char *) "cursor", NULL
3496 };
3497
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3500 if (arg1 == NULL) {
3501 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3502 }
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 wxSetCursor(*arg1);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 Py_INCREF(Py_None); resultobj = Py_None;
3511 return resultobj;
3512 fail:
3513 return NULL;
3514 }
3515
3516
3517 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3520 PyObject * obj0 = 0 ;
3521 char *kwnames[] = {
3522 (char *) "cursor", NULL
3523 };
3524
3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3526 if (obj0) {
3527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3528 }
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 wxBeginBusyCursor(arg1);
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 Py_INCREF(Py_None); resultobj = Py_None;
3537 return resultobj;
3538 fail:
3539 return NULL;
3540 }
3541
3542
3543 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj;
3545 wxWindow *result;
3546 char *kwnames[] = {
3547 NULL
3548 };
3549
3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (wxWindow *)wxGetActiveWindow();
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 {
3559 resultobj = wxPyMake_wxObject(result);
3560 }
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxPoint *arg1 = 0 ;
3570 wxWindow *result;
3571 wxPoint temp1 ;
3572 PyObject * obj0 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "pt", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3578 {
3579 arg1 = &temp1;
3580 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3581 }
3582 {
3583 PyThreadState* __tstate = wxPyBeginAllowThreads();
3584 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3585
3586 wxPyEndAllowThreads(__tstate);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 {
3590 resultobj = wxPyMake_wxObject(result);
3591 }
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj;
3600 wxPoint *arg1 = 0 ;
3601 wxWindow *result;
3602 wxPoint temp1 ;
3603 PyObject * obj0 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "pt", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3609 {
3610 arg1 = &temp1;
3611 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3612 }
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 {
3621 resultobj = wxPyMake_wxObject(result);
3622 }
3623 return resultobj;
3624 fail:
3625 return NULL;
3626 }
3627
3628
3629 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj;
3631 wxWindow *arg1 = (wxWindow *) 0 ;
3632 wxWindow *result;
3633 PyObject * obj0 = 0 ;
3634 char *kwnames[] = {
3635 (char *) "win", NULL
3636 };
3637
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (wxWindow *)wxGetTopLevelParent(arg1);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 resultobj = wxPyMake_wxObject(result);
3649 }
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 int arg1 ;
3659 bool result;
3660 char *kwnames[] = {
3661 (char *) "key", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:GetKeyState",kwnames,&arg1)) goto fail;
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
3667 result = (bool)wxGetKeyState((wxKeyCode )arg1);
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
3672 resultobj = PyInt_FromLong((long)result);
3673 return resultobj;
3674 fail:
3675 return NULL;
3676 }
3677
3678
3679 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 char *kwnames[] = {
3682 NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 wxWakeUpMainThread();
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 Py_INCREF(Py_None); resultobj = Py_None;
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj;
3702 char *kwnames[] = {
3703 NULL
3704 };
3705
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 wxMutexGuiEnter();
3710
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 }
3714 Py_INCREF(Py_None); resultobj = Py_None;
3715 return resultobj;
3716 fail:
3717 return NULL;
3718 }
3719
3720
3721 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3722 PyObject *resultobj;
3723 char *kwnames[] = {
3724 NULL
3725 };
3726
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 wxMutexGuiLeave();
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 Py_INCREF(Py_None); resultobj = Py_None;
3736 return resultobj;
3737 fail:
3738 return NULL;
3739 }
3740
3741
3742 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3743 PyObject *resultobj;
3744 wxMutexGuiLocker *result;
3745 char *kwnames[] = {
3746 NULL
3747 };
3748
3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3750 {
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3753
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3758 return resultobj;
3759 fail:
3760 return NULL;
3761 }
3762
3763
3764 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3765 PyObject *resultobj;
3766 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3767 PyObject * obj0 = 0 ;
3768 char *kwnames[] = {
3769 (char *) "self", NULL
3770 };
3771
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3774 {
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 delete arg1;
3777
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 Py_INCREF(Py_None); resultobj = Py_None;
3782 return resultobj;
3783 fail:
3784 return NULL;
3785 }
3786
3787
3788 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3789 PyObject *obj;
3790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3791 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3792 Py_INCREF(obj);
3793 return Py_BuildValue((char *)"");
3794 }
3795 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject *resultobj;
3797 bool result;
3798 char *kwnames[] = {
3799 NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = (bool)wxThread_IsMain();
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 resultobj = PyInt_FromLong((long)result);
3811 return resultobj;
3812 fail:
3813 return NULL;
3814 }
3815
3816
3817 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3818 PyObject *resultobj;
3819 wxString *arg1 = 0 ;
3820 wxToolTip *result;
3821 bool temp1 = False ;
3822 PyObject * obj0 = 0 ;
3823 char *kwnames[] = {
3824 (char *) "tip", NULL
3825 };
3826
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3828 {
3829 arg1 = wxString_in_helper(obj0);
3830 if (arg1 == NULL) SWIG_fail;
3831 temp1 = True;
3832 }
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 {
3841 resultobj = wxPyMake_wxObject(result);
3842 }
3843 {
3844 if (temp1)
3845 delete arg1;
3846 }
3847 return resultobj;
3848 fail:
3849 {
3850 if (temp1)
3851 delete arg1;
3852 }
3853 return NULL;
3854 }
3855
3856
3857 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject *resultobj;
3859 wxToolTip *arg1 = (wxToolTip *) 0 ;
3860 wxString *arg2 = 0 ;
3861 bool temp2 = False ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "tip", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3870 {
3871 arg2 = wxString_in_helper(obj1);
3872 if (arg2 == NULL) SWIG_fail;
3873 temp2 = True;
3874 }
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->SetTip((wxString const &)*arg2);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 {
3884 if (temp2)
3885 delete arg2;
3886 }
3887 return resultobj;
3888 fail:
3889 {
3890 if (temp2)
3891 delete arg2;
3892 }
3893 return NULL;
3894 }
3895
3896
3897 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3898 PyObject *resultobj;
3899 wxToolTip *arg1 = (wxToolTip *) 0 ;
3900 wxString result;
3901 PyObject * obj0 = 0 ;
3902 char *kwnames[] = {
3903 (char *) "self", NULL
3904 };
3905
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 result = (arg1)->GetTip();
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
3915 {
3916 #if wxUSE_UNICODE
3917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3918 #else
3919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3920 #endif
3921 }
3922 return resultobj;
3923 fail:
3924 return NULL;
3925 }
3926
3927
3928 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3929 PyObject *resultobj;
3930 wxToolTip *arg1 = (wxToolTip *) 0 ;
3931 wxWindow *result;
3932 PyObject * obj0 = 0 ;
3933 char *kwnames[] = {
3934 (char *) "self", NULL
3935 };
3936
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 result = (wxWindow *)(arg1)->GetWindow();
3942
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 {
3947 resultobj = wxPyMake_wxObject(result);
3948 }
3949 return resultobj;
3950 fail:
3951 return NULL;
3952 }
3953
3954
3955 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 bool arg1 ;
3958 PyObject * obj0 = 0 ;
3959 char *kwnames[] = {
3960 (char *) "flag", NULL
3961 };
3962
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3964 arg1 = PyInt_AsLong(obj0) ? true : false;
3965 if (PyErr_Occurred()) SWIG_fail;
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 wxToolTip::Enable(arg1);
3969
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 Py_INCREF(Py_None); resultobj = Py_None;
3974 return resultobj;
3975 fail:
3976 return NULL;
3977 }
3978
3979
3980 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj;
3982 long arg1 ;
3983 char *kwnames[] = {
3984 (char *) "milliseconds", NULL
3985 };
3986
3987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 wxToolTip::SetDelay(arg1);
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) SWIG_fail;
3994 }
3995 Py_INCREF(Py_None); resultobj = Py_None;
3996 return resultobj;
3997 fail:
3998 return NULL;
3999 }
4000
4001
4002 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4003 PyObject *obj;
4004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4005 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4006 Py_INCREF(obj);
4007 return Py_BuildValue((char *)"");
4008 }
4009 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4010 PyObject *resultobj;
4011 wxWindow *arg1 = (wxWindow *) 0 ;
4012 wxSize *arg2 = 0 ;
4013 wxCaret *result;
4014 wxSize temp2 ;
4015 PyObject * obj0 = 0 ;
4016 PyObject * obj1 = 0 ;
4017 char *kwnames[] = {
4018 (char *) "window",(char *) "size", NULL
4019 };
4020
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4023 {
4024 arg2 = &temp2;
4025 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4026 }
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4030
4031 wxPyEndAllowThreads(__tstate);
4032 if (PyErr_Occurred()) SWIG_fail;
4033 }
4034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4035 return resultobj;
4036 fail:
4037 return NULL;
4038 }
4039
4040
4041 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4042 PyObject *resultobj;
4043 wxCaret *arg1 = (wxCaret *) 0 ;
4044 PyObject * obj0 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "self", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 delete arg1;
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4058 Py_INCREF(Py_None); resultobj = Py_None;
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj;
4067 wxCaret *arg1 = (wxCaret *) 0 ;
4068 bool result;
4069 PyObject * obj0 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "self", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4076 {
4077 PyThreadState* __tstate = wxPyBeginAllowThreads();
4078 result = (bool)(arg1)->IsOk();
4079
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 resultobj = PyInt_FromLong((long)result);
4084 return resultobj;
4085 fail:
4086 return NULL;
4087 }
4088
4089
4090 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4091 PyObject *resultobj;
4092 wxCaret *arg1 = (wxCaret *) 0 ;
4093 bool result;
4094 PyObject * obj0 = 0 ;
4095 char *kwnames[] = {
4096 (char *) "self", NULL
4097 };
4098
4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4101 {
4102 PyThreadState* __tstate = wxPyBeginAllowThreads();
4103 result = (bool)(arg1)->IsVisible();
4104
4105 wxPyEndAllowThreads(__tstate);
4106 if (PyErr_Occurred()) SWIG_fail;
4107 }
4108 resultobj = PyInt_FromLong((long)result);
4109 return resultobj;
4110 fail:
4111 return NULL;
4112 }
4113
4114
4115 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4116 PyObject *resultobj;
4117 wxCaret *arg1 = (wxCaret *) 0 ;
4118 wxPoint result;
4119 PyObject * obj0 = 0 ;
4120 char *kwnames[] = {
4121 (char *) "self", NULL
4122 };
4123
4124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4126 {
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 result = (arg1)->GetPosition();
4129
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 {
4134 wxPoint * resultptr;
4135 resultptr = new wxPoint((wxPoint &) result);
4136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4137 }
4138 return resultobj;
4139 fail:
4140 return NULL;
4141 }
4142
4143
4144 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj;
4146 wxCaret *arg1 = (wxCaret *) 0 ;
4147 int *arg2 = (int *) 0 ;
4148 int *arg3 = (int *) 0 ;
4149 int temp2 ;
4150 int temp3 ;
4151 PyObject * obj0 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self", NULL
4154 };
4155
4156 arg2 = &temp2;
4157 arg3 = &temp3;
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",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 (arg1)->GetPosition(arg2,arg3);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 Py_INCREF(Py_None); resultobj = Py_None;
4168 {
4169 PyObject *o = PyInt_FromLong((long) (*arg2));
4170 resultobj = t_output_helper(resultobj,o);
4171 }
4172 {
4173 PyObject *o = PyInt_FromLong((long) (*arg3));
4174 resultobj = t_output_helper(resultobj,o);
4175 }
4176 return resultobj;
4177 fail:
4178 return NULL;
4179 }
4180
4181
4182 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxCaret *arg1 = (wxCaret *) 0 ;
4185 wxSize result;
4186 PyObject * obj0 = 0 ;
4187 char *kwnames[] = {
4188 (char *) "self", NULL
4189 };
4190
4191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 result = (arg1)->GetSize();
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 {
4201 wxSize * resultptr;
4202 resultptr = new wxSize((wxSize &) result);
4203 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4204 }
4205 return resultobj;
4206 fail:
4207 return NULL;
4208 }
4209
4210
4211 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4212 PyObject *resultobj;
4213 wxCaret *arg1 = (wxCaret *) 0 ;
4214 int *arg2 = (int *) 0 ;
4215 int *arg3 = (int *) 0 ;
4216 int temp2 ;
4217 int temp3 ;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self", NULL
4221 };
4222
4223 arg2 = &temp2;
4224 arg3 = &temp3;
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",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 (arg1)->GetSize(arg2,arg3);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 Py_INCREF(Py_None); resultobj = Py_None;
4235 {
4236 PyObject *o = PyInt_FromLong((long) (*arg2));
4237 resultobj = t_output_helper(resultobj,o);
4238 }
4239 {
4240 PyObject *o = PyInt_FromLong((long) (*arg3));
4241 resultobj = t_output_helper(resultobj,o);
4242 }
4243 return resultobj;
4244 fail:
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxCaret *arg1 = (wxCaret *) 0 ;
4252 wxWindow *result;
4253 PyObject * obj0 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 result = (wxWindow *)(arg1)->GetWindow();
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 {
4268 resultobj = wxPyMake_wxObject(result);
4269 }
4270 return resultobj;
4271 fail:
4272 return NULL;
4273 }
4274
4275
4276 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxCaret *arg1 = (wxCaret *) 0 ;
4279 int arg2 ;
4280 int arg3 ;
4281 PyObject * obj0 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "x",(char *) "y", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 (arg1)->Move(arg2,arg3);
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 Py_INCREF(Py_None); resultobj = Py_None;
4296 return resultobj;
4297 fail:
4298 return NULL;
4299 }
4300
4301
4302 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4303 PyObject *resultobj;
4304 wxCaret *arg1 = (wxCaret *) 0 ;
4305 wxPoint *arg2 = 0 ;
4306 wxPoint temp2 ;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self",(char *) "pt", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4315 {
4316 arg2 = &temp2;
4317 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4318 }
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 (arg1)->Move((wxPoint const &)*arg2);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 Py_INCREF(Py_None); resultobj = Py_None;
4327 return resultobj;
4328 fail:
4329 return NULL;
4330 }
4331
4332
4333 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj;
4335 wxCaret *arg1 = (wxCaret *) 0 ;
4336 int arg2 ;
4337 int arg3 ;
4338 PyObject * obj0 = 0 ;
4339 char *kwnames[] = {
4340 (char *) "self",(char *) "width",(char *) "height", NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 (arg1)->SetSize(arg2,arg3);
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 Py_INCREF(Py_None); resultobj = Py_None;
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxCaret *arg1 = (wxCaret *) 0 ;
4362 wxSize *arg2 = 0 ;
4363 wxSize temp2 ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 char *kwnames[] = {
4367 (char *) "self",(char *) "size", NULL
4368 };
4369
4370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4372 {
4373 arg2 = &temp2;
4374 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4375 }
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 (arg1)->SetSize((wxSize const &)*arg2);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 Py_INCREF(Py_None); resultobj = Py_None;
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxCaret *arg1 = (wxCaret *) 0 ;
4393 int arg2 = (int) True ;
4394 PyObject * obj0 = 0 ;
4395 char *kwnames[] = {
4396 (char *) "self",(char *) "show", NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 (arg1)->Show(arg2);
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 Py_INCREF(Py_None); resultobj = Py_None;
4409 return resultobj;
4410 fail:
4411 return NULL;
4412 }
4413
4414
4415 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4416 PyObject *resultobj;
4417 wxCaret *arg1 = (wxCaret *) 0 ;
4418 PyObject * obj0 = 0 ;
4419 char *kwnames[] = {
4420 (char *) "self", NULL
4421 };
4422
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 (arg1)->Hide();
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 Py_INCREF(Py_None); resultobj = Py_None;
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4440 PyObject *obj;
4441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4442 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4443 Py_INCREF(obj);
4444 return Py_BuildValue((char *)"");
4445 }
4446 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 int result;
4449 char *kwnames[] = {
4450 NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (int)wxCaret_GetBlinkTime();
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = PyInt_FromLong((long)result);
4462 return resultobj;
4463 fail:
4464 return NULL;
4465 }
4466
4467
4468 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj;
4470 int arg1 ;
4471 char *kwnames[] = {
4472 (char *) "milliseconds", NULL
4473 };
4474
4475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 wxCaret_SetBlinkTime(arg1);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 Py_INCREF(Py_None); resultobj = Py_None;
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4493 wxBusyCursor *result;
4494 PyObject * obj0 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "cursor", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4500 if (obj0) {
4501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4502 }
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4511 return resultobj;
4512 fail:
4513 return NULL;
4514 }
4515
4516
4517 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj;
4519 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4520 PyObject * obj0 = 0 ;
4521 char *kwnames[] = {
4522 (char *) "self", NULL
4523 };
4524
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4527 {
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 delete arg1;
4530
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 Py_INCREF(Py_None); resultobj = Py_None;
4535 return resultobj;
4536 fail:
4537 return NULL;
4538 }
4539
4540
4541 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4542 PyObject *obj;
4543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4544 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4545 Py_INCREF(obj);
4546 return Py_BuildValue((char *)"");
4547 }
4548 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxWindow *arg1 = (wxWindow *) NULL ;
4551 wxWindowDisabler *result;
4552 PyObject * obj0 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "winToSkip", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4558 if (obj0) {
4559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4560 }
4561 {
4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
4563 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4564
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4569 return resultobj;
4570 fail:
4571 return NULL;
4572 }
4573
4574
4575 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4576 PyObject *resultobj;
4577 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4578 PyObject * obj0 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 delete arg1;
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 Py_INCREF(Py_None); resultobj = Py_None;
4593 return resultobj;
4594 fail:
4595 return NULL;
4596 }
4597
4598
4599 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4600 PyObject *obj;
4601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4602 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4603 Py_INCREF(obj);
4604 return Py_BuildValue((char *)"");
4605 }
4606 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4607 PyObject *resultobj;
4608 wxString *arg1 = 0 ;
4609 wxBusyInfo *result;
4610 bool temp1 = False ;
4611 PyObject * obj0 = 0 ;
4612 char *kwnames[] = {
4613 (char *) "message", NULL
4614 };
4615
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4617 {
4618 arg1 = wxString_in_helper(obj0);
4619 if (arg1 == NULL) SWIG_fail;
4620 temp1 = True;
4621 }
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4630 {
4631 if (temp1)
4632 delete arg1;
4633 }
4634 return resultobj;
4635 fail:
4636 {
4637 if (temp1)
4638 delete arg1;
4639 }
4640 return NULL;
4641 }
4642
4643
4644 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4645 PyObject *resultobj;
4646 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4647 PyObject * obj0 = 0 ;
4648 char *kwnames[] = {
4649 (char *) "self", NULL
4650 };
4651
4652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 delete arg1;
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 Py_INCREF(Py_None); resultobj = Py_None;
4662 return resultobj;
4663 fail:
4664 return NULL;
4665 }
4666
4667
4668 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4669 PyObject *obj;
4670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4671 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4672 Py_INCREF(obj);
4673 return Py_BuildValue((char *)"");
4674 }
4675 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxStopWatch *result;
4678 char *kwnames[] = {
4679 NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4683 {
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 result = (wxStopWatch *)new wxStopWatch();
4686
4687 wxPyEndAllowThreads(__tstate);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4691 return resultobj;
4692 fail:
4693 return NULL;
4694 }
4695
4696
4697 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4698 PyObject *resultobj;
4699 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4700 long arg2 = (long) 0 ;
4701 PyObject * obj0 = 0 ;
4702 char *kwnames[] = {
4703 (char *) "self",(char *) "t0", NULL
4704 };
4705
4706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 (arg1)->Start(arg2);
4711
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 Py_INCREF(Py_None); resultobj = Py_None;
4716 return resultobj;
4717 fail:
4718 return NULL;
4719 }
4720
4721
4722 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj;
4724 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4725 PyObject * obj0 = 0 ;
4726 char *kwnames[] = {
4727 (char *) "self", NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4732 {
4733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4734 (arg1)->Pause();
4735
4736 wxPyEndAllowThreads(__tstate);
4737 if (PyErr_Occurred()) SWIG_fail;
4738 }
4739 Py_INCREF(Py_None); resultobj = Py_None;
4740 return resultobj;
4741 fail:
4742 return NULL;
4743 }
4744
4745
4746 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4747 PyObject *resultobj;
4748 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 (arg1)->Resume();
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 Py_INCREF(Py_None); resultobj = Py_None;
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4773 long result;
4774 PyObject * obj0 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4781 {
4782 PyThreadState* __tstate = wxPyBeginAllowThreads();
4783 result = (long)((wxStopWatch const *)arg1)->Time();
4784
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 resultobj = PyInt_FromLong((long)result);
4789 return resultobj;
4790 fail:
4791 return NULL;
4792 }
4793
4794
4795 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4796 PyObject *obj;
4797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4798 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4799 Py_INCREF(obj);
4800 return Py_BuildValue((char *)"");
4801 }
4802 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject *resultobj;
4804 int arg1 = (int) 9 ;
4805 wxFileHistory *result;
4806 char *kwnames[] = {
4807 (char *) "maxFiles", NULL
4808 };
4809
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = (wxFileHistory *)new wxFileHistory(arg1);
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4819 return resultobj;
4820 fail:
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 delete arg1;
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 Py_INCREF(Py_None); resultobj = Py_None;
4843 return resultobj;
4844 fail:
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4852 wxString *arg2 = 0 ;
4853 bool temp2 = False ;
4854 PyObject * obj0 = 0 ;
4855 PyObject * obj1 = 0 ;
4856 char *kwnames[] = {
4857 (char *) "self",(char *) "file", NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4862 {
4863 arg2 = wxString_in_helper(obj1);
4864 if (arg2 == NULL) SWIG_fail;
4865 temp2 = True;
4866 }
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 (arg1)->AddFileToHistory((wxString const &)*arg2);
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) SWIG_fail;
4873 }
4874 Py_INCREF(Py_None); resultobj = Py_None;
4875 {
4876 if (temp2)
4877 delete arg2;
4878 }
4879 return resultobj;
4880 fail:
4881 {
4882 if (temp2)
4883 delete arg2;
4884 }
4885 return NULL;
4886 }
4887
4888
4889 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject *resultobj;
4891 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4892 int arg2 ;
4893 PyObject * obj0 = 0 ;
4894 char *kwnames[] = {
4895 (char *) "self",(char *) "i", NULL
4896 };
4897
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 (arg1)->RemoveFileFromHistory(arg2);
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 Py_INCREF(Py_None); resultobj = Py_None;
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4915 PyObject *resultobj;
4916 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4917 int result;
4918 PyObject * obj0 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "self", NULL
4921 };
4922
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 resultobj = PyInt_FromLong((long)result);
4933 return resultobj;
4934 fail:
4935 return NULL;
4936 }
4937
4938
4939 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4942 wxMenu *arg2 = (wxMenu *) 0 ;
4943 PyObject * obj0 = 0 ;
4944 PyObject * obj1 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "menu", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->UseMenu(arg2);
4955
4956 wxPyEndAllowThreads(__tstate);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 Py_INCREF(Py_None); resultobj = Py_None;
4960 return resultobj;
4961 fail:
4962 return NULL;
4963 }
4964
4965
4966 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4969 wxMenu *arg2 = (wxMenu *) 0 ;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "menu", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 (arg1)->RemoveMenu(arg2);
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 Py_INCREF(Py_None); resultobj = Py_None;
4987 return resultobj;
4988 fail:
4989 return NULL;
4990 }
4991
4992
4993 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4994 PyObject *resultobj;
4995 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4996 wxConfigBase *arg2 = 0 ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj1 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "config", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5006 if (arg2 == NULL) {
5007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5008 }
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 (arg1)->Load(*arg2);
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 Py_INCREF(Py_None); resultobj = Py_None;
5017 return resultobj;
5018 fail:
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5026 wxConfigBase *arg2 = 0 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char *kwnames[] = {
5030 (char *) "self",(char *) "config", NULL
5031 };
5032
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 if (arg2 == NULL) {
5037 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5038 }
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 (arg1)->Save(*arg2);
5042
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 Py_INCREF(Py_None); resultobj = Py_None;
5047 return resultobj;
5048 fail:
5049 return NULL;
5050 }
5051
5052
5053 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj;
5055 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5056 PyObject * obj0 = 0 ;
5057 char *kwnames[] = {
5058 (char *) "self", NULL
5059 };
5060
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 (arg1)->AddFilesToMenu();
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 Py_INCREF(Py_None); resultobj = Py_None;
5071 return resultobj;
5072 fail:
5073 return NULL;
5074 }
5075
5076
5077 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5078 PyObject *resultobj;
5079 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5080 wxMenu *arg2 = (wxMenu *) 0 ;
5081 PyObject * obj0 = 0 ;
5082 PyObject * obj1 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self",(char *) "menu", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 (arg1)->AddFilesToMenu(arg2);
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 Py_INCREF(Py_None); resultobj = Py_None;
5098 return resultobj;
5099 fail:
5100 return NULL;
5101 }
5102
5103
5104 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5107 int arg2 ;
5108 wxString result;
5109 PyObject * obj0 = 0 ;
5110 char *kwnames[] = {
5111 (char *) "self",(char *) "i", NULL
5112 };
5113
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5119
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 {
5124 #if wxUSE_UNICODE
5125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5126 #else
5127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5128 #endif
5129 }
5130 return resultobj;
5131 fail:
5132 return NULL;
5133 }
5134
5135
5136 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5137 PyObject *resultobj;
5138 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5139 int result;
5140 PyObject * obj0 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 result = (int)((wxFileHistory const *)arg1)->GetCount();
5150
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 resultobj = PyInt_FromLong((long)result);
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5162 PyObject *obj;
5163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5164 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5165 Py_INCREF(obj);
5166 return Py_BuildValue((char *)"");
5167 }
5168 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5169 PyObject *resultobj;
5170 wxString *arg1 = 0 ;
5171 wxString const &arg2_defvalue = wxPyEmptyString ;
5172 wxString *arg2 = (wxString *) &arg2_defvalue ;
5173 wxSingleInstanceChecker *result;
5174 bool temp1 = False ;
5175 bool temp2 = False ;
5176 PyObject * obj0 = 0 ;
5177 PyObject * obj1 = 0 ;
5178 char *kwnames[] = {
5179 (char *) "name",(char *) "path", NULL
5180 };
5181
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5183 {
5184 arg1 = wxString_in_helper(obj0);
5185 if (arg1 == NULL) SWIG_fail;
5186 temp1 = True;
5187 }
5188 if (obj1) {
5189 {
5190 arg2 = wxString_in_helper(obj1);
5191 if (arg2 == NULL) SWIG_fail;
5192 temp2 = True;
5193 }
5194 }
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5203 {
5204 if (temp1)
5205 delete arg1;
5206 }
5207 {
5208 if (temp2)
5209 delete arg2;
5210 }
5211 return resultobj;
5212 fail:
5213 {
5214 if (temp1)
5215 delete arg1;
5216 }
5217 {
5218 if (temp2)
5219 delete arg2;
5220 }
5221 return NULL;
5222 }
5223
5224
5225 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject *resultobj;
5227 wxSingleInstanceChecker *result;
5228 char *kwnames[] = {
5229 NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5241 return resultobj;
5242 fail:
5243 return NULL;
5244 }
5245
5246
5247 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5248 PyObject *resultobj;
5249 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5250 PyObject * obj0 = 0 ;
5251 char *kwnames[] = {
5252 (char *) "self", NULL
5253 };
5254
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 delete arg1;
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 Py_INCREF(Py_None); resultobj = Py_None;
5265 return resultobj;
5266 fail:
5267 return NULL;
5268 }
5269
5270
5271 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5272 PyObject *resultobj;
5273 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5274 wxString *arg2 = 0 ;
5275 wxString const &arg3_defvalue = wxPyEmptyString ;
5276 wxString *arg3 = (wxString *) &arg3_defvalue ;
5277 bool result;
5278 bool temp2 = False ;
5279 bool temp3 = False ;
5280 PyObject * obj0 = 0 ;
5281 PyObject * obj1 = 0 ;
5282 PyObject * obj2 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self",(char *) "name",(char *) "path", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5289 {
5290 arg2 = wxString_in_helper(obj1);
5291 if (arg2 == NULL) SWIG_fail;
5292 temp2 = True;
5293 }
5294 if (obj2) {
5295 {
5296 arg3 = wxString_in_helper(obj2);
5297 if (arg3 == NULL) SWIG_fail;
5298 temp3 = True;
5299 }
5300 }
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 resultobj = PyInt_FromLong((long)result);
5309 {
5310 if (temp2)
5311 delete arg2;
5312 }
5313 {
5314 if (temp3)
5315 delete arg3;
5316 }
5317 return resultobj;
5318 fail:
5319 {
5320 if (temp2)
5321 delete arg2;
5322 }
5323 {
5324 if (temp3)
5325 delete arg3;
5326 }
5327 return NULL;
5328 }
5329
5330
5331 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5332 PyObject *resultobj;
5333 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5334 bool result;
5335 PyObject * obj0 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "self", NULL
5338 };
5339
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 resultobj = PyInt_FromLong((long)result);
5350 return resultobj;
5351 fail:
5352 return NULL;
5353 }
5354
5355
5356 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5357 PyObject *obj;
5358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5359 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5360 Py_INCREF(obj);
5361 return Py_BuildValue((char *)"");
5362 }
5363 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5364 PyObject *resultobj;
5365 wxWindow *arg1 = (wxWindow *) 0 ;
5366 wxDC *arg2 = 0 ;
5367 int arg3 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "window",(char *) "dc",(char *) "method", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5377 if (arg2 == NULL) {
5378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5379 }
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 Py_INCREF(Py_None); resultobj = Py_None;
5388 return resultobj;
5389 fail:
5390 return NULL;
5391 }
5392
5393
5394 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 delete arg1;
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 Py_INCREF(Py_None); resultobj = Py_None;
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5421 wxString result;
5422 PyObject * obj0 = 0 ;
5423 char *kwnames[] = {
5424 (char *) "self", NULL
5425 };
5426
5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 result = (arg1)->GetTip();
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 {
5437 #if wxUSE_UNICODE
5438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5439 #else
5440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5441 #endif
5442 }
5443 return resultobj;
5444 fail:
5445 return NULL;
5446 }
5447
5448
5449 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject *resultobj;
5451 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5452 size_t result;
5453 PyObject * obj0 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 result = (size_t)(arg1)->GetCurrentTip();
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 resultobj = PyInt_FromLong((long)result);
5468 return resultobj;
5469 fail:
5470 return NULL;
5471 }
5472
5473
5474 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5477 wxString *arg2 = 0 ;
5478 wxString result;
5479 bool temp2 = False ;
5480 PyObject * obj0 = 0 ;
5481 PyObject * obj1 = 0 ;
5482 char *kwnames[] = {
5483 (char *) "self",(char *) "tip", NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5488 {
5489 arg2 = wxString_in_helper(obj1);
5490 if (arg2 == NULL) SWIG_fail;
5491 temp2 = True;
5492 }
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 #if wxUSE_UNICODE
5502 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5503 #else
5504 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5505 #endif
5506 }
5507 {
5508 if (temp2)
5509 delete arg2;
5510 }
5511 return resultobj;
5512 fail:
5513 {
5514 if (temp2)
5515 delete arg2;
5516 }
5517 return NULL;
5518 }
5519
5520
5521 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5522 PyObject *obj;
5523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5524 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5525 Py_INCREF(obj);
5526 return Py_BuildValue((char *)"");
5527 }
5528 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 size_t arg1 ;
5531 wxPyTipProvider *result;
5532 PyObject * obj0 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "currentTip", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5538 arg1 = (size_t) PyInt_AsLong(obj0);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5557 PyObject *arg2 = (PyObject *) 0 ;
5558 PyObject *arg3 = (PyObject *) 0 ;
5559 PyObject * obj0 = 0 ;
5560 PyObject * obj1 = 0 ;
5561 PyObject * obj2 = 0 ;
5562 char *kwnames[] = {
5563 (char *) "self",(char *) "self",(char *) "_class", NULL
5564 };
5565
5566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5568 arg2 = obj1;
5569 arg3 = obj2;
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 (arg1)->_setCallbackInfo(arg2,arg3);
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 Py_INCREF(Py_None); resultobj = Py_None;
5578 return resultobj;
5579 fail:
5580 return NULL;
5581 }
5582
5583
5584 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5585 PyObject *obj;
5586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5587 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5588 Py_INCREF(obj);
5589 return Py_BuildValue((char *)"");
5590 }
5591 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj;
5593 wxWindow *arg1 = (wxWindow *) 0 ;
5594 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5595 bool arg3 = (bool) True ;
5596 bool result;
5597 PyObject * obj0 = 0 ;
5598 PyObject * obj1 = 0 ;
5599 PyObject * obj2 = 0 ;
5600 char *kwnames[] = {
5601 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5602 };
5603
5604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5606 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5607 if (obj2) {
5608 arg3 = PyInt_AsLong(obj2) ? true : false;
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 result = (bool)wxShowTip(arg1,arg2,arg3);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = PyInt_FromLong((long)result);
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj;
5627 wxString *arg1 = 0 ;
5628 size_t arg2 ;
5629 wxTipProvider *result;
5630 bool temp1 = False ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "filename",(char *) "currentTip", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5638 {
5639 arg1 = wxString_in_helper(obj0);
5640 if (arg1 == NULL) SWIG_fail;
5641 temp1 = True;
5642 }
5643 arg2 = (size_t) PyInt_AsLong(obj1);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5653 {
5654 if (temp1)
5655 delete arg1;
5656 }
5657 return resultobj;
5658 fail:
5659 {
5660 if (temp1)
5661 delete arg1;
5662 }
5663 return NULL;
5664 }
5665
5666
5667 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5670 int arg2 = (int) -1 ;
5671 wxPyTimer *result;
5672 PyObject * obj0 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "owner",(char *) "id", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5678 if (obj0) {
5679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5680 }
5681 {
5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
5683 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5684
5685 wxPyEndAllowThreads(__tstate);
5686 if (PyErr_Occurred()) SWIG_fail;
5687 }
5688 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5689 return resultobj;
5690 fail:
5691 return NULL;
5692 }
5693
5694
5695 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5696 PyObject *resultobj;
5697 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5698 PyObject * obj0 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "self", NULL
5701 };
5702
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 delete arg1;
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 Py_INCREF(Py_None); resultobj = Py_None;
5713 return resultobj;
5714 fail:
5715 return NULL;
5716 }
5717
5718
5719 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5722 PyObject *arg2 = (PyObject *) 0 ;
5723 PyObject *arg3 = (PyObject *) 0 ;
5724 PyObject * obj0 = 0 ;
5725 PyObject * obj1 = 0 ;
5726 PyObject * obj2 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "self",(char *) "_class", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5733 arg2 = obj1;
5734 arg3 = obj2;
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 (arg1)->_setCallbackInfo(arg2,arg3);
5738
5739 wxPyEndAllowThreads(__tstate);
5740 if (PyErr_Occurred()) SWIG_fail;
5741 }
5742 Py_INCREF(Py_None); resultobj = Py_None;
5743 return resultobj;
5744 fail:
5745 return NULL;
5746 }
5747
5748
5749 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5750 PyObject *resultobj;
5751 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5752 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5753 int arg3 = (int) -1 ;
5754 PyObject * obj0 = 0 ;
5755 PyObject * obj1 = 0 ;
5756 char *kwnames[] = {
5757 (char *) "self",(char *) "owner",(char *) "id", NULL
5758 };
5759
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5762 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 (arg1)->SetOwner(arg2,arg3);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 Py_INCREF(Py_None); resultobj = Py_None;
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5780 int arg2 = (int) -1 ;
5781 bool arg3 = (bool) False ;
5782 bool result;
5783 PyObject * obj0 = 0 ;
5784 PyObject * obj2 = 0 ;
5785 char *kwnames[] = {
5786 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5787 };
5788
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5791 if (obj2) {
5792 arg3 = PyInt_AsLong(obj2) ? true : false;
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)(arg1)->Start(arg2,arg3);
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 resultobj = PyInt_FromLong((long)result);
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5812 PyObject * obj0 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->Stop();
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 return resultobj;
5828 fail:
5829 return NULL;
5830 }
5831
5832
5833 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5836 bool result;
5837 PyObject * obj0 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "self", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 resultobj = PyInt_FromLong((long)result);
5852 return resultobj;
5853 fail:
5854 return NULL;
5855 }
5856
5857
5858 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj;
5860 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5861 int result;
5862 PyObject * obj0 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 resultobj = PyInt_FromLong((long)result);
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5886 bool result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 resultobj = PyInt_FromLong((long)result);
5902 return resultobj;
5903 fail:
5904 return NULL;
5905 }
5906
5907
5908 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5911 int result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
5918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 result = (int)((wxPyTimer const *)arg1)->GetId();
5922
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 resultobj = PyInt_FromLong((long)result);
5927 return resultobj;
5928 fail:
5929 return NULL;
5930 }
5931
5932
5933 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5934 PyObject *obj;
5935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5936 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5937 Py_INCREF(obj);
5938 return Py_BuildValue((char *)"");
5939 }
5940 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj;
5942 int arg1 = (int) 0 ;
5943 int arg2 = (int) 0 ;
5944 wxTimerEvent *result;
5945 char *kwnames[] = {
5946 (char *) "timerid",(char *) "interval", NULL
5947 };
5948
5949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5965 PyObject *resultobj;
5966 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5967 int result;
5968 PyObject * obj0 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "self", NULL
5971 };
5972
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5978
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 resultobj = PyInt_FromLong((long)result);
5983 return resultobj;
5984 fail:
5985 return NULL;
5986 }
5987
5988
5989 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5990 PyObject *obj;
5991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5992 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5993 Py_INCREF(obj);
5994 return Py_BuildValue((char *)"");
5995 }
5996 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5997 PyObject *resultobj;
5998 wxTimer *arg1 = 0 ;
5999 wxTimerRunner *result;
6000 PyObject * obj0 = 0 ;
6001
6002 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6004 if (arg1 == NULL) {
6005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6006 }
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6015 return resultobj;
6016 fail:
6017 return NULL;
6018 }
6019
6020
6021 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6022 PyObject *resultobj;
6023 wxTimer *arg1 = 0 ;
6024 int arg2 ;
6025 bool arg3 = (bool) False ;
6026 wxTimerRunner *result;
6027 PyObject * obj0 = 0 ;
6028 PyObject * obj2 = 0 ;
6029
6030 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
6031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6032 if (arg1 == NULL) {
6033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6034 }
6035 if (obj2) {
6036 arg3 = PyInt_AsLong(obj2) ? true : false;
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6054 int argc;
6055 PyObject *argv[4];
6056 int ii;
6057
6058 argc = PyObject_Length(args);
6059 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6060 argv[ii] = PyTuple_GetItem(args,ii);
6061 }
6062 if (argc == 1) {
6063 int _v;
6064 {
6065 void *ptr;
6066 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6067 _v = 0;
6068 PyErr_Clear();
6069 } else {
6070 _v = 1;
6071 }
6072 }
6073 if (_v) {
6074 return _wrap_new_TimerRunner__SWIG_0(self,args);
6075 }
6076 }
6077 if ((argc >= 2) && (argc <= 3)) {
6078 int _v;
6079 {
6080 void *ptr;
6081 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6082 _v = 0;
6083 PyErr_Clear();
6084 } else {
6085 _v = 1;
6086 }
6087 }
6088 if (_v) {
6089 {
6090 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6091 }
6092 if (_v) {
6093 if (argc <= 2) {
6094 return _wrap_new_TimerRunner__SWIG_1(self,args);
6095 }
6096 {
6097 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6098 }
6099 if (_v) {
6100 return _wrap_new_TimerRunner__SWIG_1(self,args);
6101 }
6102 }
6103 }
6104 }
6105
6106 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6107 return NULL;
6108 }
6109
6110
6111 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6112 PyObject *resultobj;
6113 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6114 PyObject * obj0 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 delete arg1;
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 Py_INCREF(Py_None); resultobj = Py_None;
6129 return resultobj;
6130 fail:
6131 return NULL;
6132 }
6133
6134
6135 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj;
6137 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6138 int arg2 ;
6139 bool arg3 = (bool) False ;
6140 PyObject * obj0 = 0 ;
6141 PyObject * obj2 = 0 ;
6142 char *kwnames[] = {
6143 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6144 };
6145
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6148 if (obj2) {
6149 arg3 = PyInt_AsLong(obj2) ? true : false;
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 {
6153 PyThreadState* __tstate = wxPyBeginAllowThreads();
6154 (arg1)->Start(arg2,arg3);
6155
6156 wxPyEndAllowThreads(__tstate);
6157 if (PyErr_Occurred()) SWIG_fail;
6158 }
6159 Py_INCREF(Py_None); resultobj = Py_None;
6160 return resultobj;
6161 fail:
6162 return NULL;
6163 }
6164
6165
6166 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6167 PyObject *obj;
6168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6169 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6170 Py_INCREF(obj);
6171 return Py_BuildValue((char *)"");
6172 }
6173 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj;
6175 wxLog *result;
6176 char *kwnames[] = {
6177 NULL
6178 };
6179
6180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 result = (wxLog *)new wxLog();
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 bool result;
6198 char *kwnames[] = {
6199 NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (bool)wxLog::IsEnabled();
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 resultobj = PyInt_FromLong((long)result);
6211 return resultobj;
6212 fail:
6213 return NULL;
6214 }
6215
6216
6217 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6218 PyObject *resultobj;
6219 bool arg1 = (bool) True ;
6220 bool result;
6221 PyObject * obj0 = 0 ;
6222 char *kwnames[] = {
6223 (char *) "doIt", NULL
6224 };
6225
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6227 if (obj0) {
6228 arg1 = PyInt_AsLong(obj0) ? true : false;
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = (bool)wxLog::EnableLogging(arg1);
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 resultobj = PyInt_FromLong((long)result);
6239 return resultobj;
6240 fail:
6241 return NULL;
6242 }
6243
6244
6245 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxLogLevel arg1 ;
6248 wxChar *arg2 = (wxChar *) 0 ;
6249 time_t arg3 ;
6250 PyObject * obj0 = 0 ;
6251 PyObject * obj1 = 0 ;
6252 PyObject * obj2 = 0 ;
6253 char *kwnames[] = {
6254 (char *) "level",(char *) "szString",(char *) "t", NULL
6255 };
6256
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6258 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6261 arg3 = (time_t) PyInt_AsLong(obj2);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 {
6264 PyThreadState* __tstate = wxPyBeginAllowThreads();
6265 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6266
6267 wxPyEndAllowThreads(__tstate);
6268 if (PyErr_Occurred()) SWIG_fail;
6269 }
6270 Py_INCREF(Py_None); resultobj = Py_None;
6271 return resultobj;
6272 fail:
6273 return NULL;
6274 }
6275
6276
6277 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6278 PyObject *resultobj;
6279 wxLog *arg1 = (wxLog *) 0 ;
6280 PyObject * obj0 = 0 ;
6281 char *kwnames[] = {
6282 (char *) "self", NULL
6283 };
6284
6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 (arg1)->Flush();
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 Py_INCREF(Py_None); resultobj = Py_None;
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 char *kwnames[] = {
6304 NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 wxLog::FlushActive();
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 Py_INCREF(Py_None); resultobj = Py_None;
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 wxLog *result;
6325 char *kwnames[] = {
6326 NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (wxLog *)wxLog::GetActiveTarget();
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6338 return resultobj;
6339 fail:
6340 return NULL;
6341 }
6342
6343
6344 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxLog *arg1 = (wxLog *) 0 ;
6347 wxLog *result;
6348 PyObject * obj0 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "pLogger", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 char *kwnames[] = {
6372 NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 wxLog::Suspend();
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 Py_INCREF(Py_None); resultobj = Py_None;
6384 return resultobj;
6385 fail:
6386 return NULL;
6387 }
6388
6389
6390 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 char *kwnames[] = {
6393 NULL
6394 };
6395
6396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 wxLog::Resume();
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 Py_INCREF(Py_None); resultobj = Py_None;
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 bool arg1 = (bool) True ;
6414 PyObject * obj0 = 0 ;
6415 char *kwnames[] = {
6416 (char *) "bVerbose", NULL
6417 };
6418
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6420 if (obj0) {
6421 arg1 = PyInt_AsLong(obj0) ? true : false;
6422 if (PyErr_Occurred()) SWIG_fail;
6423 }
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 wxLog::SetVerbose(arg1);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 Py_INCREF(Py_None); resultobj = Py_None;
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxLogLevel arg1 ;
6441 PyObject * obj0 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "logLevel", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6447 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 wxLog::SetLogLevel(arg1);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 Py_INCREF(Py_None); resultobj = Py_None;
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 char *kwnames[] = {
6466 NULL
6467 };
6468
6469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 wxLog::DontCreateOnDemand();
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 Py_INCREF(Py_None); resultobj = Py_None;
6478 return resultobj;
6479 fail:
6480 return NULL;
6481 }
6482
6483
6484 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj;
6486 wxTraceMask arg1 ;
6487 PyObject * obj0 = 0 ;
6488 char *kwnames[] = {
6489 (char *) "ulMask", NULL
6490 };
6491
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6493 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 wxLog::SetTraceMask(arg1);
6498
6499 wxPyEndAllowThreads(__tstate);
6500 if (PyErr_Occurred()) SWIG_fail;
6501 }
6502 Py_INCREF(Py_None); resultobj = Py_None;
6503 return resultobj;
6504 fail:
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxString *arg1 = 0 ;
6512 bool temp1 = False ;
6513 PyObject * obj0 = 0 ;
6514 char *kwnames[] = {
6515 (char *) "str", NULL
6516 };
6517
6518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6519 {
6520 arg1 = wxString_in_helper(obj0);
6521 if (arg1 == NULL) SWIG_fail;
6522 temp1 = True;
6523 }
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 wxLog::AddTraceMask((wxString const &)*arg1);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 Py_INCREF(Py_None); resultobj = Py_None;
6532 {
6533 if (temp1)
6534 delete arg1;
6535 }
6536 return resultobj;
6537 fail:
6538 {
6539 if (temp1)
6540 delete arg1;
6541 }
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxString *arg1 = 0 ;
6549 bool temp1 = False ;
6550 PyObject * obj0 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "str", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6556 {
6557 arg1 = wxString_in_helper(obj0);
6558 if (arg1 == NULL) SWIG_fail;
6559 temp1 = True;
6560 }
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 wxLog::RemoveTraceMask((wxString const &)*arg1);
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 Py_INCREF(Py_None); resultobj = Py_None;
6569 {
6570 if (temp1)
6571 delete arg1;
6572 }
6573 return resultobj;
6574 fail:
6575 {
6576 if (temp1)
6577 delete arg1;
6578 }
6579 return NULL;
6580 }
6581
6582
6583 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6584 PyObject *resultobj;
6585 char *kwnames[] = {
6586 NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 wxLog::ClearTraceMasks();
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 Py_INCREF(Py_None); resultobj = Py_None;
6598 return resultobj;
6599 fail:
6600 return NULL;
6601 }
6602
6603
6604 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxArrayString *result;
6607 char *kwnames[] = {
6608 NULL
6609 };
6610
6611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 {
6615 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6616 result = (wxArrayString *) &_result_ref;
6617 }
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 resultobj = wxArrayString2PyList_helper(*result);
6624 }
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj;
6633 wxChar *arg1 = (wxChar *) 0 ;
6634 PyObject * obj0 = 0 ;
6635 char *kwnames[] = {
6636 (char *) "ts", NULL
6637 };
6638
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 wxLog::SetTimestamp((wxChar const *)arg1);
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
6648 Py_INCREF(Py_None); resultobj = Py_None;
6649 return resultobj;
6650 fail:
6651 return NULL;
6652 }
6653
6654
6655 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 bool result;
6658 char *kwnames[] = {
6659 NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (bool)wxLog::GetVerbose();
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 resultobj = PyInt_FromLong((long)result);
6671 return resultobj;
6672 fail:
6673 return NULL;
6674 }
6675
6676
6677 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject *resultobj;
6679 wxTraceMask result;
6680 char *kwnames[] = {
6681 NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 result = (wxTraceMask)wxLog::GetTraceMask();
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 resultobj = PyInt_FromLong((long)result);
6693 return resultobj;
6694 fail:
6695 return NULL;
6696 }
6697
6698
6699 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxChar *arg1 = (wxChar *) 0 ;
6702 bool result;
6703 PyObject * obj0 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "mask", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = PyInt_FromLong((long)result);
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 wxLogLevel result;
6727 char *kwnames[] = {
6728 NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = (wxLogLevel)wxLog::GetLogLevel();
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
6739 resultobj = PyInt_FromLong((long)result);
6740 return resultobj;
6741 fail:
6742 return NULL;
6743 }
6744
6745
6746 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj;
6748 wxChar *result;
6749 char *kwnames[] = {
6750 NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (wxChar *)wxLog::GetTimestamp();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxString result;
6771 char *kwnames[] = {
6772 NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 result = Log_TimeStamp();
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 {
6784 #if wxUSE_UNICODE
6785 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6786 #else
6787 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6788 #endif
6789 }
6790 return resultobj;
6791 fail:
6792 return NULL;
6793 }
6794
6795
6796 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxLog *arg1 = (wxLog *) 0 ;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 wxLog_Destroy(arg1);
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 Py_INCREF(Py_None); resultobj = Py_None;
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6821 PyObject *obj;
6822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6823 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6824 Py_INCREF(obj);
6825 return Py_BuildValue((char *)"");
6826 }
6827 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxLogStderr *result;
6830 char *kwnames[] = {
6831 NULL
6832 };
6833
6834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (wxLogStderr *)new wxLogStderr();
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6850 PyObject *obj;
6851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6852 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6853 Py_INCREF(obj);
6854 return Py_BuildValue((char *)"");
6855 }
6856 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6857 PyObject *resultobj;
6858 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6859 wxLogTextCtrl *result;
6860 PyObject * obj0 = 0 ;
6861 char *kwnames[] = {
6862 (char *) "pTextCtrl", NULL
6863 };
6864
6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6875 return resultobj;
6876 fail:
6877 return NULL;
6878 }
6879
6880
6881 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6882 PyObject *obj;
6883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6884 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6885 Py_INCREF(obj);
6886 return Py_BuildValue((char *)"");
6887 }
6888 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj;
6890 wxLogGui *result;
6891 char *kwnames[] = {
6892 NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (wxLogGui *)new wxLogGui();
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6911 PyObject *obj;
6912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6913 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6914 Py_INCREF(obj);
6915 return Py_BuildValue((char *)"");
6916 }
6917 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxFrame *arg1 = (wxFrame *) 0 ;
6920 wxString *arg2 = 0 ;
6921 bool arg3 = (bool) True ;
6922 bool arg4 = (bool) True ;
6923 wxLogWindow *result;
6924 bool temp2 = False ;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927 PyObject * obj2 = 0 ;
6928 PyObject * obj3 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6935 {
6936 arg2 = wxString_in_helper(obj1);
6937 if (arg2 == NULL) SWIG_fail;
6938 temp2 = True;
6939 }
6940 if (obj2) {
6941 arg3 = PyInt_AsLong(obj2) ? true : false;
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 if (obj3) {
6945 arg4 = PyInt_AsLong(obj3) ? true : false;
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6956 {
6957 if (temp2)
6958 delete arg2;
6959 }
6960 return resultobj;
6961 fail:
6962 {
6963 if (temp2)
6964 delete arg2;
6965 }
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6973 bool arg2 = (bool) True ;
6974 PyObject * obj0 = 0 ;
6975 PyObject * obj1 = 0 ;
6976 char *kwnames[] = {
6977 (char *) "self",(char *) "bShow", NULL
6978 };
6979
6980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6982 if (obj1) {
6983 arg2 = PyInt_AsLong(obj1) ? true : false;
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 (arg1)->Show(arg2);
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 Py_INCREF(Py_None); resultobj = Py_None;
6994 return resultobj;
6995 fail:
6996 return NULL;
6997 }
6998
6999
7000 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj;
7002 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7003 wxFrame *result;
7004 PyObject * obj0 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7011 {
7012 PyThreadState* __tstate = wxPyBeginAllowThreads();
7013 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7014
7015 wxPyEndAllowThreads(__tstate);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 {
7019 resultobj = wxPyMake_wxObject(result);
7020 }
7021 return resultobj;
7022 fail:
7023 return NULL;
7024 }
7025
7026
7027 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7028 PyObject *resultobj;
7029 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7030 wxLog *result;
7031 PyObject * obj0 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "self", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7046 return resultobj;
7047 fail:
7048 return NULL;
7049 }
7050
7051
7052 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject *resultobj;
7054 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7055 bool result;
7056 PyObject * obj0 = 0 ;
7057 char *kwnames[] = {
7058 (char *) "self", NULL
7059 };
7060
7061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7066
7067 wxPyEndAllowThreads(__tstate);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 resultobj = PyInt_FromLong((long)result);
7071 return resultobj;
7072 fail:
7073 return NULL;
7074 }
7075
7076
7077 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7080 bool arg2 ;
7081 PyObject * obj0 = 0 ;
7082 PyObject * obj1 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self",(char *) "bDoPass", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7089 arg2 = PyInt_AsLong(obj1) ? true : false;
7090 if (PyErr_Occurred()) SWIG_fail;
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 (arg1)->PassMessages(arg2);
7094
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 Py_INCREF(Py_None); resultobj = Py_None;
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7106 PyObject *obj;
7107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7108 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7109 Py_INCREF(obj);
7110 return Py_BuildValue((char *)"");
7111 }
7112 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj;
7114 wxLog *arg1 = (wxLog *) 0 ;
7115 wxLogChain *result;
7116 PyObject * obj0 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "logger", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (wxLogChain *)new wxLogChain(arg1);
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7131 return resultobj;
7132 fail:
7133 return NULL;
7134 }
7135
7136
7137 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxLogChain *arg1 = (wxLogChain *) 0 ;
7140 wxLog *arg2 = (wxLog *) 0 ;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj1 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self",(char *) "logger", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 (arg1)->SetLog(arg2);
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 Py_INCREF(Py_None); resultobj = Py_None;
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxLogChain *arg1 = (wxLogChain *) 0 ;
7167 bool arg2 ;
7168 PyObject * obj0 = 0 ;
7169 PyObject * obj1 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self",(char *) "bDoPass", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7176 arg2 = PyInt_AsLong(obj1) ? true : false;
7177 if (PyErr_Occurred()) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 (arg1)->PassMessages(arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 Py_INCREF(Py_None); resultobj = Py_None;
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxLogChain *arg1 = (wxLogChain *) 0 ;
7195 bool result;
7196 PyObject * obj0 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 result = (bool)(arg1)->IsPassingMessages();
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 resultobj = PyInt_FromLong((long)result);
7211 return resultobj;
7212 fail:
7213 return NULL;
7214 }
7215
7216
7217 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxLogChain *arg1 = (wxLogChain *) 0 ;
7220 wxLog *result;
7221 PyObject * obj0 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = (wxLog *)(arg1)->GetOldLog();
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7236 return resultobj;
7237 fail:
7238 return NULL;
7239 }
7240
7241
7242 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7243 PyObject *obj;
7244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7245 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7246 Py_INCREF(obj);
7247 return Py_BuildValue((char *)"");
7248 }
7249 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 unsigned long result;
7252 char *kwnames[] = {
7253 NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 result = (unsigned long)wxSysErrorCode();
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 resultobj = PyInt_FromLong((long)result);
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 unsigned long arg1 = (unsigned long) 0 ;
7274 wxString result;
7275 PyObject * obj0 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "nErrCode", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7281 if (obj0) {
7282 arg1 = (unsigned long) PyInt_AsLong(obj0);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 result = wxSysErrorMsg(arg1);
7288
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 {
7293 #if wxUSE_UNICODE
7294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7295 #else
7296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7297 #endif
7298 }
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj;
7307 wxString *arg1 = 0 ;
7308 bool temp1 = False ;
7309 PyObject * obj0 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "msg", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7315 {
7316 arg1 = wxString_in_helper(obj0);
7317 if (arg1 == NULL) SWIG_fail;
7318 temp1 = True;
7319 }
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 wxLogFatalError((wxString const &)*arg1);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 Py_INCREF(Py_None); resultobj = Py_None;
7328 {
7329 if (temp1)
7330 delete arg1;
7331 }
7332 return resultobj;
7333 fail:
7334 {
7335 if (temp1)
7336 delete arg1;
7337 }
7338 return NULL;
7339 }
7340
7341
7342 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj;
7344 wxString *arg1 = 0 ;
7345 bool temp1 = False ;
7346 PyObject * obj0 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "msg", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7352 {
7353 arg1 = wxString_in_helper(obj0);
7354 if (arg1 == NULL) SWIG_fail;
7355 temp1 = True;
7356 }
7357 {
7358 PyThreadState* __tstate = wxPyBeginAllowThreads();
7359 wxLogError((wxString const &)*arg1);
7360
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 Py_INCREF(Py_None); resultobj = Py_None;
7365 {
7366 if (temp1)
7367 delete arg1;
7368 }
7369 return resultobj;
7370 fail:
7371 {
7372 if (temp1)
7373 delete arg1;
7374 }
7375 return NULL;
7376 }
7377
7378
7379 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj;
7381 wxString *arg1 = 0 ;
7382 bool temp1 = False ;
7383 PyObject * obj0 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "msg", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7389 {
7390 arg1 = wxString_in_helper(obj0);
7391 if (arg1 == NULL) SWIG_fail;
7392 temp1 = True;
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 wxLogWarning((wxString const &)*arg1);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 {
7403 if (temp1)
7404 delete arg1;
7405 }
7406 return resultobj;
7407 fail:
7408 {
7409 if (temp1)
7410 delete arg1;
7411 }
7412 return NULL;
7413 }
7414
7415
7416 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxString *arg1 = 0 ;
7419 bool temp1 = False ;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "msg", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7426 {
7427 arg1 = wxString_in_helper(obj0);
7428 if (arg1 == NULL) SWIG_fail;
7429 temp1 = True;
7430 }
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 wxLogMessage((wxString const &)*arg1);
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 Py_INCREF(Py_None); resultobj = Py_None;
7439 {
7440 if (temp1)
7441 delete arg1;
7442 }
7443 return resultobj;
7444 fail:
7445 {
7446 if (temp1)
7447 delete arg1;
7448 }
7449 return NULL;
7450 }
7451
7452
7453 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxString *arg1 = 0 ;
7456 bool temp1 = False ;
7457 PyObject * obj0 = 0 ;
7458 char *kwnames[] = {
7459 (char *) "msg", NULL
7460 };
7461
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7463 {
7464 arg1 = wxString_in_helper(obj0);
7465 if (arg1 == NULL) SWIG_fail;
7466 temp1 = True;
7467 }
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 wxLogInfo((wxString const &)*arg1);
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 Py_INCREF(Py_None); resultobj = Py_None;
7476 {
7477 if (temp1)
7478 delete arg1;
7479 }
7480 return resultobj;
7481 fail:
7482 {
7483 if (temp1)
7484 delete arg1;
7485 }
7486 return NULL;
7487 }
7488
7489
7490 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj;
7492 wxString *arg1 = 0 ;
7493 bool temp1 = False ;
7494 PyObject * obj0 = 0 ;
7495 char *kwnames[] = {
7496 (char *) "msg", NULL
7497 };
7498
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7500 {
7501 arg1 = wxString_in_helper(obj0);
7502 if (arg1 == NULL) SWIG_fail;
7503 temp1 = True;
7504 }
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 wxLogDebug((wxString const &)*arg1);
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 Py_INCREF(Py_None); resultobj = Py_None;
7513 {
7514 if (temp1)
7515 delete arg1;
7516 }
7517 return resultobj;
7518 fail:
7519 {
7520 if (temp1)
7521 delete arg1;
7522 }
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxString *arg1 = 0 ;
7530 bool temp1 = False ;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "msg", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7537 {
7538 arg1 = wxString_in_helper(obj0);
7539 if (arg1 == NULL) SWIG_fail;
7540 temp1 = True;
7541 }
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 wxLogVerbose((wxString const &)*arg1);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 Py_INCREF(Py_None); resultobj = Py_None;
7550 {
7551 if (temp1)
7552 delete arg1;
7553 }
7554 return resultobj;
7555 fail:
7556 {
7557 if (temp1)
7558 delete arg1;
7559 }
7560 return NULL;
7561 }
7562
7563
7564 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7565 PyObject *resultobj;
7566 wxString *arg1 = 0 ;
7567 bool temp1 = False ;
7568 PyObject * obj0 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "msg", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7574 {
7575 arg1 = wxString_in_helper(obj0);
7576 if (arg1 == NULL) SWIG_fail;
7577 temp1 = True;
7578 }
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 wxLogStatus((wxString const &)*arg1);
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 Py_INCREF(Py_None); resultobj = Py_None;
7587 {
7588 if (temp1)
7589 delete arg1;
7590 }
7591 return resultobj;
7592 fail:
7593 {
7594 if (temp1)
7595 delete arg1;
7596 }
7597 return NULL;
7598 }
7599
7600
7601 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7602 PyObject *resultobj;
7603 wxFrame *arg1 = (wxFrame *) 0 ;
7604 wxString *arg2 = 0 ;
7605 bool temp2 = False ;
7606 PyObject * obj0 = 0 ;
7607 PyObject * obj1 = 0 ;
7608 char *kwnames[] = {
7609 (char *) "pFrame",(char *) "msg", NULL
7610 };
7611
7612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7614 {
7615 arg2 = wxString_in_helper(obj1);
7616 if (arg2 == NULL) SWIG_fail;
7617 temp2 = True;
7618 }
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 wxLogStatus(arg1,(wxString const &)*arg2);
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 Py_INCREF(Py_None); resultobj = Py_None;
7627 {
7628 if (temp2)
7629 delete arg2;
7630 }
7631 return resultobj;
7632 fail:
7633 {
7634 if (temp2)
7635 delete arg2;
7636 }
7637 return NULL;
7638 }
7639
7640
7641 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj;
7643 wxString *arg1 = 0 ;
7644 bool temp1 = False ;
7645 PyObject * obj0 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "msg", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7651 {
7652 arg1 = wxString_in_helper(obj0);
7653 if (arg1 == NULL) SWIG_fail;
7654 temp1 = True;
7655 }
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 wxLogSysError((wxString const &)*arg1);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 Py_INCREF(Py_None); resultobj = Py_None;
7664 {
7665 if (temp1)
7666 delete arg1;
7667 }
7668 return resultobj;
7669 fail:
7670 {
7671 if (temp1)
7672 delete arg1;
7673 }
7674 return NULL;
7675 }
7676
7677
7678 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
7679 PyObject *resultobj;
7680 unsigned long arg1 ;
7681 wxString *arg2 = 0 ;
7682 bool temp2 = False ;
7683 PyObject * obj0 = 0 ;
7684 PyObject * obj1 = 0 ;
7685
7686 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7687 arg1 = (unsigned long) PyInt_AsLong(obj0);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 {
7690 arg2 = wxString_in_helper(obj1);
7691 if (arg2 == NULL) SWIG_fail;
7692 temp2 = True;
7693 }
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 wxLogTrace(arg1,(wxString const &)*arg2);
7697
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 Py_INCREF(Py_None); resultobj = Py_None;
7702 {
7703 if (temp2)
7704 delete arg2;
7705 }
7706 return resultobj;
7707 fail:
7708 {
7709 if (temp2)
7710 delete arg2;
7711 }
7712 return NULL;
7713 }
7714
7715
7716 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
7717 PyObject *resultobj;
7718 wxString *arg1 = 0 ;
7719 wxString *arg2 = 0 ;
7720 bool temp1 = False ;
7721 bool temp2 = False ;
7722 PyObject * obj0 = 0 ;
7723 PyObject * obj1 = 0 ;
7724
7725 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7726 {
7727 arg1 = wxString_in_helper(obj0);
7728 if (arg1 == NULL) SWIG_fail;
7729 temp1 = True;
7730 }
7731 {
7732 arg2 = wxString_in_helper(obj1);
7733 if (arg2 == NULL) SWIG_fail;
7734 temp2 = True;
7735 }
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7739
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 Py_INCREF(Py_None); resultobj = Py_None;
7744 {
7745 if (temp1)
7746 delete arg1;
7747 }
7748 {
7749 if (temp2)
7750 delete arg2;
7751 }
7752 return resultobj;
7753 fail:
7754 {
7755 if (temp1)
7756 delete arg1;
7757 }
7758 {
7759 if (temp2)
7760 delete arg2;
7761 }
7762 return NULL;
7763 }
7764
7765
7766 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
7767 int argc;
7768 PyObject *argv[3];
7769 int ii;
7770
7771 argc = PyObject_Length(args);
7772 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
7773 argv[ii] = PyTuple_GetItem(args,ii);
7774 }
7775 if (argc == 2) {
7776 int _v;
7777 {
7778 void *ptr;
7779 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7780 _v = 0;
7781 PyErr_Clear();
7782 } else {
7783 _v = 1;
7784 }
7785 }
7786 if (_v) {
7787 {
7788 void *ptr;
7789 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7790 _v = 0;
7791 PyErr_Clear();
7792 } else {
7793 _v = 1;
7794 }
7795 }
7796 if (_v) {
7797 return _wrap_LogTrace__SWIG_1(self,args);
7798 }
7799 }
7800 }
7801 if (argc == 2) {
7802 int _v;
7803 {
7804 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7805 }
7806 if (_v) {
7807 {
7808 void *ptr;
7809 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7810 _v = 0;
7811 PyErr_Clear();
7812 } else {
7813 _v = 1;
7814 }
7815 }
7816 if (_v) {
7817 return _wrap_LogTrace__SWIG_0(self,args);
7818 }
7819 }
7820 }
7821
7822 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 unsigned long arg1 ;
7830 wxString *arg2 = 0 ;
7831 bool temp2 = False ;
7832 PyObject * obj0 = 0 ;
7833 PyObject * obj1 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "level",(char *) "msg", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7839 arg1 = (unsigned long) PyInt_AsLong(obj0);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 {
7842 arg2 = wxString_in_helper(obj1);
7843 if (arg2 == NULL) SWIG_fail;
7844 temp2 = True;
7845 }
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 wxLogGeneric(arg1,(wxString const &)*arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 Py_INCREF(Py_None); resultobj = Py_None;
7854 {
7855 if (temp2)
7856 delete arg2;
7857 }
7858 return resultobj;
7859 fail:
7860 {
7861 if (temp2)
7862 delete arg2;
7863 }
7864 return NULL;
7865 }
7866
7867
7868 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj;
7870 wxString *arg1 = 0 ;
7871 wxString *arg2 = 0 ;
7872 bool temp1 = False ;
7873 bool temp2 = False ;
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "title",(char *) "text", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7881 {
7882 arg1 = wxString_in_helper(obj0);
7883 if (arg1 == NULL) SWIG_fail;
7884 temp1 = True;
7885 }
7886 {
7887 arg2 = wxString_in_helper(obj1);
7888 if (arg2 == NULL) SWIG_fail;
7889 temp2 = True;
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 Py_INCREF(Py_None); resultobj = Py_None;
7899 {
7900 if (temp1)
7901 delete arg1;
7902 }
7903 {
7904 if (temp2)
7905 delete arg2;
7906 }
7907 return resultobj;
7908 fail:
7909 {
7910 if (temp1)
7911 delete arg1;
7912 }
7913 {
7914 if (temp2)
7915 delete arg2;
7916 }
7917 return NULL;
7918 }
7919
7920
7921 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7922 PyObject *resultobj;
7923 wxLogNull *result;
7924 char *kwnames[] = {
7925 NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 result = (wxLogNull *)new wxLogNull();
7932
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7937 return resultobj;
7938 fail:
7939 return NULL;
7940 }
7941
7942
7943 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7944 PyObject *resultobj;
7945 wxLogNull *arg1 = (wxLogNull *) 0 ;
7946 PyObject * obj0 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7953 {
7954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7955 delete arg1;
7956
7957 wxPyEndAllowThreads(__tstate);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 Py_INCREF(Py_None); resultobj = Py_None;
7961 return resultobj;
7962 fail:
7963 return NULL;
7964 }
7965
7966
7967 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7968 PyObject *obj;
7969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7970 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7971 Py_INCREF(obj);
7972 return Py_BuildValue((char *)"");
7973 }
7974 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj;
7976 wxPyLog *result;
7977 char *kwnames[] = {
7978 NULL
7979 };
7980
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (wxPyLog *)new wxPyLog();
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxPyLog *arg1 = (wxPyLog *) 0 ;
7999 PyObject *arg2 = (PyObject *) 0 ;
8000 PyObject *arg3 = (PyObject *) 0 ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 PyObject * obj2 = 0 ;
8004 char *kwnames[] = {
8005 (char *) "self",(char *) "self",(char *) "_class", NULL
8006 };
8007
8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8010 arg2 = obj1;
8011 arg3 = obj2;
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 (arg1)->_setCallbackInfo(arg2,arg3);
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 Py_INCREF(Py_None); resultobj = Py_None;
8020 return resultobj;
8021 fail:
8022 return NULL;
8023 }
8024
8025
8026 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8027 PyObject *obj;
8028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8029 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8030 Py_INCREF(obj);
8031 return Py_BuildValue((char *)"");
8032 }
8033 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 int arg1 ;
8036 int arg2 = (int) wxSIGTERM ;
8037 int result;
8038 char *kwnames[] = {
8039 (char *) "pid",(char *) "sig", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 resultobj = PyInt_FromLong((long)result);
8051 return resultobj;
8052 fail:
8053 return NULL;
8054 }
8055
8056
8057 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8058 PyObject *resultobj;
8059 int arg1 ;
8060 bool result;
8061 char *kwnames[] = {
8062 (char *) "pid", NULL
8063 };
8064
8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 result = (bool)wxPyProcess::Exists(arg1);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 resultobj = PyInt_FromLong((long)result);
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxString *arg1 = 0 ;
8083 int arg2 = (int) wxEXEC_ASYNC ;
8084 wxPyProcess *result;
8085 bool temp1 = False ;
8086 PyObject * obj0 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "cmd",(char *) "flags", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
8092 {
8093 arg1 = wxString_in_helper(obj0);
8094 if (arg1 == NULL) SWIG_fail;
8095 temp1 = True;
8096 }
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8105 {
8106 if (temp1)
8107 delete arg1;
8108 }
8109 return resultobj;
8110 fail:
8111 {
8112 if (temp1)
8113 delete arg1;
8114 }
8115 return NULL;
8116 }
8117
8118
8119 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8122 int arg2 = (int) -1 ;
8123 wxPyProcess *result;
8124 PyObject * obj0 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "parent",(char *) "id", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8130 if (obj0) {
8131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8132 }
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8141 return resultobj;
8142 fail:
8143 return NULL;
8144 }
8145
8146
8147 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj;
8149 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8150 PyObject *arg2 = (PyObject *) 0 ;
8151 PyObject *arg3 = (PyObject *) 0 ;
8152 PyObject * obj0 = 0 ;
8153 PyObject * obj1 = 0 ;
8154 PyObject * obj2 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self",(char *) "self",(char *) "_class", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8161 arg2 = obj1;
8162 arg3 = obj2;
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 (arg1)->_setCallbackInfo(arg2,arg3);
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 Py_INCREF(Py_None); resultobj = Py_None;
8171 return resultobj;
8172 fail:
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8180 int arg2 ;
8181 int arg3 ;
8182 PyObject * obj0 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self",(char *) "pid",(char *) "status", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 (arg1)->base_OnTerminate(arg2,arg3);
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 Py_INCREF(Py_None); resultobj = Py_None;
8197 return resultobj;
8198 fail:
8199 return NULL;
8200 }
8201
8202
8203 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8206 PyObject * obj0 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "self", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 (arg1)->Redirect();
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 Py_INCREF(Py_None); resultobj = Py_None;
8221 return resultobj;
8222 fail:
8223 return NULL;
8224 }
8225
8226
8227 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8228 PyObject *resultobj;
8229 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8230 bool result;
8231 PyObject * obj0 = 0 ;
8232 char *kwnames[] = {
8233 (char *) "self", NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)(arg1)->IsRedirected();
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 resultobj = PyInt_FromLong((long)result);
8246 return resultobj;
8247 fail:
8248 return NULL;
8249 }
8250
8251
8252 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8255 PyObject * obj0 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8262 {
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 (arg1)->Detach();
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 Py_INCREF(Py_None); resultobj = Py_None;
8270 return resultobj;
8271 fail:
8272 return NULL;
8273 }
8274
8275
8276 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8279 wxInputStream *result;
8280 PyObject * obj0 = 0 ;
8281 char *kwnames[] = {
8282 (char *) "self", NULL
8283 };
8284
8285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 result = (wxInputStream *)(arg1)->GetInputStream();
8290
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 {
8295 wxPyInputStream * _ptr = NULL;
8296
8297 if (result) {
8298 _ptr = new wxPyInputStream(result);
8299 }
8300 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8301 }
8302 return resultobj;
8303 fail:
8304 return NULL;
8305 }
8306
8307
8308 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8309 PyObject *resultobj;
8310 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8311 wxInputStream *result;
8312 PyObject * obj0 = 0 ;
8313 char *kwnames[] = {
8314 (char *) "self", NULL
8315 };
8316
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
8321 result = (wxInputStream *)(arg1)->GetErrorStream();
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 {
8327 wxPyInputStream * _ptr = NULL;
8328
8329 if (result) {
8330 _ptr = new wxPyInputStream(result);
8331 }
8332 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8333 }
8334 return resultobj;
8335 fail:
8336 return NULL;
8337 }
8338
8339
8340 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj;
8342 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8343 wxOutputStream *result;
8344 PyObject * obj0 = 0 ;
8345 char *kwnames[] = {
8346 (char *) "self", NULL
8347 };
8348
8349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = (wxOutputStream *)(arg1)->GetOutputStream();
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8359 return resultobj;
8360 fail:
8361 return NULL;
8362 }
8363
8364
8365 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8366 PyObject *resultobj;
8367 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8368 PyObject * obj0 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8377 (arg1)->CloseOutput();
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 Py_INCREF(Py_None); resultobj = Py_None;
8383 return resultobj;
8384 fail:
8385 return NULL;
8386 }
8387
8388
8389 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8390 PyObject *resultobj;
8391 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8392 bool result;
8393 PyObject * obj0 = 0 ;
8394 char *kwnames[] = {
8395 (char *) "self", NULL
8396 };
8397
8398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8403
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 resultobj = PyInt_FromLong((long)result);
8408 return resultobj;
8409 fail:
8410 return NULL;
8411 }
8412
8413
8414 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj;
8416 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8417 bool result;
8418 PyObject * obj0 = 0 ;
8419 char *kwnames[] = {
8420 (char *) "self", NULL
8421 };
8422
8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8425 {
8426 PyThreadState* __tstate = wxPyBeginAllowThreads();
8427 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8428
8429 wxPyEndAllowThreads(__tstate);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 resultobj = PyInt_FromLong((long)result);
8433 return resultobj;
8434 fail:
8435 return NULL;
8436 }
8437
8438
8439 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8440 PyObject *resultobj;
8441 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8442 bool result;
8443 PyObject * obj0 = 0 ;
8444 char *kwnames[] = {
8445 (char *) "self", NULL
8446 };
8447
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8453
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 resultobj = PyInt_FromLong((long)result);
8458 return resultobj;
8459 fail:
8460 return NULL;
8461 }
8462
8463
8464 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8465 PyObject *obj;
8466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8467 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8468 Py_INCREF(obj);
8469 return Py_BuildValue((char *)"");
8470 }
8471 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 int arg1 = (int) 0 ;
8474 int arg2 = (int) 0 ;
8475 int arg3 = (int) 0 ;
8476 wxProcessEvent *result;
8477 char *kwnames[] = {
8478 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8490 return resultobj;
8491 fail:
8492 return NULL;
8493 }
8494
8495
8496 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8499 int result;
8500 PyObject * obj0 = 0 ;
8501 char *kwnames[] = {
8502 (char *) "self", NULL
8503 };
8504
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (int)(arg1)->GetPid();
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = PyInt_FromLong((long)result);
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj;
8523 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8524 int result;
8525 PyObject * obj0 = 0 ;
8526 char *kwnames[] = {
8527 (char *) "self", NULL
8528 };
8529
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (int)(arg1)->GetExitCode();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = PyInt_FromLong((long)result);
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8547 PyObject *resultobj;
8548 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8549 int arg2 ;
8550 PyObject * obj0 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "self",(char *) "m_pid", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8557 if (arg1) (arg1)->m_pid = arg2;
8558
8559 Py_INCREF(Py_None); resultobj = Py_None;
8560 return resultobj;
8561 fail:
8562 return NULL;
8563 }
8564
8565
8566 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8567 PyObject *resultobj;
8568 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8569 int result;
8570 PyObject * obj0 = 0 ;
8571 char *kwnames[] = {
8572 (char *) "self", NULL
8573 };
8574
8575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8577 result = (int) ((arg1)->m_pid);
8578
8579 resultobj = PyInt_FromLong((long)result);
8580 return resultobj;
8581 fail:
8582 return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8589 int arg2 ;
8590 PyObject * obj0 = 0 ;
8591 char *kwnames[] = {
8592 (char *) "self",(char *) "m_exitcode", NULL
8593 };
8594
8595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8597 if (arg1) (arg1)->m_exitcode = arg2;
8598
8599 Py_INCREF(Py_None); resultobj = Py_None;
8600 return resultobj;
8601 fail:
8602 return NULL;
8603 }
8604
8605
8606 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj;
8608 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8609 int result;
8610 PyObject * obj0 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "self", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8617 result = (int) ((arg1)->m_exitcode);
8618
8619 resultobj = PyInt_FromLong((long)result);
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8627 PyObject *obj;
8628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8629 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8630 Py_INCREF(obj);
8631 return Py_BuildValue((char *)"");
8632 }
8633 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8634 PyObject *resultobj;
8635 wxString *arg1 = 0 ;
8636 int arg2 = (int) wxEXEC_ASYNC ;
8637 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8638 long result;
8639 bool temp1 = False ;
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj2 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "command",(char *) "flags",(char *) "process", NULL
8644 };
8645
8646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8647 {
8648 arg1 = wxString_in_helper(obj0);
8649 if (arg1 == NULL) SWIG_fail;
8650 temp1 = True;
8651 }
8652 if (obj2) {
8653 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8654 }
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = PyInt_FromLong((long)result);
8663 {
8664 if (temp1)
8665 delete arg1;
8666 }
8667 return resultobj;
8668 fail:
8669 {
8670 if (temp1)
8671 delete arg1;
8672 }
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 int arg1 = (int) wxJOYSTICK1 ;
8680 wxJoystick *result;
8681 char *kwnames[] = {
8682 (char *) "joystick", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (wxJoystick *)new wxJoystick(arg1);
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxJoystick *arg1 = (wxJoystick *) 0 ;
8703 PyObject * obj0 = 0 ;
8704 char *kwnames[] = {
8705 (char *) "self", NULL
8706 };
8707
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 delete arg1;
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 Py_INCREF(Py_None); resultobj = Py_None;
8718 return resultobj;
8719 fail:
8720 return NULL;
8721 }
8722
8723
8724 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 wxJoystick *arg1 = (wxJoystick *) 0 ;
8727 wxPoint result;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (arg1)->GetPosition();
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 {
8743 wxPoint * resultptr;
8744 resultptr = new wxPoint((wxPoint &) result);
8745 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8746 }
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxJoystick *arg1 = (wxJoystick *) 0 ;
8756 int result;
8757 PyObject * obj0 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = (int)(arg1)->GetZPosition();
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = PyInt_FromLong((long)result);
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxJoystick *arg1 = (wxJoystick *) 0 ;
8781 int result;
8782 PyObject * obj0 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (int)(arg1)->GetButtonState();
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 resultobj = PyInt_FromLong((long)result);
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxJoystick *arg1 = (wxJoystick *) 0 ;
8806 int result;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (int)(arg1)->GetPOVPosition();
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 resultobj = PyInt_FromLong((long)result);
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxJoystick *arg1 = (wxJoystick *) 0 ;
8831 int result;
8832 PyObject * obj0 = 0 ;
8833 char *kwnames[] = {
8834 (char *) "self", NULL
8835 };
8836
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (int)(arg1)->GetPOVCTSPosition();
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 resultobj = PyInt_FromLong((long)result);
8847 return resultobj;
8848 fail:
8849 return NULL;
8850 }
8851
8852
8853 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxJoystick *arg1 = (wxJoystick *) 0 ;
8856 int result;
8857 PyObject * obj0 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 result = (int)(arg1)->GetRudderPosition();
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 resultobj = PyInt_FromLong((long)result);
8872 return resultobj;
8873 fail:
8874 return NULL;
8875 }
8876
8877
8878 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj;
8880 wxJoystick *arg1 = (wxJoystick *) 0 ;
8881 int result;
8882 PyObject * obj0 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = (int)(arg1)->GetUPosition();
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 resultobj = PyInt_FromLong((long)result);
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxJoystick *arg1 = (wxJoystick *) 0 ;
8906 int result;
8907 PyObject * obj0 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 result = (int)(arg1)->GetVPosition();
8917
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = PyInt_FromLong((long)result);
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj;
8930 wxJoystick *arg1 = (wxJoystick *) 0 ;
8931 int result;
8932 PyObject * obj0 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (int)(arg1)->GetMovementThreshold();
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 resultobj = PyInt_FromLong((long)result);
8947 return resultobj;
8948 fail:
8949 return NULL;
8950 }
8951
8952
8953 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj;
8955 wxJoystick *arg1 = (wxJoystick *) 0 ;
8956 int arg2 ;
8957 PyObject * obj0 = 0 ;
8958 char *kwnames[] = {
8959 (char *) "self",(char *) "threshold", NULL
8960 };
8961
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->SetMovementThreshold(arg2);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 return resultobj;
8973 fail:
8974 return NULL;
8975 }
8976
8977
8978 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj;
8980 wxJoystick *arg1 = (wxJoystick *) 0 ;
8981 bool result;
8982 PyObject * obj0 = 0 ;
8983 char *kwnames[] = {
8984 (char *) "self", NULL
8985 };
8986
8987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (bool)(arg1)->IsOk();
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 resultobj = PyInt_FromLong((long)result);
8997 return resultobj;
8998 fail:
8999 return NULL;
9000 }
9001
9002
9003 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9004 PyObject *resultobj;
9005 wxJoystick *arg1 = (wxJoystick *) 0 ;
9006 int result;
9007 PyObject * obj0 = 0 ;
9008 char *kwnames[] = {
9009 (char *) "self", NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9014 {
9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
9016 result = (int)(arg1)->GetNumberJoysticks();
9017
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 resultobj = PyInt_FromLong((long)result);
9022 return resultobj;
9023 fail:
9024 return NULL;
9025 }
9026
9027
9028 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj;
9030 wxJoystick *arg1 = (wxJoystick *) 0 ;
9031 int result;
9032 PyObject * obj0 = 0 ;
9033 char *kwnames[] = {
9034 (char *) "self", NULL
9035 };
9036
9037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
9041 result = (int)(arg1)->GetManufacturerId();
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
9046 resultobj = PyInt_FromLong((long)result);
9047 return resultobj;
9048 fail:
9049 return NULL;
9050 }
9051
9052
9053 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9054 PyObject *resultobj;
9055 wxJoystick *arg1 = (wxJoystick *) 0 ;
9056 int result;
9057 PyObject * obj0 = 0 ;
9058 char *kwnames[] = {
9059 (char *) "self", NULL
9060 };
9061
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = (int)(arg1)->GetProductId();
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 resultobj = PyInt_FromLong((long)result);
9072 return resultobj;
9073 fail:
9074 return NULL;
9075 }
9076
9077
9078 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9079 PyObject *resultobj;
9080 wxJoystick *arg1 = (wxJoystick *) 0 ;
9081 wxString result;
9082 PyObject * obj0 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 result = (arg1)->GetProductName();
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 {
9097 #if wxUSE_UNICODE
9098 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9099 #else
9100 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9101 #endif
9102 }
9103 return resultobj;
9104 fail:
9105 return NULL;
9106 }
9107
9108
9109 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9110 PyObject *resultobj;
9111 wxJoystick *arg1 = (wxJoystick *) 0 ;
9112 int result;
9113 PyObject * obj0 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (int)(arg1)->GetXMin();
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 resultobj = PyInt_FromLong((long)result);
9128 return resultobj;
9129 fail:
9130 return NULL;
9131 }
9132
9133
9134 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9135 PyObject *resultobj;
9136 wxJoystick *arg1 = (wxJoystick *) 0 ;
9137 int result;
9138 PyObject * obj0 = 0 ;
9139 char *kwnames[] = {
9140 (char *) "self", NULL
9141 };
9142
9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 result = (int)(arg1)->GetYMin();
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 resultobj = PyInt_FromLong((long)result);
9153 return resultobj;
9154 fail:
9155 return NULL;
9156 }
9157
9158
9159 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9160 PyObject *resultobj;
9161 wxJoystick *arg1 = (wxJoystick *) 0 ;
9162 int result;
9163 PyObject * obj0 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 result = (int)(arg1)->GetZMin();
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 resultobj = PyInt_FromLong((long)result);
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxJoystick *arg1 = (wxJoystick *) 0 ;
9187 int result;
9188 PyObject * obj0 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self", NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 result = (int)(arg1)->GetXMax();
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 resultobj = PyInt_FromLong((long)result);
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxJoystick *arg1 = (wxJoystick *) 0 ;
9212 int result;
9213 PyObject * obj0 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (int)(arg1)->GetYMax();
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 resultobj = PyInt_FromLong((long)result);
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxJoystick *arg1 = (wxJoystick *) 0 ;
9237 int result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (int)(arg1)->GetZMax();
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 resultobj = PyInt_FromLong((long)result);
9253 return resultobj;
9254 fail:
9255 return NULL;
9256 }
9257
9258
9259 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj;
9261 wxJoystick *arg1 = (wxJoystick *) 0 ;
9262 int result;
9263 PyObject * obj0 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 result = (int)(arg1)->GetNumberButtons();
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 resultobj = PyInt_FromLong((long)result);
9278 return resultobj;
9279 fail:
9280 return NULL;
9281 }
9282
9283
9284 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9285 PyObject *resultobj;
9286 wxJoystick *arg1 = (wxJoystick *) 0 ;
9287 int result;
9288 PyObject * obj0 = 0 ;
9289 char *kwnames[] = {
9290 (char *) "self", NULL
9291 };
9292
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 result = (int)(arg1)->GetNumberAxes();
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = PyInt_FromLong((long)result);
9303 return resultobj;
9304 fail:
9305 return NULL;
9306 }
9307
9308
9309 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxJoystick *arg1 = (wxJoystick *) 0 ;
9312 int result;
9313 PyObject * obj0 = 0 ;
9314 char *kwnames[] = {
9315 (char *) "self", NULL
9316 };
9317
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (int)(arg1)->GetMaxButtons();
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 resultobj = PyInt_FromLong((long)result);
9328 return resultobj;
9329 fail:
9330 return NULL;
9331 }
9332
9333
9334 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj;
9336 wxJoystick *arg1 = (wxJoystick *) 0 ;
9337 int result;
9338 PyObject * obj0 = 0 ;
9339 char *kwnames[] = {
9340 (char *) "self", NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (int)(arg1)->GetMaxAxes();
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 resultobj = PyInt_FromLong((long)result);
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxJoystick *arg1 = (wxJoystick *) 0 ;
9362 int result;
9363 PyObject * obj0 = 0 ;
9364 char *kwnames[] = {
9365 (char *) "self", NULL
9366 };
9367
9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 result = (int)(arg1)->GetPollingMin();
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 resultobj = PyInt_FromLong((long)result);
9378 return resultobj;
9379 fail:
9380 return NULL;
9381 }
9382
9383
9384 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9385 PyObject *resultobj;
9386 wxJoystick *arg1 = (wxJoystick *) 0 ;
9387 int result;
9388 PyObject * obj0 = 0 ;
9389 char *kwnames[] = {
9390 (char *) "self", NULL
9391 };
9392
9393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 result = (int)(arg1)->GetPollingMax();
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 resultobj = PyInt_FromLong((long)result);
9403 return resultobj;
9404 fail:
9405 return NULL;
9406 }
9407
9408
9409 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9410 PyObject *resultobj;
9411 wxJoystick *arg1 = (wxJoystick *) 0 ;
9412 int result;
9413 PyObject * obj0 = 0 ;
9414 char *kwnames[] = {
9415 (char *) "self", NULL
9416 };
9417
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = (int)(arg1)->GetRudderMin();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 resultobj = PyInt_FromLong((long)result);
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj;
9436 wxJoystick *arg1 = (wxJoystick *) 0 ;
9437 int result;
9438 PyObject * obj0 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (int)(arg1)->GetRudderMax();
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 resultobj = PyInt_FromLong((long)result);
9453 return resultobj;
9454 fail:
9455 return NULL;
9456 }
9457
9458
9459 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9460 PyObject *resultobj;
9461 wxJoystick *arg1 = (wxJoystick *) 0 ;
9462 int result;
9463 PyObject * obj0 = 0 ;
9464 char *kwnames[] = {
9465 (char *) "self", NULL
9466 };
9467
9468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 result = (int)(arg1)->GetUMin();
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = PyInt_FromLong((long)result);
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxJoystick *arg1 = (wxJoystick *) 0 ;
9487 int result;
9488 PyObject * obj0 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (int)(arg1)->GetUMax();
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 resultobj = PyInt_FromLong((long)result);
9503 return resultobj;
9504 fail:
9505 return NULL;
9506 }
9507
9508
9509 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject *resultobj;
9511 wxJoystick *arg1 = (wxJoystick *) 0 ;
9512 int result;
9513 PyObject * obj0 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "self", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 result = (int)(arg1)->GetVMin();
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 resultobj = PyInt_FromLong((long)result);
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxJoystick *arg1 = (wxJoystick *) 0 ;
9537 int result;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (int)(arg1)->GetVMax();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 resultobj = PyInt_FromLong((long)result);
9553 return resultobj;
9554 fail:
9555 return NULL;
9556 }
9557
9558
9559 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxJoystick *arg1 = (wxJoystick *) 0 ;
9562 bool result;
9563 PyObject * obj0 = 0 ;
9564 char *kwnames[] = {
9565 (char *) "self", NULL
9566 };
9567
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (bool)(arg1)->HasRudder();
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 resultobj = PyInt_FromLong((long)result);
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxJoystick *arg1 = (wxJoystick *) 0 ;
9587 bool result;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (bool)(arg1)->HasZ();
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
9602 resultobj = PyInt_FromLong((long)result);
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9610 PyObject *resultobj;
9611 wxJoystick *arg1 = (wxJoystick *) 0 ;
9612 bool result;
9613 PyObject * obj0 = 0 ;
9614 char *kwnames[] = {
9615 (char *) "self", NULL
9616 };
9617
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (bool)(arg1)->HasU();
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 resultobj = PyInt_FromLong((long)result);
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxJoystick *arg1 = (wxJoystick *) 0 ;
9637 bool result;
9638 PyObject * obj0 = 0 ;
9639 char *kwnames[] = {
9640 (char *) "self", NULL
9641 };
9642
9643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 result = (bool)(arg1)->HasV();
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 resultobj = PyInt_FromLong((long)result);
9653 return resultobj;
9654 fail:
9655 return NULL;
9656 }
9657
9658
9659 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9660 PyObject *resultobj;
9661 wxJoystick *arg1 = (wxJoystick *) 0 ;
9662 bool result;
9663 PyObject * obj0 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 result = (bool)(arg1)->HasPOV();
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 resultobj = PyInt_FromLong((long)result);
9678 return resultobj;
9679 fail:
9680 return NULL;
9681 }
9682
9683
9684 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9685 PyObject *resultobj;
9686 wxJoystick *arg1 = (wxJoystick *) 0 ;
9687 bool result;
9688 PyObject * obj0 = 0 ;
9689 char *kwnames[] = {
9690 (char *) "self", NULL
9691 };
9692
9693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (bool)(arg1)->HasPOV4Dir();
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 resultobj = PyInt_FromLong((long)result);
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxJoystick *arg1 = (wxJoystick *) 0 ;
9712 bool result;
9713 PyObject * obj0 = 0 ;
9714 char *kwnames[] = {
9715 (char *) "self", NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (bool)(arg1)->HasPOVCTS();
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 resultobj = PyInt_FromLong((long)result);
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxJoystick *arg1 = (wxJoystick *) 0 ;
9737 wxWindow *arg2 = (wxWindow *) 0 ;
9738 int arg3 = (int) 0 ;
9739 bool result;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (bool)(arg1)->SetCapture(arg2,arg3);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 resultobj = PyInt_FromLong((long)result);
9757 return resultobj;
9758 fail:
9759 return NULL;
9760 }
9761
9762
9763 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj;
9765 wxJoystick *arg1 = (wxJoystick *) 0 ;
9766 bool result;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 result = (bool)(arg1)->ReleaseCapture();
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 resultobj = PyInt_FromLong((long)result);
9782 return resultobj;
9783 fail:
9784 return NULL;
9785 }
9786
9787
9788 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9789 PyObject *obj;
9790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9791 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9792 Py_INCREF(obj);
9793 return Py_BuildValue((char *)"");
9794 }
9795 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj;
9797 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9798 wxPoint *arg2 = (wxPoint *) 0 ;
9799 PyObject * obj0 = 0 ;
9800 PyObject * obj1 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self",(char *) "m_pos", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9808 if (arg1) (arg1)->m_pos = *arg2;
9809
9810 Py_INCREF(Py_None); resultobj = Py_None;
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9820 wxPoint *result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 result = (wxPoint *)& ((arg1)->m_pos);
9829
9830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9831 return resultobj;
9832 fail:
9833 return NULL;
9834 }
9835
9836
9837 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9840 int arg2 ;
9841 PyObject * obj0 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self",(char *) "m_zPosition", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9848 if (arg1) (arg1)->m_zPosition = arg2;
9849
9850 Py_INCREF(Py_None); resultobj = Py_None;
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9860 int result;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9868 result = (int) ((arg1)->m_zPosition);
9869
9870 resultobj = PyInt_FromLong((long)result);
9871 return resultobj;
9872 fail:
9873 return NULL;
9874 }
9875
9876
9877 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9880 int arg2 ;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "m_buttonChange", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 if (arg1) (arg1)->m_buttonChange = arg2;
9889
9890 Py_INCREF(Py_None); resultobj = Py_None;
9891 return resultobj;
9892 fail:
9893 return NULL;
9894 }
9895
9896
9897 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9900 int result;
9901 PyObject * obj0 = 0 ;
9902 char *kwnames[] = {
9903 (char *) "self", NULL
9904 };
9905
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9908 result = (int) ((arg1)->m_buttonChange);
9909
9910 resultobj = PyInt_FromLong((long)result);
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9920 int arg2 ;
9921 PyObject * obj0 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self",(char *) "m_buttonState", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9928 if (arg1) (arg1)->m_buttonState = arg2;
9929
9930 Py_INCREF(Py_None); resultobj = Py_None;
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj;
9939 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9940 int result;
9941 PyObject * obj0 = 0 ;
9942 char *kwnames[] = {
9943 (char *) "self", NULL
9944 };
9945
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9948 result = (int) ((arg1)->m_buttonState);
9949
9950 resultobj = PyInt_FromLong((long)result);
9951 return resultobj;
9952 fail:
9953 return NULL;
9954 }
9955
9956
9957 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9960 int arg2 ;
9961 PyObject * obj0 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "m_joyStick", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9968 if (arg1) (arg1)->m_joyStick = arg2;
9969
9970 Py_INCREF(Py_None); resultobj = Py_None;
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9980 int result;
9981 PyObject * obj0 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "self", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9988 result = (int) ((arg1)->m_joyStick);
9989
9990 resultobj = PyInt_FromLong((long)result);
9991 return resultobj;
9992 fail:
9993 return NULL;
9994 }
9995
9996
9997 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10000 int arg2 = (int) 0 ;
10001 int arg3 = (int) wxJOYSTICK1 ;
10002 int arg4 = (int) 0 ;
10003 wxJoystickEvent *result;
10004 char *kwnames[] = {
10005 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10026 wxPoint result;
10027 PyObject * obj0 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 {
10042 wxPoint * resultptr;
10043 resultptr = new wxPoint((wxPoint &) result);
10044 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10045 }
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10055 int result;
10056 PyObject * obj0 = 0 ;
10057 char *kwnames[] = {
10058 (char *) "self", NULL
10059 };
10060
10061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 resultobj = PyInt_FromLong((long)result);
10071 return resultobj;
10072 fail:
10073 return NULL;
10074 }
10075
10076
10077 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10078 PyObject *resultobj;
10079 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10080 int result;
10081 PyObject * obj0 = 0 ;
10082 char *kwnames[] = {
10083 (char *) "self", NULL
10084 };
10085
10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 resultobj = PyInt_FromLong((long)result);
10096 return resultobj;
10097 fail:
10098 return NULL;
10099 }
10100
10101
10102 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj;
10104 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10105 int result;
10106 PyObject * obj0 = 0 ;
10107 char *kwnames[] = {
10108 (char *) "self", NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 resultobj = PyInt_FromLong((long)result);
10121 return resultobj;
10122 fail:
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10130 int result;
10131 PyObject * obj0 = 0 ;
10132 char *kwnames[] = {
10133 (char *) "self", NULL
10134 };
10135
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 resultobj = PyInt_FromLong((long)result);
10146 return resultobj;
10147 fail:
10148 return NULL;
10149 }
10150
10151
10152 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10153 PyObject *resultobj;
10154 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10155 int arg2 ;
10156 PyObject * obj0 = 0 ;
10157 char *kwnames[] = {
10158 (char *) "self",(char *) "stick", NULL
10159 };
10160
10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10163 {
10164 PyThreadState* __tstate = wxPyBeginAllowThreads();
10165 (arg1)->SetJoystick(arg2);
10166
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 Py_INCREF(Py_None); resultobj = Py_None;
10171 return resultobj;
10172 fail:
10173 return NULL;
10174 }
10175
10176
10177 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10178 PyObject *resultobj;
10179 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10180 int arg2 ;
10181 PyObject * obj0 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "self",(char *) "state", NULL
10184 };
10185
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 (arg1)->SetButtonState(arg2);
10191
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 Py_INCREF(Py_None); resultobj = Py_None;
10196 return resultobj;
10197 fail:
10198 return NULL;
10199 }
10200
10201
10202 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10203 PyObject *resultobj;
10204 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10205 int arg2 ;
10206 PyObject * obj0 = 0 ;
10207 char *kwnames[] = {
10208 (char *) "self",(char *) "change", NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 (arg1)->SetButtonChange(arg2);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 Py_INCREF(Py_None); resultobj = Py_None;
10221 return resultobj;
10222 fail:
10223 return NULL;
10224 }
10225
10226
10227 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj;
10229 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10230 wxPoint *arg2 = 0 ;
10231 wxPoint temp2 ;
10232 PyObject * obj0 = 0 ;
10233 PyObject * obj1 = 0 ;
10234 char *kwnames[] = {
10235 (char *) "self",(char *) "pos", NULL
10236 };
10237
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10240 {
10241 arg2 = &temp2;
10242 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10243 }
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 (arg1)->SetPosition((wxPoint const &)*arg2);
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 Py_INCREF(Py_None); resultobj = Py_None;
10252 return resultobj;
10253 fail:
10254 return NULL;
10255 }
10256
10257
10258 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10261 int arg2 ;
10262 PyObject * obj0 = 0 ;
10263 char *kwnames[] = {
10264 (char *) "self",(char *) "zPos", NULL
10265 };
10266
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 (arg1)->SetZPosition(arg2);
10272
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 Py_INCREF(Py_None); resultobj = Py_None;
10277 return resultobj;
10278 fail:
10279 return NULL;
10280 }
10281
10282
10283 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10284 PyObject *resultobj;
10285 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10286 bool result;
10287 PyObject * obj0 = 0 ;
10288 char *kwnames[] = {
10289 (char *) "self", NULL
10290 };
10291
10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
10301 resultobj = PyInt_FromLong((long)result);
10302 return resultobj;
10303 fail:
10304 return NULL;
10305 }
10306
10307
10308 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10309 PyObject *resultobj;
10310 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10311 bool result;
10312 PyObject * obj0 = 0 ;
10313 char *kwnames[] = {
10314 (char *) "self", NULL
10315 };
10316
10317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 resultobj = PyInt_FromLong((long)result);
10327 return resultobj;
10328 fail:
10329 return NULL;
10330 }
10331
10332
10333 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10334 PyObject *resultobj;
10335 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10336 bool result;
10337 PyObject * obj0 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "self", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 resultobj = PyInt_FromLong((long)result);
10352 return resultobj;
10353 fail:
10354 return NULL;
10355 }
10356
10357
10358 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj;
10360 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10361 int arg2 = (int) wxJOY_BUTTON_ANY ;
10362 bool result;
10363 PyObject * obj0 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self",(char *) "but", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 resultobj = PyInt_FromLong((long)result);
10378 return resultobj;
10379 fail:
10380 return NULL;
10381 }
10382
10383
10384 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10385 PyObject *resultobj;
10386 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10387 int arg2 = (int) wxJOY_BUTTON_ANY ;
10388 bool result;
10389 PyObject * obj0 = 0 ;
10390 char *kwnames[] = {
10391 (char *) "self",(char *) "but", NULL
10392 };
10393
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 resultobj = PyInt_FromLong((long)result);
10404 return resultobj;
10405 fail:
10406 return NULL;
10407 }
10408
10409
10410 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10411 PyObject *resultobj;
10412 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10413 int arg2 = (int) wxJOY_BUTTON_ANY ;
10414 bool result;
10415 PyObject * obj0 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "self",(char *) "but", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10425
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 resultobj = PyInt_FromLong((long)result);
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10437 PyObject *obj;
10438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10439 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10440 Py_INCREF(obj);
10441 return Py_BuildValue((char *)"");
10442 }
10443 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10444 PyObject *resultobj;
10445 wxString *arg1 = 0 ;
10446 bool arg2 = (bool) False ;
10447 wxWave *result;
10448 bool temp1 = False ;
10449 PyObject * obj0 = 0 ;
10450 PyObject * obj1 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "fileName",(char *) "isResource", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10456 {
10457 arg1 = wxString_in_helper(obj0);
10458 if (arg1 == NULL) SWIG_fail;
10459 temp1 = True;
10460 }
10461 if (obj1) {
10462 arg2 = PyInt_AsLong(obj1) ? true : false;
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10473 {
10474 if (temp1)
10475 delete arg1;
10476 }
10477 return resultobj;
10478 fail:
10479 {
10480 if (temp1)
10481 delete arg1;
10482 }
10483 return NULL;
10484 }
10485
10486
10487 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10488 PyObject *resultobj;
10489 wxString *arg1 = 0 ;
10490 wxWave *result;
10491 bool temp1 = False ;
10492 PyObject * obj0 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "data", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10498 {
10499 arg1 = wxString_in_helper(obj0);
10500 if (arg1 == NULL) SWIG_fail;
10501 temp1 = True;
10502 }
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10511 {
10512 if (temp1)
10513 delete arg1;
10514 }
10515 return resultobj;
10516 fail:
10517 {
10518 if (temp1)
10519 delete arg1;
10520 }
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxWave *arg1 = (wxWave *) 0 ;
10528 PyObject * obj0 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 delete arg1;
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj;
10551 wxWave *arg1 = (wxWave *) 0 ;
10552 bool result;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 result = (bool)((wxWave const *)arg1)->IsOk();
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = PyInt_FromLong((long)result);
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxWave *arg1 = (wxWave *) 0 ;
10577 bool arg2 = (bool) True ;
10578 bool arg3 = (bool) False ;
10579 bool result;
10580 PyObject * obj0 = 0 ;
10581 PyObject * obj1 = 0 ;
10582 PyObject * obj2 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self",(char *) "async",(char *) "looped", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10589 if (obj1) {
10590 arg2 = PyInt_AsLong(obj1) ? true : false;
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 if (obj2) {
10594 arg3 = PyInt_AsLong(obj2) ? true : false;
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 result = (bool)(arg1)->Play(arg2,arg3);
10600
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 resultobj = PyInt_FromLong((long)result);
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10612 PyObject *obj;
10613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10614 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10615 Py_INCREF(obj);
10616 return Py_BuildValue((char *)"");
10617 }
10618 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj;
10620 wxString *arg1 = 0 ;
10621 wxString *arg2 = 0 ;
10622 wxString *arg3 = 0 ;
10623 wxString *arg4 = 0 ;
10624 wxFileTypeInfo *result;
10625 bool temp1 = False ;
10626 bool temp2 = False ;
10627 bool temp3 = False ;
10628 bool temp4 = False ;
10629 PyObject * obj0 = 0 ;
10630 PyObject * obj1 = 0 ;
10631 PyObject * obj2 = 0 ;
10632 PyObject * obj3 = 0 ;
10633 char *kwnames[] = {
10634 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10635 };
10636
10637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10638 {
10639 arg1 = wxString_in_helper(obj0);
10640 if (arg1 == NULL) SWIG_fail;
10641 temp1 = True;
10642 }
10643 {
10644 arg2 = wxString_in_helper(obj1);
10645 if (arg2 == NULL) SWIG_fail;
10646 temp2 = True;
10647 }
10648 {
10649 arg3 = wxString_in_helper(obj2);
10650 if (arg3 == NULL) SWIG_fail;
10651 temp3 = True;
10652 }
10653 {
10654 arg4 = wxString_in_helper(obj3);
10655 if (arg4 == NULL) SWIG_fail;
10656 temp4 = True;
10657 }
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10661
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10666 {
10667 if (temp1)
10668 delete arg1;
10669 }
10670 {
10671 if (temp2)
10672 delete arg2;
10673 }
10674 {
10675 if (temp3)
10676 delete arg3;
10677 }
10678 {
10679 if (temp4)
10680 delete arg4;
10681 }
10682 return resultobj;
10683 fail:
10684 {
10685 if (temp1)
10686 delete arg1;
10687 }
10688 {
10689 if (temp2)
10690 delete arg2;
10691 }
10692 {
10693 if (temp3)
10694 delete arg3;
10695 }
10696 {
10697 if (temp4)
10698 delete arg4;
10699 }
10700 return NULL;
10701 }
10702
10703
10704 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10705 PyObject *resultobj;
10706 wxArrayString *arg1 = 0 ;
10707 wxFileTypeInfo *result;
10708 PyObject * obj0 = 0 ;
10709 char *kwnames[] = {
10710 (char *) "sArray", NULL
10711 };
10712
10713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10714 {
10715 if (! PySequence_Check(obj0)) {
10716 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10717 SWIG_fail;
10718 }
10719 arg1 = new wxArrayString;
10720 int i, len=PySequence_Length(obj0);
10721 for (i=0; i<len; i++) {
10722 PyObject* item = PySequence_GetItem(obj0, i);
10723 #if wxUSE_UNICODE
10724 PyObject* str = PyObject_Unicode(item);
10725 #else
10726 PyObject* str = PyObject_Str(item);
10727 #endif
10728 arg1->Add(Py2wxString(str));
10729 Py_DECREF(item);
10730 Py_DECREF(str);
10731 }
10732 }
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10741 {
10742 if (arg1) delete arg1;
10743 }
10744 return resultobj;
10745 fail:
10746 {
10747 if (arg1) delete arg1;
10748 }
10749 return NULL;
10750 }
10751
10752
10753 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10754 PyObject *resultobj;
10755 wxFileTypeInfo *result;
10756 char *kwnames[] = {
10757 NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10778 bool result;
10779 PyObject * obj0 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 resultobj = PyInt_FromLong((long)result);
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10803 wxString *arg2 = 0 ;
10804 int arg3 = (int) 0 ;
10805 bool temp2 = False ;
10806 PyObject * obj0 = 0 ;
10807 PyObject * obj1 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10814 {
10815 arg2 = wxString_in_helper(obj1);
10816 if (arg2 == NULL) SWIG_fail;
10817 temp2 = True;
10818 }
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 Py_INCREF(Py_None); resultobj = Py_None;
10827 {
10828 if (temp2)
10829 delete arg2;
10830 }
10831 return resultobj;
10832 fail:
10833 {
10834 if (temp2)
10835 delete arg2;
10836 }
10837 return NULL;
10838 }
10839
10840
10841 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10844 wxString *arg2 = 0 ;
10845 bool temp2 = False ;
10846 PyObject * obj0 = 0 ;
10847 PyObject * obj1 = 0 ;
10848 char *kwnames[] = {
10849 (char *) "self",(char *) "shortDesc", NULL
10850 };
10851
10852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10854 {
10855 arg2 = wxString_in_helper(obj1);
10856 if (arg2 == NULL) SWIG_fail;
10857 temp2 = True;
10858 }
10859 {
10860 PyThreadState* __tstate = wxPyBeginAllowThreads();
10861 (arg1)->SetShortDesc((wxString const &)*arg2);
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 Py_INCREF(Py_None); resultobj = Py_None;
10867 {
10868 if (temp2)
10869 delete arg2;
10870 }
10871 return resultobj;
10872 fail:
10873 {
10874 if (temp2)
10875 delete arg2;
10876 }
10877 return NULL;
10878 }
10879
10880
10881 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10882 PyObject *resultobj;
10883 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10884 wxString *result;
10885 PyObject * obj0 = 0 ;
10886 char *kwnames[] = {
10887 (char *) "self", NULL
10888 };
10889
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10892 {
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 {
10895 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10896 result = (wxString *) &_result_ref;
10897 }
10898
10899 wxPyEndAllowThreads(__tstate);
10900 if (PyErr_Occurred()) SWIG_fail;
10901 }
10902 {
10903 #if wxUSE_UNICODE
10904 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10905 #else
10906 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10907 #endif
10908 }
10909 return resultobj;
10910 fail:
10911 return NULL;
10912 }
10913
10914
10915 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10916 PyObject *resultobj;
10917 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10918 wxString *result;
10919 PyObject * obj0 = 0 ;
10920 char *kwnames[] = {
10921 (char *) "self", NULL
10922 };
10923
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 {
10929 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10930 result = (wxString *) &_result_ref;
10931 }
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 {
10937 #if wxUSE_UNICODE
10938 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10939 #else
10940 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10941 #endif
10942 }
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10952 wxString *result;
10953 PyObject * obj0 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "self", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 {
10963 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10964 result = (wxString *) &_result_ref;
10965 }
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
10970 {
10971 #if wxUSE_UNICODE
10972 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10973 #else
10974 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10975 #endif
10976 }
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10986 wxString *result;
10987 PyObject * obj0 = 0 ;
10988 char *kwnames[] = {
10989 (char *) "self", NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 {
10997 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10998 result = (wxString *) &_result_ref;
10999 }
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 {
11005 #if wxUSE_UNICODE
11006 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11007 #else
11008 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11009 #endif
11010 }
11011 return resultobj;
11012 fail:
11013 return NULL;
11014 }
11015
11016
11017 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj;
11019 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11020 wxString *result;
11021 PyObject * obj0 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "self", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 {
11031 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11032 result = (wxString *) &_result_ref;
11033 }
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 {
11039 #if wxUSE_UNICODE
11040 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11041 #else
11042 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11043 #endif
11044 }
11045 return resultobj;
11046 fail:
11047 return NULL;
11048 }
11049
11050
11051 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11052 PyObject *resultobj;
11053 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11054 wxArrayString *result;
11055 PyObject * obj0 = 0 ;
11056 char *kwnames[] = {
11057 (char *) "self", NULL
11058 };
11059
11060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
11061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 {
11065 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
11066 result = (wxArrayString *) &_result_ref;
11067 }
11068
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 {
11073 resultobj = wxArrayString2PyList_helper(*result);
11074 }
11075 return resultobj;
11076 fail:
11077 return NULL;
11078 }
11079
11080
11081 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj;
11083 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11084 int result;
11085 PyObject * obj0 = 0 ;
11086 char *kwnames[] = {
11087 (char *) "self", NULL
11088 };
11089
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 resultobj = PyInt_FromLong((long)result);
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj;
11108 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11109 wxString *result;
11110 PyObject * obj0 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 {
11120 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11121 result = (wxString *) &_result_ref;
11122 }
11123
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 {
11128 #if wxUSE_UNICODE
11129 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11130 #else
11131 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11132 #endif
11133 }
11134 return resultobj;
11135 fail:
11136 return NULL;
11137 }
11138
11139
11140 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11141 PyObject *resultobj;
11142 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11143 int result;
11144 PyObject * obj0 = 0 ;
11145 char *kwnames[] = {
11146 (char *) "self", NULL
11147 };
11148
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11151 {
11152 PyThreadState* __tstate = wxPyBeginAllowThreads();
11153 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11154
11155 wxPyEndAllowThreads(__tstate);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 resultobj = PyInt_FromLong((long)result);
11159 return resultobj;
11160 fail:
11161 return NULL;
11162 }
11163
11164
11165 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11166 PyObject *obj;
11167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11168 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11169 Py_INCREF(obj);
11170 return Py_BuildValue((char *)"");
11171 }
11172 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11173 PyObject *resultobj;
11174 wxFileTypeInfo *arg1 = 0 ;
11175 wxFileType *result;
11176 PyObject * obj0 = 0 ;
11177 char *kwnames[] = {
11178 (char *) "ftInfo", NULL
11179 };
11180
11181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11183 if (arg1 == NULL) {
11184 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11185 }
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11194 return resultobj;
11195 fail:
11196 return NULL;
11197 }
11198
11199
11200 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject *resultobj;
11202 wxFileType *arg1 = (wxFileType *) 0 ;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 delete arg1;
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 Py_INCREF(Py_None); resultobj = Py_None;
11218 return resultobj;
11219 fail:
11220 return NULL;
11221 }
11222
11223
11224 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11225 PyObject *resultobj;
11226 wxFileType *arg1 = (wxFileType *) 0 ;
11227 PyObject *result;
11228 PyObject * obj0 = 0 ;
11229 char *kwnames[] = {
11230 (char *) "self", NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (PyObject *)wxFileType_GetMimeType(arg1);
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 resultobj = result;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxFileType *arg1 = (wxFileType *) 0 ;
11252 PyObject *result;
11253 PyObject * obj0 = 0 ;
11254 char *kwnames[] = {
11255 (char *) "self", NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = result;
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxFileType *arg1 = (wxFileType *) 0 ;
11277 PyObject *result;
11278 PyObject * obj0 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (PyObject *)wxFileType_GetExtensions(arg1);
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 resultobj = result;
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxFileType *arg1 = (wxFileType *) 0 ;
11302 wxIcon *result;
11303 PyObject * obj0 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 result = (wxIcon *)wxFileType_GetIcon(arg1);
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11318 return resultobj;
11319 fail:
11320 return NULL;
11321 }
11322
11323
11324 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj;
11326 wxFileType *arg1 = (wxFileType *) 0 ;
11327 PyObject *result;
11328 PyObject * obj0 = 0 ;
11329 char *kwnames[] = {
11330 (char *) "self", NULL
11331 };
11332
11333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 resultobj = result;
11343 return resultobj;
11344 fail:
11345 return NULL;
11346 }
11347
11348
11349 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11350 PyObject *resultobj;
11351 wxFileType *arg1 = (wxFileType *) 0 ;
11352 PyObject *result;
11353 PyObject * obj0 = 0 ;
11354 char *kwnames[] = {
11355 (char *) "self", NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 result = (PyObject *)wxFileType_GetDescription(arg1);
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 resultobj = result;
11368 return resultobj;
11369 fail:
11370 return NULL;
11371 }
11372
11373
11374 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxFileType *arg1 = (wxFileType *) 0 ;
11377 wxString *arg2 = 0 ;
11378 wxString const &arg3_defvalue = wxPyEmptyString ;
11379 wxString *arg3 = (wxString *) &arg3_defvalue ;
11380 PyObject *result;
11381 bool temp2 = False ;
11382 bool temp3 = False ;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 PyObject * obj2 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11392 {
11393 arg2 = wxString_in_helper(obj1);
11394 if (arg2 == NULL) SWIG_fail;
11395 temp2 = True;
11396 }
11397 if (obj2) {
11398 {
11399 arg3 = wxString_in_helper(obj2);
11400 if (arg3 == NULL) SWIG_fail;
11401 temp3 = True;
11402 }
11403 }
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11407
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 resultobj = result;
11412 {
11413 if (temp2)
11414 delete arg2;
11415 }
11416 {
11417 if (temp3)
11418 delete arg3;
11419 }
11420 return resultobj;
11421 fail:
11422 {
11423 if (temp2)
11424 delete arg2;
11425 }
11426 {
11427 if (temp3)
11428 delete arg3;
11429 }
11430 return NULL;
11431 }
11432
11433
11434 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxFileType *arg1 = (wxFileType *) 0 ;
11437 wxString *arg2 = 0 ;
11438 wxString const &arg3_defvalue = wxPyEmptyString ;
11439 wxString *arg3 = (wxString *) &arg3_defvalue ;
11440 PyObject *result;
11441 bool temp2 = False ;
11442 bool temp3 = False ;
11443 PyObject * obj0 = 0 ;
11444 PyObject * obj1 = 0 ;
11445 PyObject * obj2 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11452 {
11453 arg2 = wxString_in_helper(obj1);
11454 if (arg2 == NULL) SWIG_fail;
11455 temp2 = True;
11456 }
11457 if (obj2) {
11458 {
11459 arg3 = wxString_in_helper(obj2);
11460 if (arg3 == NULL) SWIG_fail;
11461 temp3 = True;
11462 }
11463 }
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 resultobj = result;
11472 {
11473 if (temp2)
11474 delete arg2;
11475 }
11476 {
11477 if (temp3)
11478 delete arg3;
11479 }
11480 return resultobj;
11481 fail:
11482 {
11483 if (temp2)
11484 delete arg2;
11485 }
11486 {
11487 if (temp3)
11488 delete arg3;
11489 }
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxFileType *arg1 = (wxFileType *) 0 ;
11497 wxString *arg2 = 0 ;
11498 wxString const &arg3_defvalue = wxPyEmptyString ;
11499 wxString *arg3 = (wxString *) &arg3_defvalue ;
11500 PyObject *result;
11501 bool temp2 = False ;
11502 bool temp3 = False ;
11503 PyObject * obj0 = 0 ;
11504 PyObject * obj1 = 0 ;
11505 PyObject * obj2 = 0 ;
11506 char *kwnames[] = {
11507 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11508 };
11509
11510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11512 {
11513 arg2 = wxString_in_helper(obj1);
11514 if (arg2 == NULL) SWIG_fail;
11515 temp2 = True;
11516 }
11517 if (obj2) {
11518 {
11519 arg3 = wxString_in_helper(obj2);
11520 if (arg3 == NULL) SWIG_fail;
11521 temp3 = True;
11522 }
11523 }
11524 {
11525 PyThreadState* __tstate = wxPyBeginAllowThreads();
11526 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11527
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 resultobj = result;
11532 {
11533 if (temp2)
11534 delete arg2;
11535 }
11536 {
11537 if (temp3)
11538 delete arg3;
11539 }
11540 return resultobj;
11541 fail:
11542 {
11543 if (temp2)
11544 delete arg2;
11545 }
11546 {
11547 if (temp3)
11548 delete arg3;
11549 }
11550 return NULL;
11551 }
11552
11553
11554 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11555 PyObject *resultobj;
11556 wxFileType *arg1 = (wxFileType *) 0 ;
11557 wxString *arg2 = 0 ;
11558 wxString *arg3 = 0 ;
11559 bool arg4 = (bool) True ;
11560 bool result;
11561 bool temp2 = False ;
11562 bool temp3 = False ;
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 PyObject * obj2 = 0 ;
11566 PyObject * obj3 = 0 ;
11567 char *kwnames[] = {
11568 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11573 {
11574 arg2 = wxString_in_helper(obj1);
11575 if (arg2 == NULL) SWIG_fail;
11576 temp2 = True;
11577 }
11578 {
11579 arg3 = wxString_in_helper(obj2);
11580 if (arg3 == NULL) SWIG_fail;
11581 temp3 = True;
11582 }
11583 if (obj3) {
11584 arg4 = PyInt_AsLong(obj3) ? true : false;
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 resultobj = PyInt_FromLong((long)result);
11595 {
11596 if (temp2)
11597 delete arg2;
11598 }
11599 {
11600 if (temp3)
11601 delete arg3;
11602 }
11603 return resultobj;
11604 fail:
11605 {
11606 if (temp2)
11607 delete arg2;
11608 }
11609 {
11610 if (temp3)
11611 delete arg3;
11612 }
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxFileType *arg1 = (wxFileType *) 0 ;
11620 wxString const &arg2_defvalue = wxPyEmptyString ;
11621 wxString *arg2 = (wxString *) &arg2_defvalue ;
11622 int arg3 = (int) 0 ;
11623 bool result;
11624 bool temp2 = False ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self",(char *) "cmd",(char *) "index", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11633 if (obj1) {
11634 {
11635 arg2 = wxString_in_helper(obj1);
11636 if (arg2 == NULL) SWIG_fail;
11637 temp2 = True;
11638 }
11639 }
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 resultobj = PyInt_FromLong((long)result);
11648 {
11649 if (temp2)
11650 delete arg2;
11651 }
11652 return resultobj;
11653 fail:
11654 {
11655 if (temp2)
11656 delete arg2;
11657 }
11658 return NULL;
11659 }
11660
11661
11662 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj;
11664 wxFileType *arg1 = (wxFileType *) 0 ;
11665 bool result;
11666 PyObject * obj0 = 0 ;
11667 char *kwnames[] = {
11668 (char *) "self", NULL
11669 };
11670
11671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (bool)(arg1)->Unassociate();
11676
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 resultobj = PyInt_FromLong((long)result);
11681 return resultobj;
11682 fail:
11683 return NULL;
11684 }
11685
11686
11687 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj;
11689 wxString *arg1 = 0 ;
11690 wxString *arg2 = 0 ;
11691 wxString const &arg3_defvalue = wxPyEmptyString ;
11692 wxString *arg3 = (wxString *) &arg3_defvalue ;
11693 wxString result;
11694 bool temp1 = False ;
11695 bool temp2 = False ;
11696 bool temp3 = False ;
11697 PyObject * obj0 = 0 ;
11698 PyObject * obj1 = 0 ;
11699 PyObject * obj2 = 0 ;
11700 char *kwnames[] = {
11701 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11702 };
11703
11704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11705 {
11706 arg1 = wxString_in_helper(obj0);
11707 if (arg1 == NULL) SWIG_fail;
11708 temp1 = True;
11709 }
11710 {
11711 arg2 = wxString_in_helper(obj1);
11712 if (arg2 == NULL) SWIG_fail;
11713 temp2 = True;
11714 }
11715 if (obj2) {
11716 {
11717 arg3 = wxString_in_helper(obj2);
11718 if (arg3 == NULL) SWIG_fail;
11719 temp3 = True;
11720 }
11721 }
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
11729 {
11730 #if wxUSE_UNICODE
11731 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11732 #else
11733 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11734 #endif
11735 }
11736 {
11737 if (temp1)
11738 delete arg1;
11739 }
11740 {
11741 if (temp2)
11742 delete arg2;
11743 }
11744 {
11745 if (temp3)
11746 delete arg3;
11747 }
11748 return resultobj;
11749 fail:
11750 {
11751 if (temp1)
11752 delete arg1;
11753 }
11754 {
11755 if (temp2)
11756 delete arg2;
11757 }
11758 {
11759 if (temp3)
11760 delete arg3;
11761 }
11762 return NULL;
11763 }
11764
11765
11766 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11767 PyObject *obj;
11768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11769 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11770 Py_INCREF(obj);
11771 return Py_BuildValue((char *)"");
11772 }
11773 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11774 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11775 return 1;
11776 }
11777
11778
11779 static PyObject *_wrap_TheMimeTypesManager_get() {
11780 PyObject *pyobj;
11781
11782 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11783 return pyobj;
11784 }
11785
11786
11787 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxString *arg1 = 0 ;
11790 wxString *arg2 = 0 ;
11791 bool result;
11792 bool temp1 = False ;
11793 bool temp2 = False ;
11794 PyObject * obj0 = 0 ;
11795 PyObject * obj1 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "mimeType",(char *) "wildcard", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11801 {
11802 arg1 = wxString_in_helper(obj0);
11803 if (arg1 == NULL) SWIG_fail;
11804 temp1 = True;
11805 }
11806 {
11807 arg2 = wxString_in_helper(obj1);
11808 if (arg2 == NULL) SWIG_fail;
11809 temp2 = True;
11810 }
11811 {
11812 PyThreadState* __tstate = wxPyBeginAllowThreads();
11813 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11814
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 resultobj = PyInt_FromLong((long)result);
11819 {
11820 if (temp1)
11821 delete arg1;
11822 }
11823 {
11824 if (temp2)
11825 delete arg2;
11826 }
11827 return resultobj;
11828 fail:
11829 {
11830 if (temp1)
11831 delete arg1;
11832 }
11833 {
11834 if (temp2)
11835 delete arg2;
11836 }
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj;
11843 wxMimeTypesManager *result;
11844 char *kwnames[] = {
11845 NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11852
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11866 int arg2 = (int) wxMAILCAP_ALL ;
11867 wxString const &arg3_defvalue = wxPyEmptyString ;
11868 wxString *arg3 = (wxString *) &arg3_defvalue ;
11869 bool temp3 = False ;
11870 PyObject * obj0 = 0 ;
11871 PyObject * obj2 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11878 if (obj2) {
11879 {
11880 arg3 = wxString_in_helper(obj2);
11881 if (arg3 == NULL) SWIG_fail;
11882 temp3 = True;
11883 }
11884 }
11885 {
11886 PyThreadState* __tstate = wxPyBeginAllowThreads();
11887 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11888
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 Py_INCREF(Py_None); resultobj = Py_None;
11893 {
11894 if (temp3)
11895 delete arg3;
11896 }
11897 return resultobj;
11898 fail:
11899 {
11900 if (temp3)
11901 delete arg3;
11902 }
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11910 PyObject * obj0 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->ClearData();
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 Py_INCREF(Py_None); resultobj = Py_None;
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj;
11933 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11934 wxString *arg2 = 0 ;
11935 wxFileType *result;
11936 bool temp2 = False ;
11937 PyObject * obj0 = 0 ;
11938 PyObject * obj1 = 0 ;
11939 char *kwnames[] = {
11940 (char *) "self",(char *) "ext", NULL
11941 };
11942
11943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11945 {
11946 arg2 = wxString_in_helper(obj1);
11947 if (arg2 == NULL) SWIG_fail;
11948 temp2 = True;
11949 }
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11953
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11958 {
11959 if (temp2)
11960 delete arg2;
11961 }
11962 return resultobj;
11963 fail:
11964 {
11965 if (temp2)
11966 delete arg2;
11967 }
11968 return NULL;
11969 }
11970
11971
11972 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11973 PyObject *resultobj;
11974 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11975 wxString *arg2 = 0 ;
11976 wxFileType *result;
11977 bool temp2 = False ;
11978 PyObject * obj0 = 0 ;
11979 PyObject * obj1 = 0 ;
11980 char *kwnames[] = {
11981 (char *) "self",(char *) "mimeType", NULL
11982 };
11983
11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11986 {
11987 arg2 = wxString_in_helper(obj1);
11988 if (arg2 == NULL) SWIG_fail;
11989 temp2 = True;
11990 }
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11999 {
12000 if (temp2)
12001 delete arg2;
12002 }
12003 return resultobj;
12004 fail:
12005 {
12006 if (temp2)
12007 delete arg2;
12008 }
12009 return NULL;
12010 }
12011
12012
12013 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12016 wxString *arg2 = 0 ;
12017 bool arg3 = (bool) False ;
12018 bool result;
12019 bool temp2 = False ;
12020 PyObject * obj0 = 0 ;
12021 PyObject * obj1 = 0 ;
12022 PyObject * obj2 = 0 ;
12023 char *kwnames[] = {
12024 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12025 };
12026
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12029 {
12030 arg2 = wxString_in_helper(obj1);
12031 if (arg2 == NULL) SWIG_fail;
12032 temp2 = True;
12033 }
12034 if (obj2) {
12035 arg3 = PyInt_AsLong(obj2) ? true : false;
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 resultobj = PyInt_FromLong((long)result);
12046 {
12047 if (temp2)
12048 delete arg2;
12049 }
12050 return resultobj;
12051 fail:
12052 {
12053 if (temp2)
12054 delete arg2;
12055 }
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12063 wxString *arg2 = 0 ;
12064 bool result;
12065 bool temp2 = False ;
12066 PyObject * obj0 = 0 ;
12067 PyObject * obj1 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self",(char *) "filename", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
12073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12074 {
12075 arg2 = wxString_in_helper(obj1);
12076 if (arg2 == NULL) SWIG_fail;
12077 temp2 = True;
12078 }
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12082
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 resultobj = PyInt_FromLong((long)result);
12087 {
12088 if (temp2)
12089 delete arg2;
12090 }
12091 return resultobj;
12092 fail:
12093 {
12094 if (temp2)
12095 delete arg2;
12096 }
12097 return NULL;
12098 }
12099
12100
12101 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12102 PyObject *resultobj;
12103 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12104 PyObject *result;
12105 PyObject * obj0 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12112 {
12113 PyThreadState* __tstate = wxPyBeginAllowThreads();
12114 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12115
12116 wxPyEndAllowThreads(__tstate);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 }
12119 resultobj = result;
12120 return resultobj;
12121 fail:
12122 return NULL;
12123 }
12124
12125
12126 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj;
12128 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12129 wxFileTypeInfo *arg2 = 0 ;
12130 PyObject * obj0 = 0 ;
12131 PyObject * obj1 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self",(char *) "ft", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12139 if (arg2 == NULL) {
12140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12141 }
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 Py_INCREF(Py_None); resultobj = Py_None;
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12157 PyObject *resultobj;
12158 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12159 wxFileTypeInfo *arg2 = 0 ;
12160 wxFileType *result;
12161 PyObject * obj0 = 0 ;
12162 PyObject * obj1 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self",(char *) "ftInfo", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12170 if (arg2 == NULL) {
12171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12172 }
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12181 return resultobj;
12182 fail:
12183 return NULL;
12184 }
12185
12186
12187 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12188 PyObject *resultobj;
12189 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12190 wxFileType *arg2 = (wxFileType *) 0 ;
12191 bool result;
12192 PyObject * obj0 = 0 ;
12193 PyObject * obj1 = 0 ;
12194 char *kwnames[] = {
12195 (char *) "self",(char *) "ft", NULL
12196 };
12197
12198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (bool)(arg1)->Unassociate(arg2);
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 resultobj = PyInt_FromLong((long)result);
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12218 PyObject * obj0 = 0 ;
12219 char *kwnames[] = {
12220 (char *) "self", NULL
12221 };
12222
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 delete arg1;
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 Py_INCREF(Py_None); resultobj = Py_None;
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12240 PyObject *obj;
12241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12242 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12243 Py_INCREF(obj);
12244 return Py_BuildValue((char *)"");
12245 }
12246 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12247 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12248 return 1;
12249 }
12250
12251
12252 static PyObject *_wrap_ART_TOOLBAR_get() {
12253 PyObject *pyobj;
12254
12255 {
12256 #if wxUSE_UNICODE
12257 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12258 #else
12259 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12260 #endif
12261 }
12262 return pyobj;
12263 }
12264
12265
12266 static int _wrap_ART_MENU_set(PyObject *_val) {
12267 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12268 return 1;
12269 }
12270
12271
12272 static PyObject *_wrap_ART_MENU_get() {
12273 PyObject *pyobj;
12274
12275 {
12276 #if wxUSE_UNICODE
12277 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12278 #else
12279 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12280 #endif
12281 }
12282 return pyobj;
12283 }
12284
12285
12286 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12287 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12288 return 1;
12289 }
12290
12291
12292 static PyObject *_wrap_ART_FRAME_ICON_get() {
12293 PyObject *pyobj;
12294
12295 {
12296 #if wxUSE_UNICODE
12297 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12298 #else
12299 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12300 #endif
12301 }
12302 return pyobj;
12303 }
12304
12305
12306 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12307 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12308 return 1;
12309 }
12310
12311
12312 static PyObject *_wrap_ART_CMN_DIALOG_get() {
12313 PyObject *pyobj;
12314
12315 {
12316 #if wxUSE_UNICODE
12317 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12318 #else
12319 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12320 #endif
12321 }
12322 return pyobj;
12323 }
12324
12325
12326 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12327 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12328 return 1;
12329 }
12330
12331
12332 static PyObject *_wrap_ART_HELP_BROWSER_get() {
12333 PyObject *pyobj;
12334
12335 {
12336 #if wxUSE_UNICODE
12337 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12338 #else
12339 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12340 #endif
12341 }
12342 return pyobj;
12343 }
12344
12345
12346 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12347 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12348 return 1;
12349 }
12350
12351
12352 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12353 PyObject *pyobj;
12354
12355 {
12356 #if wxUSE_UNICODE
12357 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12358 #else
12359 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12360 #endif
12361 }
12362 return pyobj;
12363 }
12364
12365
12366 static int _wrap_ART_OTHER_set(PyObject *_val) {
12367 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12368 return 1;
12369 }
12370
12371
12372 static PyObject *_wrap_ART_OTHER_get() {
12373 PyObject *pyobj;
12374
12375 {
12376 #if wxUSE_UNICODE
12377 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12378 #else
12379 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12380 #endif
12381 }
12382 return pyobj;
12383 }
12384
12385
12386 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12387 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12388 return 1;
12389 }
12390
12391
12392 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12393 PyObject *pyobj;
12394
12395 {
12396 #if wxUSE_UNICODE
12397 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12398 #else
12399 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12400 #endif
12401 }
12402 return pyobj;
12403 }
12404
12405
12406 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12407 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12408 return 1;
12409 }
12410
12411
12412 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12413 PyObject *pyobj;
12414
12415 {
12416 #if wxUSE_UNICODE
12417 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12418 #else
12419 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12420 #endif
12421 }
12422 return pyobj;
12423 }
12424
12425
12426 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12427 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12428 return 1;
12429 }
12430
12431
12432 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12433 PyObject *pyobj;
12434
12435 {
12436 #if wxUSE_UNICODE
12437 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12438 #else
12439 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12440 #endif
12441 }
12442 return pyobj;
12443 }
12444
12445
12446 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12447 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12448 return 1;
12449 }
12450
12451
12452 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12453 PyObject *pyobj;
12454
12455 {
12456 #if wxUSE_UNICODE
12457 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12458 #else
12459 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12460 #endif
12461 }
12462 return pyobj;
12463 }
12464
12465
12466 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12467 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12468 return 1;
12469 }
12470
12471
12472 static PyObject *_wrap_ART_HELP_BOOK_get() {
12473 PyObject *pyobj;
12474
12475 {
12476 #if wxUSE_UNICODE
12477 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12478 #else
12479 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12480 #endif
12481 }
12482 return pyobj;
12483 }
12484
12485
12486 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12487 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12488 return 1;
12489 }
12490
12491
12492 static PyObject *_wrap_ART_HELP_FOLDER_get() {
12493 PyObject *pyobj;
12494
12495 {
12496 #if wxUSE_UNICODE
12497 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12498 #else
12499 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12500 #endif
12501 }
12502 return pyobj;
12503 }
12504
12505
12506 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12507 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12508 return 1;
12509 }
12510
12511
12512 static PyObject *_wrap_ART_HELP_PAGE_get() {
12513 PyObject *pyobj;
12514
12515 {
12516 #if wxUSE_UNICODE
12517 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12518 #else
12519 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12520 #endif
12521 }
12522 return pyobj;
12523 }
12524
12525
12526 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12527 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12528 return 1;
12529 }
12530
12531
12532 static PyObject *_wrap_ART_GO_BACK_get() {
12533 PyObject *pyobj;
12534
12535 {
12536 #if wxUSE_UNICODE
12537 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12538 #else
12539 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12540 #endif
12541 }
12542 return pyobj;
12543 }
12544
12545
12546 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12547 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12548 return 1;
12549 }
12550
12551
12552 static PyObject *_wrap_ART_GO_FORWARD_get() {
12553 PyObject *pyobj;
12554
12555 {
12556 #if wxUSE_UNICODE
12557 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12558 #else
12559 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12560 #endif
12561 }
12562 return pyobj;
12563 }
12564
12565
12566 static int _wrap_ART_GO_UP_set(PyObject *_val) {
12567 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12568 return 1;
12569 }
12570
12571
12572 static PyObject *_wrap_ART_GO_UP_get() {
12573 PyObject *pyobj;
12574
12575 {
12576 #if wxUSE_UNICODE
12577 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12578 #else
12579 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12580 #endif
12581 }
12582 return pyobj;
12583 }
12584
12585
12586 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12587 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12588 return 1;
12589 }
12590
12591
12592 static PyObject *_wrap_ART_GO_DOWN_get() {
12593 PyObject *pyobj;
12594
12595 {
12596 #if wxUSE_UNICODE
12597 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12598 #else
12599 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12600 #endif
12601 }
12602 return pyobj;
12603 }
12604
12605
12606 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12607 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12608 return 1;
12609 }
12610
12611
12612 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12613 PyObject *pyobj;
12614
12615 {
12616 #if wxUSE_UNICODE
12617 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12618 #else
12619 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12620 #endif
12621 }
12622 return pyobj;
12623 }
12624
12625
12626 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12627 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12628 return 1;
12629 }
12630
12631
12632 static PyObject *_wrap_ART_GO_HOME_get() {
12633 PyObject *pyobj;
12634
12635 {
12636 #if wxUSE_UNICODE
12637 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12638 #else
12639 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12640 #endif
12641 }
12642 return pyobj;
12643 }
12644
12645
12646 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12647 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12648 return 1;
12649 }
12650
12651
12652 static PyObject *_wrap_ART_FILE_OPEN_get() {
12653 PyObject *pyobj;
12654
12655 {
12656 #if wxUSE_UNICODE
12657 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12658 #else
12659 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12660 #endif
12661 }
12662 return pyobj;
12663 }
12664
12665
12666 static int _wrap_ART_PRINT_set(PyObject *_val) {
12667 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12668 return 1;
12669 }
12670
12671
12672 static PyObject *_wrap_ART_PRINT_get() {
12673 PyObject *pyobj;
12674
12675 {
12676 #if wxUSE_UNICODE
12677 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12678 #else
12679 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12680 #endif
12681 }
12682 return pyobj;
12683 }
12684
12685
12686 static int _wrap_ART_HELP_set(PyObject *_val) {
12687 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12688 return 1;
12689 }
12690
12691
12692 static PyObject *_wrap_ART_HELP_get() {
12693 PyObject *pyobj;
12694
12695 {
12696 #if wxUSE_UNICODE
12697 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12698 #else
12699 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12700 #endif
12701 }
12702 return pyobj;
12703 }
12704
12705
12706 static int _wrap_ART_TIP_set(PyObject *_val) {
12707 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12708 return 1;
12709 }
12710
12711
12712 static PyObject *_wrap_ART_TIP_get() {
12713 PyObject *pyobj;
12714
12715 {
12716 #if wxUSE_UNICODE
12717 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12718 #else
12719 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12720 #endif
12721 }
12722 return pyobj;
12723 }
12724
12725
12726 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12727 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12728 return 1;
12729 }
12730
12731
12732 static PyObject *_wrap_ART_REPORT_VIEW_get() {
12733 PyObject *pyobj;
12734
12735 {
12736 #if wxUSE_UNICODE
12737 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12738 #else
12739 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12740 #endif
12741 }
12742 return pyobj;
12743 }
12744
12745
12746 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12747 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12748 return 1;
12749 }
12750
12751
12752 static PyObject *_wrap_ART_LIST_VIEW_get() {
12753 PyObject *pyobj;
12754
12755 {
12756 #if wxUSE_UNICODE
12757 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12758 #else
12759 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12760 #endif
12761 }
12762 return pyobj;
12763 }
12764
12765
12766 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12767 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12768 return 1;
12769 }
12770
12771
12772 static PyObject *_wrap_ART_NEW_DIR_get() {
12773 PyObject *pyobj;
12774
12775 {
12776 #if wxUSE_UNICODE
12777 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12778 #else
12779 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12780 #endif
12781 }
12782 return pyobj;
12783 }
12784
12785
12786 static int _wrap_ART_FOLDER_set(PyObject *_val) {
12787 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12788 return 1;
12789 }
12790
12791
12792 static PyObject *_wrap_ART_FOLDER_get() {
12793 PyObject *pyobj;
12794
12795 {
12796 #if wxUSE_UNICODE
12797 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12798 #else
12799 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12800 #endif
12801 }
12802 return pyobj;
12803 }
12804
12805
12806 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12807 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12808 return 1;
12809 }
12810
12811
12812 static PyObject *_wrap_ART_GO_DIR_UP_get() {
12813 PyObject *pyobj;
12814
12815 {
12816 #if wxUSE_UNICODE
12817 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12818 #else
12819 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12820 #endif
12821 }
12822 return pyobj;
12823 }
12824
12825
12826 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12827 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12828 return 1;
12829 }
12830
12831
12832 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12833 PyObject *pyobj;
12834
12835 {
12836 #if wxUSE_UNICODE
12837 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12838 #else
12839 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12840 #endif
12841 }
12842 return pyobj;
12843 }
12844
12845
12846 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12847 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12848 return 1;
12849 }
12850
12851
12852 static PyObject *_wrap_ART_NORMAL_FILE_get() {
12853 PyObject *pyobj;
12854
12855 {
12856 #if wxUSE_UNICODE
12857 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12858 #else
12859 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12860 #endif
12861 }
12862 return pyobj;
12863 }
12864
12865
12866 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12867 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12868 return 1;
12869 }
12870
12871
12872 static PyObject *_wrap_ART_TICK_MARK_get() {
12873 PyObject *pyobj;
12874
12875 {
12876 #if wxUSE_UNICODE
12877 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12878 #else
12879 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12880 #endif
12881 }
12882 return pyobj;
12883 }
12884
12885
12886 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12887 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12888 return 1;
12889 }
12890
12891
12892 static PyObject *_wrap_ART_CROSS_MARK_get() {
12893 PyObject *pyobj;
12894
12895 {
12896 #if wxUSE_UNICODE
12897 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12898 #else
12899 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12900 #endif
12901 }
12902 return pyobj;
12903 }
12904
12905
12906 static int _wrap_ART_ERROR_set(PyObject *_val) {
12907 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12908 return 1;
12909 }
12910
12911
12912 static PyObject *_wrap_ART_ERROR_get() {
12913 PyObject *pyobj;
12914
12915 {
12916 #if wxUSE_UNICODE
12917 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12918 #else
12919 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12920 #endif
12921 }
12922 return pyobj;
12923 }
12924
12925
12926 static int _wrap_ART_QUESTION_set(PyObject *_val) {
12927 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12928 return 1;
12929 }
12930
12931
12932 static PyObject *_wrap_ART_QUESTION_get() {
12933 PyObject *pyobj;
12934
12935 {
12936 #if wxUSE_UNICODE
12937 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12938 #else
12939 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12940 #endif
12941 }
12942 return pyobj;
12943 }
12944
12945
12946 static int _wrap_ART_WARNING_set(PyObject *_val) {
12947 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12948 return 1;
12949 }
12950
12951
12952 static PyObject *_wrap_ART_WARNING_get() {
12953 PyObject *pyobj;
12954
12955 {
12956 #if wxUSE_UNICODE
12957 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12958 #else
12959 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12960 #endif
12961 }
12962 return pyobj;
12963 }
12964
12965
12966 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12967 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12968 return 1;
12969 }
12970
12971
12972 static PyObject *_wrap_ART_INFORMATION_get() {
12973 PyObject *pyobj;
12974
12975 {
12976 #if wxUSE_UNICODE
12977 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12978 #else
12979 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12980 #endif
12981 }
12982 return pyobj;
12983 }
12984
12985
12986 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12987 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12988 return 1;
12989 }
12990
12991
12992 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12993 PyObject *pyobj;
12994
12995 {
12996 #if wxUSE_UNICODE
12997 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12998 #else
12999 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13000 #endif
13001 }
13002 return pyobj;
13003 }
13004
13005
13006 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13007 PyObject *resultobj;
13008 wxPyArtProvider *result;
13009 char *kwnames[] = {
13010 NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 result = (wxPyArtProvider *)new wxPyArtProvider();
13017
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
13021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
13022 return resultobj;
13023 fail:
13024 return NULL;
13025 }
13026
13027
13028 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13029 PyObject *resultobj;
13030 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13031 PyObject *arg2 = (PyObject *) 0 ;
13032 PyObject *arg3 = (PyObject *) 0 ;
13033 PyObject * obj0 = 0 ;
13034 PyObject * obj1 = 0 ;
13035 PyObject * obj2 = 0 ;
13036 char *kwnames[] = {
13037 (char *) "self",(char *) "self",(char *) "_class", NULL
13038 };
13039
13040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13042 arg2 = obj1;
13043 arg3 = obj2;
13044 {
13045 PyThreadState* __tstate = wxPyBeginAllowThreads();
13046 (arg1)->_setCallbackInfo(arg2,arg3);
13047
13048 wxPyEndAllowThreads(__tstate);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
13051 Py_INCREF(Py_None); resultobj = Py_None;
13052 return resultobj;
13053 fail:
13054 return NULL;
13055 }
13056
13057
13058 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13059 PyObject *resultobj;
13060 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13061 PyObject * obj0 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "provider", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
13067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 wxPyArtProvider::PushProvider(arg1);
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 Py_INCREF(Py_None); resultobj = Py_None;
13076 return resultobj;
13077 fail:
13078 return NULL;
13079 }
13080
13081
13082 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13083 PyObject *resultobj;
13084 bool result;
13085 char *kwnames[] = {
13086 NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 result = (bool)wxPyArtProvider::PopProvider();
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 resultobj = PyInt_FromLong((long)result);
13098 return resultobj;
13099 fail:
13100 return NULL;
13101 }
13102
13103
13104 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13105 PyObject *resultobj;
13106 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13107 bool result;
13108 PyObject * obj0 = 0 ;
13109 char *kwnames[] = {
13110 (char *) "provider", NULL
13111 };
13112
13113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 resultobj = PyInt_FromLong((long)result);
13123 return resultobj;
13124 fail:
13125 return NULL;
13126 }
13127
13128
13129 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13130 PyObject *resultobj;
13131 wxString *arg1 = 0 ;
13132 wxString const &arg2_defvalue = wxPyART_OTHER ;
13133 wxString *arg2 = (wxString *) &arg2_defvalue ;
13134 wxSize const &arg3_defvalue = wxDefaultSize ;
13135 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13136 wxBitmap result;
13137 bool temp1 = False ;
13138 bool temp2 = False ;
13139 wxSize temp3 ;
13140 PyObject * obj0 = 0 ;
13141 PyObject * obj1 = 0 ;
13142 PyObject * obj2 = 0 ;
13143 char *kwnames[] = {
13144 (char *) "id",(char *) "client",(char *) "size", NULL
13145 };
13146
13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13148 {
13149 arg1 = wxString_in_helper(obj0);
13150 if (arg1 == NULL) SWIG_fail;
13151 temp1 = True;
13152 }
13153 if (obj1) {
13154 {
13155 arg2 = wxString_in_helper(obj1);
13156 if (arg2 == NULL) SWIG_fail;
13157 temp2 = True;
13158 }
13159 }
13160 if (obj2) {
13161 {
13162 arg3 = &temp3;
13163 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13164 }
13165 }
13166 {
13167 PyThreadState* __tstate = wxPyBeginAllowThreads();
13168 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13169
13170 wxPyEndAllowThreads(__tstate);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 }
13173 {
13174 wxBitmap * resultptr;
13175 resultptr = new wxBitmap((wxBitmap &) result);
13176 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13177 }
13178 {
13179 if (temp1)
13180 delete arg1;
13181 }
13182 {
13183 if (temp2)
13184 delete arg2;
13185 }
13186 return resultobj;
13187 fail:
13188 {
13189 if (temp1)
13190 delete arg1;
13191 }
13192 {
13193 if (temp2)
13194 delete arg2;
13195 }
13196 return NULL;
13197 }
13198
13199
13200 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13201 PyObject *resultobj;
13202 wxString *arg1 = 0 ;
13203 wxString const &arg2_defvalue = wxPyART_OTHER ;
13204 wxString *arg2 = (wxString *) &arg2_defvalue ;
13205 wxSize const &arg3_defvalue = wxDefaultSize ;
13206 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13207 wxIcon result;
13208 bool temp1 = False ;
13209 bool temp2 = False ;
13210 wxSize temp3 ;
13211 PyObject * obj0 = 0 ;
13212 PyObject * obj1 = 0 ;
13213 PyObject * obj2 = 0 ;
13214 char *kwnames[] = {
13215 (char *) "id",(char *) "client",(char *) "size", NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13219 {
13220 arg1 = wxString_in_helper(obj0);
13221 if (arg1 == NULL) SWIG_fail;
13222 temp1 = True;
13223 }
13224 if (obj1) {
13225 {
13226 arg2 = wxString_in_helper(obj1);
13227 if (arg2 == NULL) SWIG_fail;
13228 temp2 = True;
13229 }
13230 }
13231 if (obj2) {
13232 {
13233 arg3 = &temp3;
13234 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13235 }
13236 }
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 {
13245 wxIcon * resultptr;
13246 resultptr = new wxIcon((wxIcon &) result);
13247 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13248 }
13249 {
13250 if (temp1)
13251 delete arg1;
13252 }
13253 {
13254 if (temp2)
13255 delete arg2;
13256 }
13257 return resultobj;
13258 fail:
13259 {
13260 if (temp1)
13261 delete arg1;
13262 }
13263 {
13264 if (temp2)
13265 delete arg2;
13266 }
13267 return NULL;
13268 }
13269
13270
13271 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13274 PyObject * obj0 = 0 ;
13275 char *kwnames[] = {
13276 (char *) "self", NULL
13277 };
13278
13279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 wxPyArtProvider_Destroy(arg1);
13284
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 Py_INCREF(Py_None); resultobj = Py_None;
13289 return resultobj;
13290 fail:
13291 return NULL;
13292 }
13293
13294
13295 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13296 PyObject *obj;
13297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13298 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13299 Py_INCREF(obj);
13300 return Py_BuildValue((char *)"");
13301 }
13302 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13305 PyObject * obj0 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 delete arg1;
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 Py_INCREF(Py_None); resultobj = Py_None;
13320 return resultobj;
13321 fail:
13322 return NULL;
13323 }
13324
13325
13326 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13327 PyObject *resultobj;
13328 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13329 wxConfigBase *result;
13330 PyObject * obj0 = 0 ;
13331 char *kwnames[] = {
13332 (char *) "pConfig", NULL
13333 };
13334
13335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13340
13341 wxPyEndAllowThreads(__tstate);
13342 if (PyErr_Occurred()) SWIG_fail;
13343 }
13344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13345 return resultobj;
13346 fail:
13347 return NULL;
13348 }
13349
13350
13351 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13352 PyObject *resultobj;
13353 bool arg1 = (bool) True ;
13354 wxConfigBase *result;
13355 PyObject * obj0 = 0 ;
13356 char *kwnames[] = {
13357 (char *) "createOnDemand", NULL
13358 };
13359
13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13361 if (obj0) {
13362 arg1 = PyInt_AsLong(obj0) ? true : false;
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13373 return resultobj;
13374 fail:
13375 return NULL;
13376 }
13377
13378
13379 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj;
13381 wxConfigBase *result;
13382 char *kwnames[] = {
13383 NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 result = (wxConfigBase *)wxConfigBase::Create();
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13395 return resultobj;
13396 fail:
13397 return NULL;
13398 }
13399
13400
13401 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13402 PyObject *resultobj;
13403 char *kwnames[] = {
13404 NULL
13405 };
13406
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 wxConfigBase::DontCreateOnDemand();
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 Py_INCREF(Py_None); resultobj = Py_None;
13416 return resultobj;
13417 fail:
13418 return NULL;
13419 }
13420
13421
13422 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13423 PyObject *resultobj;
13424 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13425 wxString *arg2 = 0 ;
13426 bool temp2 = False ;
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "strPath", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13435 {
13436 arg2 = wxString_in_helper(obj1);
13437 if (arg2 == NULL) SWIG_fail;
13438 temp2 = True;
13439 }
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->SetPath((wxString const &)*arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 Py_INCREF(Py_None); resultobj = Py_None;
13448 {
13449 if (temp2)
13450 delete arg2;
13451 }
13452 return resultobj;
13453 fail:
13454 {
13455 if (temp2)
13456 delete arg2;
13457 }
13458 return NULL;
13459 }
13460
13461
13462 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13463 PyObject *resultobj;
13464 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13465 wxString *result;
13466 PyObject * obj0 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "self", NULL
13469 };
13470
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 {
13476 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13477 result = (wxString *) &_result_ref;
13478 }
13479
13480 wxPyEndAllowThreads(__tstate);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
13483 {
13484 #if wxUSE_UNICODE
13485 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13486 #else
13487 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13488 #endif
13489 }
13490 return resultobj;
13491 fail:
13492 return NULL;
13493 }
13494
13495
13496 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13499 PyObject *result;
13500 PyObject * obj0 = 0 ;
13501 char *kwnames[] = {
13502 (char *) "self", NULL
13503 };
13504
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) SWIG_fail;
13513 }
13514 resultobj = result;
13515 return resultobj;
13516 fail:
13517 return NULL;
13518 }
13519
13520
13521 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13524 long arg2 ;
13525 PyObject *result;
13526 PyObject * obj0 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self",(char *) "index", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13536
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 resultobj = result;
13541 return resultobj;
13542 fail:
13543 return NULL;
13544 }
13545
13546
13547 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13548 PyObject *resultobj;
13549 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13550 PyObject *result;
13551 PyObject * obj0 = 0 ;
13552 char *kwnames[] = {
13553 (char *) "self", NULL
13554 };
13555
13556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13558 {
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13561
13562 wxPyEndAllowThreads(__tstate);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 }
13565 resultobj = result;
13566 return resultobj;
13567 fail:
13568 return NULL;
13569 }
13570
13571
13572 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13573 PyObject *resultobj;
13574 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13575 long arg2 ;
13576 PyObject *result;
13577 PyObject * obj0 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self",(char *) "index", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 resultobj = result;
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13601 bool arg2 = (bool) False ;
13602 size_t result;
13603 PyObject * obj0 = 0 ;
13604 PyObject * obj1 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self",(char *) "bRecursive", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13611 if (obj1) {
13612 arg2 = PyInt_AsLong(obj1) ? true : false;
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 resultobj = PyInt_FromLong((long)result);
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13630 PyObject *resultobj;
13631 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13632 bool arg2 = (bool) False ;
13633 size_t result;
13634 PyObject * obj0 = 0 ;
13635 PyObject * obj1 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self",(char *) "bRecursive", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13642 if (obj1) {
13643 arg2 = PyInt_AsLong(obj1) ? true : false;
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 resultobj = PyInt_FromLong((long)result);
13654 return resultobj;
13655 fail:
13656 return NULL;
13657 }
13658
13659
13660 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13663 wxString *arg2 = 0 ;
13664 bool result;
13665 bool temp2 = False ;
13666 PyObject * obj0 = 0 ;
13667 PyObject * obj1 = 0 ;
13668 char *kwnames[] = {
13669 (char *) "self",(char *) "strName", NULL
13670 };
13671
13672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13674 {
13675 arg2 = wxString_in_helper(obj1);
13676 if (arg2 == NULL) SWIG_fail;
13677 temp2 = True;
13678 }
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 resultobj = PyInt_FromLong((long)result);
13687 {
13688 if (temp2)
13689 delete arg2;
13690 }
13691 return resultobj;
13692 fail:
13693 {
13694 if (temp2)
13695 delete arg2;
13696 }
13697 return NULL;
13698 }
13699
13700
13701 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13702 PyObject *resultobj;
13703 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13704 wxString *arg2 = 0 ;
13705 bool result;
13706 bool temp2 = False ;
13707 PyObject * obj0 = 0 ;
13708 PyObject * obj1 = 0 ;
13709 char *kwnames[] = {
13710 (char *) "self",(char *) "strName", NULL
13711 };
13712
13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13715 {
13716 arg2 = wxString_in_helper(obj1);
13717 if (arg2 == NULL) SWIG_fail;
13718 temp2 = True;
13719 }
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 resultobj = PyInt_FromLong((long)result);
13728 {
13729 if (temp2)
13730 delete arg2;
13731 }
13732 return resultobj;
13733 fail:
13734 {
13735 if (temp2)
13736 delete arg2;
13737 }
13738 return NULL;
13739 }
13740
13741
13742 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13745 wxString *arg2 = 0 ;
13746 bool result;
13747 bool temp2 = False ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "strName", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13756 {
13757 arg2 = wxString_in_helper(obj1);
13758 if (arg2 == NULL) SWIG_fail;
13759 temp2 = True;
13760 }
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 resultobj = PyInt_FromLong((long)result);
13769 {
13770 if (temp2)
13771 delete arg2;
13772 }
13773 return resultobj;
13774 fail:
13775 {
13776 if (temp2)
13777 delete arg2;
13778 }
13779 return NULL;
13780 }
13781
13782
13783 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13786 wxString *arg2 = 0 ;
13787 int result;
13788 bool temp2 = False ;
13789 PyObject * obj0 = 0 ;
13790 PyObject * obj1 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "self",(char *) "name", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13797 {
13798 arg2 = wxString_in_helper(obj1);
13799 if (arg2 == NULL) SWIG_fail;
13800 temp2 = True;
13801 }
13802 {
13803 PyThreadState* __tstate = wxPyBeginAllowThreads();
13804 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13805
13806 wxPyEndAllowThreads(__tstate);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 resultobj = PyInt_FromLong((long)result);
13810 {
13811 if (temp2)
13812 delete arg2;
13813 }
13814 return resultobj;
13815 fail:
13816 {
13817 if (temp2)
13818 delete arg2;
13819 }
13820 return NULL;
13821 }
13822
13823
13824 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13825 PyObject *resultobj;
13826 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13827 wxString *arg2 = 0 ;
13828 wxString const &arg3_defvalue = wxPyEmptyString ;
13829 wxString *arg3 = (wxString *) &arg3_defvalue ;
13830 wxString result;
13831 bool temp2 = False ;
13832 bool temp3 = False ;
13833 PyObject * obj0 = 0 ;
13834 PyObject * obj1 = 0 ;
13835 PyObject * obj2 = 0 ;
13836 char *kwnames[] = {
13837 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13838 };
13839
13840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13842 {
13843 arg2 = wxString_in_helper(obj1);
13844 if (arg2 == NULL) SWIG_fail;
13845 temp2 = True;
13846 }
13847 if (obj2) {
13848 {
13849 arg3 = wxString_in_helper(obj2);
13850 if (arg3 == NULL) SWIG_fail;
13851 temp3 = True;
13852 }
13853 }
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 {
13862 #if wxUSE_UNICODE
13863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13864 #else
13865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13866 #endif
13867 }
13868 {
13869 if (temp2)
13870 delete arg2;
13871 }
13872 {
13873 if (temp3)
13874 delete arg3;
13875 }
13876 return resultobj;
13877 fail:
13878 {
13879 if (temp2)
13880 delete arg2;
13881 }
13882 {
13883 if (temp3)
13884 delete arg3;
13885 }
13886 return NULL;
13887 }
13888
13889
13890 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13891 PyObject *resultobj;
13892 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13893 wxString *arg2 = 0 ;
13894 long arg3 = (long) 0 ;
13895 long result;
13896 bool temp2 = False ;
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj1 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13905 {
13906 arg2 = wxString_in_helper(obj1);
13907 if (arg2 == NULL) SWIG_fail;
13908 temp2 = True;
13909 }
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 resultobj = PyInt_FromLong((long)result);
13918 {
13919 if (temp2)
13920 delete arg2;
13921 }
13922 return resultobj;
13923 fail:
13924 {
13925 if (temp2)
13926 delete arg2;
13927 }
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13935 wxString *arg2 = 0 ;
13936 double arg3 = (double) 0.0 ;
13937 double result;
13938 bool temp2 = False ;
13939 PyObject * obj0 = 0 ;
13940 PyObject * obj1 = 0 ;
13941 char *kwnames[] = {
13942 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 {
13948 arg2 = wxString_in_helper(obj1);
13949 if (arg2 == NULL) SWIG_fail;
13950 temp2 = True;
13951 }
13952 {
13953 PyThreadState* __tstate = wxPyBeginAllowThreads();
13954 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13955
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
13959 resultobj = PyFloat_FromDouble(result);
13960 {
13961 if (temp2)
13962 delete arg2;
13963 }
13964 return resultobj;
13965 fail:
13966 {
13967 if (temp2)
13968 delete arg2;
13969 }
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13977 wxString *arg2 = 0 ;
13978 bool arg3 = (bool) False ;
13979 bool result;
13980 bool temp2 = False ;
13981 PyObject * obj0 = 0 ;
13982 PyObject * obj1 = 0 ;
13983 PyObject * obj2 = 0 ;
13984 char *kwnames[] = {
13985 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13986 };
13987
13988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13990 {
13991 arg2 = wxString_in_helper(obj1);
13992 if (arg2 == NULL) SWIG_fail;
13993 temp2 = True;
13994 }
13995 if (obj2) {
13996 arg3 = PyInt_AsLong(obj2) ? true : false;
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 resultobj = PyInt_FromLong((long)result);
14007 {
14008 if (temp2)
14009 delete arg2;
14010 }
14011 return resultobj;
14012 fail:
14013 {
14014 if (temp2)
14015 delete arg2;
14016 }
14017 return NULL;
14018 }
14019
14020
14021 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj;
14023 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14024 wxString *arg2 = 0 ;
14025 wxString *arg3 = 0 ;
14026 bool result;
14027 bool temp2 = False ;
14028 bool temp3 = False ;
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
14031 PyObject * obj2 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self",(char *) "key",(char *) "value", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
14037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14038 {
14039 arg2 = wxString_in_helper(obj1);
14040 if (arg2 == NULL) SWIG_fail;
14041 temp2 = True;
14042 }
14043 {
14044 arg3 = wxString_in_helper(obj2);
14045 if (arg3 == NULL) SWIG_fail;
14046 temp3 = True;
14047 }
14048 {
14049 PyThreadState* __tstate = wxPyBeginAllowThreads();
14050 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
14051
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
14055 resultobj = PyInt_FromLong((long)result);
14056 {
14057 if (temp2)
14058 delete arg2;
14059 }
14060 {
14061 if (temp3)
14062 delete arg3;
14063 }
14064 return resultobj;
14065 fail:
14066 {
14067 if (temp2)
14068 delete arg2;
14069 }
14070 {
14071 if (temp3)
14072 delete arg3;
14073 }
14074 return NULL;
14075 }
14076
14077
14078 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14079 PyObject *resultobj;
14080 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14081 wxString *arg2 = 0 ;
14082 long arg3 ;
14083 bool result;
14084 bool temp2 = False ;
14085 PyObject * obj0 = 0 ;
14086 PyObject * obj1 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self",(char *) "key",(char *) "value", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14093 {
14094 arg2 = wxString_in_helper(obj1);
14095 if (arg2 == NULL) SWIG_fail;
14096 temp2 = True;
14097 }
14098 {
14099 PyThreadState* __tstate = wxPyBeginAllowThreads();
14100 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14101
14102 wxPyEndAllowThreads(__tstate);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 }
14105 resultobj = PyInt_FromLong((long)result);
14106 {
14107 if (temp2)
14108 delete arg2;
14109 }
14110 return resultobj;
14111 fail:
14112 {
14113 if (temp2)
14114 delete arg2;
14115 }
14116 return NULL;
14117 }
14118
14119
14120 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj;
14122 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14123 wxString *arg2 = 0 ;
14124 double arg3 ;
14125 bool result;
14126 bool temp2 = False ;
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj1 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self",(char *) "key",(char *) "value", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14135 {
14136 arg2 = wxString_in_helper(obj1);
14137 if (arg2 == NULL) SWIG_fail;
14138 temp2 = True;
14139 }
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 resultobj = PyInt_FromLong((long)result);
14148 {
14149 if (temp2)
14150 delete arg2;
14151 }
14152 return resultobj;
14153 fail:
14154 {
14155 if (temp2)
14156 delete arg2;
14157 }
14158 return NULL;
14159 }
14160
14161
14162 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14165 wxString *arg2 = 0 ;
14166 bool arg3 ;
14167 bool result;
14168 bool temp2 = False ;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 PyObject * obj2 = 0 ;
14172 char *kwnames[] = {
14173 (char *) "self",(char *) "key",(char *) "value", NULL
14174 };
14175
14176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14178 {
14179 arg2 = wxString_in_helper(obj1);
14180 if (arg2 == NULL) SWIG_fail;
14181 temp2 = True;
14182 }
14183 arg3 = PyInt_AsLong(obj2) ? true : false;
14184 if (PyErr_Occurred()) SWIG_fail;
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = PyInt_FromLong((long)result);
14193 {
14194 if (temp2)
14195 delete arg2;
14196 }
14197 return resultobj;
14198 fail:
14199 {
14200 if (temp2)
14201 delete arg2;
14202 }
14203 return NULL;
14204 }
14205
14206
14207 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14208 PyObject *resultobj;
14209 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14210 bool arg2 = (bool) False ;
14211 bool result;
14212 PyObject * obj0 = 0 ;
14213 PyObject * obj1 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self",(char *) "bCurrentOnly", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14220 if (obj1) {
14221 arg2 = PyInt_AsLong(obj1) ? true : false;
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 {
14225 PyThreadState* __tstate = wxPyBeginAllowThreads();
14226 result = (bool)(arg1)->Flush(arg2);
14227
14228 wxPyEndAllowThreads(__tstate);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 resultobj = PyInt_FromLong((long)result);
14232 return resultobj;
14233 fail:
14234 return NULL;
14235 }
14236
14237
14238 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14239 PyObject *resultobj;
14240 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14241 wxString *arg2 = 0 ;
14242 wxString *arg3 = 0 ;
14243 bool result;
14244 bool temp2 = False ;
14245 bool temp3 = False ;
14246 PyObject * obj0 = 0 ;
14247 PyObject * obj1 = 0 ;
14248 PyObject * obj2 = 0 ;
14249 char *kwnames[] = {
14250 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14251 };
14252
14253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14255 {
14256 arg2 = wxString_in_helper(obj1);
14257 if (arg2 == NULL) SWIG_fail;
14258 temp2 = True;
14259 }
14260 {
14261 arg3 = wxString_in_helper(obj2);
14262 if (arg3 == NULL) SWIG_fail;
14263 temp3 = True;
14264 }
14265 {
14266 PyThreadState* __tstate = wxPyBeginAllowThreads();
14267 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14268
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
14272 resultobj = PyInt_FromLong((long)result);
14273 {
14274 if (temp2)
14275 delete arg2;
14276 }
14277 {
14278 if (temp3)
14279 delete arg3;
14280 }
14281 return resultobj;
14282 fail:
14283 {
14284 if (temp2)
14285 delete arg2;
14286 }
14287 {
14288 if (temp3)
14289 delete arg3;
14290 }
14291 return NULL;
14292 }
14293
14294
14295 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14296 PyObject *resultobj;
14297 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14298 wxString *arg2 = 0 ;
14299 wxString *arg3 = 0 ;
14300 bool result;
14301 bool temp2 = False ;
14302 bool temp3 = False ;
14303 PyObject * obj0 = 0 ;
14304 PyObject * obj1 = 0 ;
14305 PyObject * obj2 = 0 ;
14306 char *kwnames[] = {
14307 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14308 };
14309
14310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14312 {
14313 arg2 = wxString_in_helper(obj1);
14314 if (arg2 == NULL) SWIG_fail;
14315 temp2 = True;
14316 }
14317 {
14318 arg3 = wxString_in_helper(obj2);
14319 if (arg3 == NULL) SWIG_fail;
14320 temp3 = True;
14321 }
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 resultobj = PyInt_FromLong((long)result);
14330 {
14331 if (temp2)
14332 delete arg2;
14333 }
14334 {
14335 if (temp3)
14336 delete arg3;
14337 }
14338 return resultobj;
14339 fail:
14340 {
14341 if (temp2)
14342 delete arg2;
14343 }
14344 {
14345 if (temp3)
14346 delete arg3;
14347 }
14348 return NULL;
14349 }
14350
14351
14352 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14355 wxString *arg2 = 0 ;
14356 bool arg3 = (bool) True ;
14357 bool result;
14358 bool temp2 = False ;
14359 PyObject * obj0 = 0 ;
14360 PyObject * obj1 = 0 ;
14361 PyObject * obj2 = 0 ;
14362 char *kwnames[] = {
14363 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14364 };
14365
14366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14368 {
14369 arg2 = wxString_in_helper(obj1);
14370 if (arg2 == NULL) SWIG_fail;
14371 temp2 = True;
14372 }
14373 if (obj2) {
14374 arg3 = PyInt_AsLong(obj2) ? true : false;
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 {
14378 PyThreadState* __tstate = wxPyBeginAllowThreads();
14379 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14380
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 resultobj = PyInt_FromLong((long)result);
14385 {
14386 if (temp2)
14387 delete arg2;
14388 }
14389 return resultobj;
14390 fail:
14391 {
14392 if (temp2)
14393 delete arg2;
14394 }
14395 return NULL;
14396 }
14397
14398
14399 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj;
14401 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14402 wxString *arg2 = 0 ;
14403 bool result;
14404 bool temp2 = False ;
14405 PyObject * obj0 = 0 ;
14406 PyObject * obj1 = 0 ;
14407 char *kwnames[] = {
14408 (char *) "self",(char *) "key", NULL
14409 };
14410
14411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14413 {
14414 arg2 = wxString_in_helper(obj1);
14415 if (arg2 == NULL) SWIG_fail;
14416 temp2 = True;
14417 }
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14421
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
14425 resultobj = PyInt_FromLong((long)result);
14426 {
14427 if (temp2)
14428 delete arg2;
14429 }
14430 return resultobj;
14431 fail:
14432 {
14433 if (temp2)
14434 delete arg2;
14435 }
14436 return NULL;
14437 }
14438
14439
14440 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14443 bool result;
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = (bool)(arg1)->DeleteAll();
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 resultobj = PyInt_FromLong((long)result);
14459 return resultobj;
14460 fail:
14461 return NULL;
14462 }
14463
14464
14465 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14466 PyObject *resultobj;
14467 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14468 bool result;
14469 PyObject * obj0 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14479
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 resultobj = PyInt_FromLong((long)result);
14484 return resultobj;
14485 fail:
14486 return NULL;
14487 }
14488
14489
14490 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14493 bool arg2 = (bool) True ;
14494 PyObject * obj0 = 0 ;
14495 PyObject * obj1 = 0 ;
14496 char *kwnames[] = {
14497 (char *) "self",(char *) "bDoIt", NULL
14498 };
14499
14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14502 if (obj1) {
14503 arg2 = PyInt_AsLong(obj1) ? true : false;
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 (arg1)->SetExpandEnvVars(arg2);
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 Py_INCREF(Py_None); resultobj = Py_None;
14514 return resultobj;
14515 fail:
14516 return NULL;
14517 }
14518
14519
14520 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14523 bool arg2 = (bool) True ;
14524 PyObject * obj0 = 0 ;
14525 PyObject * obj1 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self",(char *) "bDoIt", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14532 if (obj1) {
14533 arg2 = PyInt_AsLong(obj1) ? true : false;
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 {
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 (arg1)->SetRecordDefaults(arg2);
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 Py_INCREF(Py_None); resultobj = Py_None;
14544 return resultobj;
14545 fail:
14546 return NULL;
14547 }
14548
14549
14550 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14553 bool result;
14554 PyObject * obj0 = 0 ;
14555 char *kwnames[] = {
14556 (char *) "self", NULL
14557 };
14558
14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 resultobj = PyInt_FromLong((long)result);
14569 return resultobj;
14570 fail:
14571 return NULL;
14572 }
14573
14574
14575 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14578 wxString *arg2 = 0 ;
14579 wxString result;
14580 bool temp2 = False ;
14581 PyObject * obj0 = 0 ;
14582 PyObject * obj1 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "str", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14589 {
14590 arg2 = wxString_in_helper(obj1);
14591 if (arg2 == NULL) SWIG_fail;
14592 temp2 = True;
14593 }
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14597
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 {
14602 #if wxUSE_UNICODE
14603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14604 #else
14605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14606 #endif
14607 }
14608 {
14609 if (temp2)
14610 delete arg2;
14611 }
14612 return resultobj;
14613 fail:
14614 {
14615 if (temp2)
14616 delete arg2;
14617 }
14618 return NULL;
14619 }
14620
14621
14622 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14623 PyObject *resultobj;
14624 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14625 wxString result;
14626 PyObject * obj0 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "self", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 result = ((wxConfigBase const *)arg1)->GetAppName();
14636
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 {
14641 #if wxUSE_UNICODE
14642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14643 #else
14644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14645 #endif
14646 }
14647 return resultobj;
14648 fail:
14649 return NULL;
14650 }
14651
14652
14653 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj;
14655 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14656 wxString result;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",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 = ((wxConfigBase const *)arg1)->GetVendorName();
14667
14668 wxPyEndAllowThreads(__tstate);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
14671 {
14672 #if wxUSE_UNICODE
14673 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14674 #else
14675 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14676 #endif
14677 }
14678 return resultobj;
14679 fail:
14680 return NULL;
14681 }
14682
14683
14684 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14685 PyObject *resultobj;
14686 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14687 wxString *arg2 = 0 ;
14688 bool temp2 = False ;
14689 PyObject * obj0 = 0 ;
14690 PyObject * obj1 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self",(char *) "appName", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14697 {
14698 arg2 = wxString_in_helper(obj1);
14699 if (arg2 == NULL) SWIG_fail;
14700 temp2 = True;
14701 }
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 (arg1)->SetAppName((wxString const &)*arg2);
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 Py_INCREF(Py_None); resultobj = Py_None;
14710 {
14711 if (temp2)
14712 delete arg2;
14713 }
14714 return resultobj;
14715 fail:
14716 {
14717 if (temp2)
14718 delete arg2;
14719 }
14720 return NULL;
14721 }
14722
14723
14724 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14725 PyObject *resultobj;
14726 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14727 wxString *arg2 = 0 ;
14728 bool temp2 = False ;
14729 PyObject * obj0 = 0 ;
14730 PyObject * obj1 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self",(char *) "vendorName", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14737 {
14738 arg2 = wxString_in_helper(obj1);
14739 if (arg2 == NULL) SWIG_fail;
14740 temp2 = True;
14741 }
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 (arg1)->SetVendorName((wxString const &)*arg2);
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 Py_INCREF(Py_None); resultobj = Py_None;
14750 {
14751 if (temp2)
14752 delete arg2;
14753 }
14754 return resultobj;
14755 fail:
14756 {
14757 if (temp2)
14758 delete arg2;
14759 }
14760 return NULL;
14761 }
14762
14763
14764 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14765 PyObject *resultobj;
14766 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14767 long arg2 ;
14768 PyObject * obj0 = 0 ;
14769 char *kwnames[] = {
14770 (char *) "self",(char *) "style", NULL
14771 };
14772
14773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 (arg1)->SetStyle(arg2);
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 Py_INCREF(Py_None); resultobj = Py_None;
14783 return resultobj;
14784 fail:
14785 return NULL;
14786 }
14787
14788
14789 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14790 PyObject *resultobj;
14791 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14792 long result;
14793 PyObject * obj0 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "self", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14803
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 resultobj = PyInt_FromLong((long)result);
14808 return resultobj;
14809 fail:
14810 return NULL;
14811 }
14812
14813
14814 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14815 PyObject *obj;
14816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14817 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14818 Py_INCREF(obj);
14819 return Py_BuildValue((char *)"");
14820 }
14821 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14822 PyObject *resultobj;
14823 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14824 wxString *arg2 = 0 ;
14825 wxConfigPathChanger *result;
14826 bool temp2 = False ;
14827 PyObject * obj0 = 0 ;
14828 PyObject * obj1 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "pContainer",(char *) "strEntry", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14835 {
14836 arg2 = wxString_in_helper(obj1);
14837 if (arg2 == NULL) SWIG_fail;
14838 temp2 = True;
14839 }
14840 {
14841 PyThreadState* __tstate = wxPyBeginAllowThreads();
14842 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14843
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14848 {
14849 if (temp2)
14850 delete arg2;
14851 }
14852 return resultobj;
14853 fail:
14854 {
14855 if (temp2)
14856 delete arg2;
14857 }
14858 return NULL;
14859 }
14860
14861
14862 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14863 PyObject *resultobj;
14864 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14865 PyObject * obj0 = 0 ;
14866 char *kwnames[] = {
14867 (char *) "self", NULL
14868 };
14869
14870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14872 {
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 delete arg1;
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 Py_INCREF(Py_None); resultobj = Py_None;
14880 return resultobj;
14881 fail:
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14889 wxString *result;
14890 PyObject * obj0 = 0 ;
14891 char *kwnames[] = {
14892 (char *) "self", NULL
14893 };
14894
14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14897 {
14898 PyThreadState* __tstate = wxPyBeginAllowThreads();
14899 {
14900 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14901 result = (wxString *) &_result_ref;
14902 }
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 {
14908 #if wxUSE_UNICODE
14909 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14910 #else
14911 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14912 #endif
14913 }
14914 return resultobj;
14915 fail:
14916 return NULL;
14917 }
14918
14919
14920 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14921 PyObject *obj;
14922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14923 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14924 Py_INCREF(obj);
14925 return Py_BuildValue((char *)"");
14926 }
14927 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14928 PyObject *resultobj;
14929 wxString const &arg1_defvalue = wxPyEmptyString ;
14930 wxString *arg1 = (wxString *) &arg1_defvalue ;
14931 wxString const &arg2_defvalue = wxPyEmptyString ;
14932 wxString *arg2 = (wxString *) &arg2_defvalue ;
14933 wxString const &arg3_defvalue = wxPyEmptyString ;
14934 wxString *arg3 = (wxString *) &arg3_defvalue ;
14935 wxString const &arg4_defvalue = wxPyEmptyString ;
14936 wxString *arg4 = (wxString *) &arg4_defvalue ;
14937 long arg5 = (long) 0 ;
14938 wxConfig *result;
14939 bool temp1 = False ;
14940 bool temp2 = False ;
14941 bool temp3 = False ;
14942 bool temp4 = False ;
14943 PyObject * obj0 = 0 ;
14944 PyObject * obj1 = 0 ;
14945 PyObject * obj2 = 0 ;
14946 PyObject * obj3 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14949 };
14950
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14952 if (obj0) {
14953 {
14954 arg1 = wxString_in_helper(obj0);
14955 if (arg1 == NULL) SWIG_fail;
14956 temp1 = True;
14957 }
14958 }
14959 if (obj1) {
14960 {
14961 arg2 = wxString_in_helper(obj1);
14962 if (arg2 == NULL) SWIG_fail;
14963 temp2 = True;
14964 }
14965 }
14966 if (obj2) {
14967 {
14968 arg3 = wxString_in_helper(obj2);
14969 if (arg3 == NULL) SWIG_fail;
14970 temp3 = True;
14971 }
14972 }
14973 if (obj3) {
14974 {
14975 arg4 = wxString_in_helper(obj3);
14976 if (arg4 == NULL) SWIG_fail;
14977 temp4 = True;
14978 }
14979 }
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14983
14984 wxPyEndAllowThreads(__tstate);
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
14987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14988 {
14989 if (temp1)
14990 delete arg1;
14991 }
14992 {
14993 if (temp2)
14994 delete arg2;
14995 }
14996 {
14997 if (temp3)
14998 delete arg3;
14999 }
15000 {
15001 if (temp4)
15002 delete arg4;
15003 }
15004 return resultobj;
15005 fail:
15006 {
15007 if (temp1)
15008 delete arg1;
15009 }
15010 {
15011 if (temp2)
15012 delete arg2;
15013 }
15014 {
15015 if (temp3)
15016 delete arg3;
15017 }
15018 {
15019 if (temp4)
15020 delete arg4;
15021 }
15022 return NULL;
15023 }
15024
15025
15026 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15027 PyObject *resultobj;
15028 wxConfig *arg1 = (wxConfig *) 0 ;
15029 PyObject * obj0 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "self", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15036 {
15037 PyThreadState* __tstate = wxPyBeginAllowThreads();
15038 delete arg1;
15039
15040 wxPyEndAllowThreads(__tstate);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 }
15043 Py_INCREF(Py_None); resultobj = Py_None;
15044 return resultobj;
15045 fail:
15046 return NULL;
15047 }
15048
15049
15050 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
15051 PyObject *obj;
15052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15053 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
15054 Py_INCREF(obj);
15055 return Py_BuildValue((char *)"");
15056 }
15057 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15058 PyObject *resultobj;
15059 wxString const &arg1_defvalue = wxPyEmptyString ;
15060 wxString *arg1 = (wxString *) &arg1_defvalue ;
15061 wxString const &arg2_defvalue = wxPyEmptyString ;
15062 wxString *arg2 = (wxString *) &arg2_defvalue ;
15063 wxString const &arg3_defvalue = wxPyEmptyString ;
15064 wxString *arg3 = (wxString *) &arg3_defvalue ;
15065 wxString const &arg4_defvalue = wxPyEmptyString ;
15066 wxString *arg4 = (wxString *) &arg4_defvalue ;
15067 long arg5 = (long) 0 ;
15068 wxFileConfig *result;
15069 bool temp1 = False ;
15070 bool temp2 = False ;
15071 bool temp3 = False ;
15072 bool temp4 = False ;
15073 PyObject * obj0 = 0 ;
15074 PyObject * obj1 = 0 ;
15075 PyObject * obj2 = 0 ;
15076 PyObject * obj3 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15082 if (obj0) {
15083 {
15084 arg1 = wxString_in_helper(obj0);
15085 if (arg1 == NULL) SWIG_fail;
15086 temp1 = True;
15087 }
15088 }
15089 if (obj1) {
15090 {
15091 arg2 = wxString_in_helper(obj1);
15092 if (arg2 == NULL) SWIG_fail;
15093 temp2 = True;
15094 }
15095 }
15096 if (obj2) {
15097 {
15098 arg3 = wxString_in_helper(obj2);
15099 if (arg3 == NULL) SWIG_fail;
15100 temp3 = True;
15101 }
15102 }
15103 if (obj3) {
15104 {
15105 arg4 = wxString_in_helper(obj3);
15106 if (arg4 == NULL) SWIG_fail;
15107 temp4 = True;
15108 }
15109 }
15110 {
15111 PyThreadState* __tstate = wxPyBeginAllowThreads();
15112 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15113
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15118 {
15119 if (temp1)
15120 delete arg1;
15121 }
15122 {
15123 if (temp2)
15124 delete arg2;
15125 }
15126 {
15127 if (temp3)
15128 delete arg3;
15129 }
15130 {
15131 if (temp4)
15132 delete arg4;
15133 }
15134 return resultobj;
15135 fail:
15136 {
15137 if (temp1)
15138 delete arg1;
15139 }
15140 {
15141 if (temp2)
15142 delete arg2;
15143 }
15144 {
15145 if (temp3)
15146 delete arg3;
15147 }
15148 {
15149 if (temp4)
15150 delete arg4;
15151 }
15152 return NULL;
15153 }
15154
15155
15156 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj;
15158 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15159 PyObject * obj0 = 0 ;
15160 char *kwnames[] = {
15161 (char *) "self", NULL
15162 };
15163
15164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 delete arg1;
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 Py_INCREF(Py_None); resultobj = Py_None;
15174 return resultobj;
15175 fail:
15176 return NULL;
15177 }
15178
15179
15180 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15181 PyObject *obj;
15182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15183 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15184 Py_INCREF(obj);
15185 return Py_BuildValue((char *)"");
15186 }
15187 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15188 PyObject *resultobj;
15189 wxString *arg1 = 0 ;
15190 wxString result;
15191 bool temp1 = False ;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "sz", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15198 {
15199 arg1 = wxString_in_helper(obj0);
15200 if (arg1 == NULL) SWIG_fail;
15201 temp1 = True;
15202 }
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = wxExpandEnvVars((wxString const &)*arg1);
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 {
15211 #if wxUSE_UNICODE
15212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15213 #else
15214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15215 #endif
15216 }
15217 {
15218 if (temp1)
15219 delete arg1;
15220 }
15221 return resultobj;
15222 fail:
15223 {
15224 if (temp1)
15225 delete arg1;
15226 }
15227 return NULL;
15228 }
15229
15230
15231 static int _wrap_DateFormatStr_set(PyObject *_val) {
15232 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
15233 return 1;
15234 }
15235
15236
15237 static PyObject *_wrap_DateFormatStr_get() {
15238 PyObject *pyobj;
15239
15240 {
15241 #if wxUSE_UNICODE
15242 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15243 #else
15244 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15245 #endif
15246 }
15247 return pyobj;
15248 }
15249
15250
15251 static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
15252 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
15253 return 1;
15254 }
15255
15256
15257 static PyObject *_wrap_TimeSpanFormatStr_get() {
15258 PyObject *pyobj;
15259
15260 {
15261 #if wxUSE_UNICODE
15262 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15263 #else
15264 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15265 #endif
15266 }
15267 return pyobj;
15268 }
15269
15270
15271 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15272 PyObject *resultobj;
15273 int arg1 ;
15274 char *kwnames[] = {
15275 (char *) "country", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 Py_INCREF(Py_None); resultobj = Py_None;
15287 return resultobj;
15288 fail:
15289 return NULL;
15290 }
15291
15292
15293 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj;
15295 int result;
15296 char *kwnames[] = {
15297 NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15301 {
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (int)wxDateTime::GetCountry();
15304
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 resultobj = PyInt_FromLong((long)result);
15309 return resultobj;
15310 fail:
15311 return NULL;
15312 }
15313
15314
15315 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15316 PyObject *resultobj;
15317 int arg1 = (int) wxDateTime::Country_Default ;
15318 bool result;
15319 char *kwnames[] = {
15320 (char *) "country", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15324 {
15325 PyThreadState* __tstate = wxPyBeginAllowThreads();
15326 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15327
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 resultobj = PyInt_FromLong((long)result);
15332 return resultobj;
15333 fail:
15334 return NULL;
15335 }
15336
15337
15338 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15339 PyObject *resultobj;
15340 int arg1 = (int) wxDateTime::Gregorian ;
15341 int result;
15342 char *kwnames[] = {
15343 (char *) "cal", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 resultobj = PyInt_FromLong((long)result);
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 int arg1 ;
15364 int result;
15365 char *kwnames[] = {
15366 (char *) "year", NULL
15367 };
15368
15369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15370 {
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 result = (int)wxDateTime::ConvertYearToBC(arg1);
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 resultobj = PyInt_FromLong((long)result);
15378 return resultobj;
15379 fail:
15380 return NULL;
15381 }
15382
15383
15384 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 int arg1 = (int) wxDateTime::Gregorian ;
15387 int result;
15388 char *kwnames[] = {
15389 (char *) "cal", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 resultobj = PyInt_FromLong((long)result);
15401 return resultobj;
15402 fail:
15403 return NULL;
15404 }
15405
15406
15407 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15408 PyObject *resultobj;
15409 int arg1 = (int) wxDateTime::Inv_Year ;
15410 int arg2 = (int) wxDateTime::Gregorian ;
15411 bool result;
15412 char *kwnames[] = {
15413 (char *) "year",(char *) "cal", NULL
15414 };
15415
15416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15417 {
15418 PyThreadState* __tstate = wxPyBeginAllowThreads();
15419 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15420
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
15424 resultobj = PyInt_FromLong((long)result);
15425 return resultobj;
15426 fail:
15427 return NULL;
15428 }
15429
15430
15431 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15432 PyObject *resultobj;
15433 int arg1 = (int) wxDateTime::Inv_Year ;
15434 int result;
15435 char *kwnames[] = {
15436 (char *) "year", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 result = (int)wxDateTime::GetCentury(arg1);
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 resultobj = PyInt_FromLong((long)result);
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 int arg1 ;
15457 int arg2 = (int) wxDateTime::Gregorian ;
15458 int result;
15459 char *kwnames[] = {
15460 (char *) "year",(char *) "cal", NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 resultobj = PyInt_FromLong((long)result);
15472 return resultobj;
15473 fail:
15474 return NULL;
15475 }
15476
15477
15478 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj;
15480 int arg1 ;
15481 int arg2 = (int) wxDateTime::Inv_Year ;
15482 int arg3 = (int) wxDateTime::Gregorian ;
15483 int result;
15484 char *kwnames[] = {
15485 (char *) "month",(char *) "year",(char *) "cal", NULL
15486 };
15487
15488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 resultobj = PyInt_FromLong((long)result);
15497 return resultobj;
15498 fail:
15499 return NULL;
15500 }
15501
15502
15503 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 int arg1 ;
15506 int arg2 = (int) wxDateTime::Name_Full ;
15507 wxString result;
15508 char *kwnames[] = {
15509 (char *) "month",(char *) "flags", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 {
15521 #if wxUSE_UNICODE
15522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15523 #else
15524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15525 #endif
15526 }
15527 return resultobj;
15528 fail:
15529 return NULL;
15530 }
15531
15532
15533 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 int arg1 ;
15536 int arg2 = (int) wxDateTime::Name_Full ;
15537 wxString result;
15538 char *kwnames[] = {
15539 (char *) "weekday",(char *) "flags", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 {
15551 #if wxUSE_UNICODE
15552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15553 #else
15554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15555 #endif
15556 }
15557 return resultobj;
15558 fail:
15559 return NULL;
15560 }
15561
15562
15563 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj;
15565 wxString *arg1 = (wxString *) 0 ;
15566 wxString *arg2 = (wxString *) 0 ;
15567 bool temp1 = False ;
15568 bool temp2 = False ;
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15576 {
15577 arg1 = wxString_in_helper(obj0);
15578 if (arg1 == NULL) SWIG_fail;
15579 temp1 = True;
15580 }
15581 {
15582 arg2 = wxString_in_helper(obj1);
15583 if (arg2 == NULL) SWIG_fail;
15584 temp2 = True;
15585 }
15586 {
15587 PyThreadState* __tstate = wxPyBeginAllowThreads();
15588 wxDateTime::GetAmPmStrings(arg1,arg2);
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 Py_INCREF(Py_None); resultobj = Py_None;
15594 {
15595 if (temp1)
15596 delete arg1;
15597 }
15598 {
15599 if (temp2)
15600 delete arg2;
15601 }
15602 return resultobj;
15603 fail:
15604 {
15605 if (temp1)
15606 delete arg1;
15607 }
15608 {
15609 if (temp2)
15610 delete arg2;
15611 }
15612 return NULL;
15613 }
15614
15615
15616 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj;
15618 int arg1 = (int) wxDateTime::Inv_Year ;
15619 int arg2 = (int) wxDateTime::Country_Default ;
15620 bool result;
15621 char *kwnames[] = {
15622 (char *) "year",(char *) "country", NULL
15623 };
15624
15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 resultobj = PyInt_FromLong((long)result);
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 int arg1 = (int) wxDateTime::Inv_Year ;
15643 int arg2 = (int) wxDateTime::Country_Default ;
15644 wxDateTime result;
15645 char *kwnames[] = {
15646 (char *) "year",(char *) "country", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15650 {
15651 PyThreadState* __tstate = wxPyBeginAllowThreads();
15652 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15653
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 {
15658 wxDateTime * resultptr;
15659 resultptr = new wxDateTime((wxDateTime &) result);
15660 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15661 }
15662 return resultobj;
15663 fail:
15664 return NULL;
15665 }
15666
15667
15668 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15669 PyObject *resultobj;
15670 int arg1 = (int) wxDateTime::Inv_Year ;
15671 int arg2 = (int) wxDateTime::Country_Default ;
15672 wxDateTime result;
15673 char *kwnames[] = {
15674 (char *) "year",(char *) "country", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15681
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 {
15686 wxDateTime * resultptr;
15687 resultptr = new wxDateTime((wxDateTime &) result);
15688 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15689 }
15690 return resultobj;
15691 fail:
15692 return NULL;
15693 }
15694
15695
15696 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15697 PyObject *resultobj;
15698 wxDateTime result;
15699 char *kwnames[] = {
15700 NULL
15701 };
15702
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 result = wxDateTime::Now();
15707
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 {
15712 wxDateTime * resultptr;
15713 resultptr = new wxDateTime((wxDateTime &) result);
15714 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15715 }
15716 return resultobj;
15717 fail:
15718 return NULL;
15719 }
15720
15721
15722 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxDateTime result;
15725 char *kwnames[] = {
15726 NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15730 {
15731 PyThreadState* __tstate = wxPyBeginAllowThreads();
15732 result = wxDateTime::UNow();
15733
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 {
15738 wxDateTime * resultptr;
15739 resultptr = new wxDateTime((wxDateTime &) result);
15740 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15741 }
15742 return resultobj;
15743 fail:
15744 return NULL;
15745 }
15746
15747
15748 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15749 PyObject *resultobj;
15750 wxDateTime result;
15751 char *kwnames[] = {
15752 NULL
15753 };
15754
15755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 result = wxDateTime::Today();
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 {
15764 wxDateTime * resultptr;
15765 resultptr = new wxDateTime((wxDateTime &) result);
15766 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15767 }
15768 return resultobj;
15769 fail:
15770 return NULL;
15771 }
15772
15773
15774 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxDateTime *result;
15777 char *kwnames[] = {
15778 NULL
15779 };
15780
15781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
15784 result = (wxDateTime *)new wxDateTime();
15785
15786 wxPyEndAllowThreads(__tstate);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15790 return resultobj;
15791 fail:
15792 return NULL;
15793 }
15794
15795
15796 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15797 PyObject *resultobj;
15798 time_t arg1 ;
15799 wxDateTime *result;
15800 PyObject * obj0 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "timet", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15806 arg1 = (time_t) PyInt_AsLong(obj0);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 result = (wxDateTime *)new wxDateTime(arg1);
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15816 return resultobj;
15817 fail:
15818 return NULL;
15819 }
15820
15821
15822 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15823 PyObject *resultobj;
15824 double arg1 ;
15825 wxDateTime *result;
15826 char *kwnames[] = {
15827 (char *) "jdn", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15831 {
15832 PyThreadState* __tstate = wxPyBeginAllowThreads();
15833 result = (wxDateTime *)new wxDateTime(arg1);
15834
15835 wxPyEndAllowThreads(__tstate);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15839 return resultobj;
15840 fail:
15841 return NULL;
15842 }
15843
15844
15845 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 int arg1 ;
15848 int arg2 = (int) 0 ;
15849 int arg3 = (int) 0 ;
15850 int arg4 = (int) 0 ;
15851 wxDateTime *result;
15852 char *kwnames[] = {
15853 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15865 return resultobj;
15866 fail:
15867 return NULL;
15868 }
15869
15870
15871 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15872 PyObject *resultobj;
15873 int arg1 ;
15874 int arg2 = (int) wxDateTime::Inv_Month ;
15875 int arg3 = (int) wxDateTime::Inv_Year ;
15876 int arg4 = (int) 0 ;
15877 int arg5 = (int) 0 ;
15878 int arg6 = (int) 0 ;
15879 int arg7 = (int) 0 ;
15880 wxDateTime *result;
15881 char *kwnames[] = {
15882 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15883 };
15884
15885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15894 return resultobj;
15895 fail:
15896 return NULL;
15897 }
15898
15899
15900 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15901 PyObject *resultobj;
15902 wxDateTime *arg1 = (wxDateTime *) 0 ;
15903 PyObject * obj0 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 delete arg1;
15913
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 Py_INCREF(Py_None); resultobj = Py_None;
15918 return resultobj;
15919 fail:
15920 return NULL;
15921 }
15922
15923
15924 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15925 PyObject *resultobj;
15926 wxDateTime *arg1 = (wxDateTime *) 0 ;
15927 wxDateTime *result;
15928 PyObject * obj0 = 0 ;
15929 char *kwnames[] = {
15930 (char *) "self", NULL
15931 };
15932
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 {
15938 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15939 result = (wxDateTime *) &_result_ref;
15940 }
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxDateTime *arg1 = (wxDateTime *) 0 ;
15955 time_t arg2 ;
15956 wxDateTime *result;
15957 PyObject * obj0 = 0 ;
15958 PyObject * obj1 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self",(char *) "timet", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15965 arg2 = (time_t) PyInt_AsLong(obj1);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 {
15970 wxDateTime &_result_ref = (arg1)->Set(arg2);
15971 result = (wxDateTime *) &_result_ref;
15972 }
15973
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15978 return resultobj;
15979 fail:
15980 return NULL;
15981 }
15982
15983
15984 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj;
15986 wxDateTime *arg1 = (wxDateTime *) 0 ;
15987 double arg2 ;
15988 wxDateTime *result;
15989 PyObject * obj0 = 0 ;
15990 char *kwnames[] = {
15991 (char *) "self",(char *) "jdn", NULL
15992 };
15993
15994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 {
15999 wxDateTime &_result_ref = (arg1)->Set(arg2);
16000 result = (wxDateTime *) &_result_ref;
16001 }
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxDateTime *arg1 = (wxDateTime *) 0 ;
16016 int arg2 ;
16017 int arg3 = (int) 0 ;
16018 int arg4 = (int) 0 ;
16019 int arg5 = (int) 0 ;
16020 wxDateTime *result;
16021 PyObject * obj0 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 {
16031 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
16032 result = (wxDateTime *) &_result_ref;
16033 }
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16039 return resultobj;
16040 fail:
16041 return NULL;
16042 }
16043
16044
16045 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxDateTime *arg1 = (wxDateTime *) 0 ;
16048 int arg2 ;
16049 int arg3 = (int) wxDateTime::Inv_Month ;
16050 int arg4 = (int) wxDateTime::Inv_Year ;
16051 int arg5 = (int) 0 ;
16052 int arg6 = (int) 0 ;
16053 int arg7 = (int) 0 ;
16054 int arg8 = (int) 0 ;
16055 wxDateTime *result;
16056 PyObject * obj0 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
16062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 {
16066 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
16067 result = (wxDateTime *) &_result_ref;
16068 }
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16074 return resultobj;
16075 fail:
16076 return NULL;
16077 }
16078
16079
16080 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16081 PyObject *resultobj;
16082 wxDateTime *arg1 = (wxDateTime *) 0 ;
16083 wxDateTime *result;
16084 PyObject * obj0 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 {
16094 wxDateTime &_result_ref = (arg1)->ResetTime();
16095 result = (wxDateTime *) &_result_ref;
16096 }
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16102 return resultobj;
16103 fail:
16104 return NULL;
16105 }
16106
16107
16108 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj;
16110 wxDateTime *arg1 = (wxDateTime *) 0 ;
16111 int arg2 ;
16112 wxDateTime *result;
16113 PyObject * obj0 = 0 ;
16114 char *kwnames[] = {
16115 (char *) "self",(char *) "year", NULL
16116 };
16117
16118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
16119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 {
16123 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
16124 result = (wxDateTime *) &_result_ref;
16125 }
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16131 return resultobj;
16132 fail:
16133 return NULL;
16134 }
16135
16136
16137 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxDateTime *arg1 = (wxDateTime *) 0 ;
16140 int arg2 ;
16141 wxDateTime *result;
16142 PyObject * obj0 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self",(char *) "month", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16149 {
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 {
16152 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16153 result = (wxDateTime *) &_result_ref;
16154 }
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16160 return resultobj;
16161 fail:
16162 return NULL;
16163 }
16164
16165
16166 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16167 PyObject *resultobj;
16168 wxDateTime *arg1 = (wxDateTime *) 0 ;
16169 int arg2 ;
16170 wxDateTime *result;
16171 PyObject * obj0 = 0 ;
16172 char *kwnames[] = {
16173 (char *) "self",(char *) "day", NULL
16174 };
16175
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
16177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 {
16181 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16182 result = (wxDateTime *) &_result_ref;
16183 }
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16189 return resultobj;
16190 fail:
16191 return NULL;
16192 }
16193
16194
16195 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxDateTime *arg1 = (wxDateTime *) 0 ;
16198 int arg2 ;
16199 wxDateTime *result;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "hour", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16207 {
16208 PyThreadState* __tstate = wxPyBeginAllowThreads();
16209 {
16210 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16211 result = (wxDateTime *) &_result_ref;
16212 }
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16218 return resultobj;
16219 fail:
16220 return NULL;
16221 }
16222
16223
16224 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 wxDateTime *arg1 = (wxDateTime *) 0 ;
16227 int arg2 ;
16228 wxDateTime *result;
16229 PyObject * obj0 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self",(char *) "minute", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
16235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16236 {
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
16238 {
16239 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16240 result = (wxDateTime *) &_result_ref;
16241 }
16242
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16247 return resultobj;
16248 fail:
16249 return NULL;
16250 }
16251
16252
16253 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16254 PyObject *resultobj;
16255 wxDateTime *arg1 = (wxDateTime *) 0 ;
16256 int arg2 ;
16257 wxDateTime *result;
16258 PyObject * obj0 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self",(char *) "second", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
16264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16265 {
16266 PyThreadState* __tstate = wxPyBeginAllowThreads();
16267 {
16268 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16269 result = (wxDateTime *) &_result_ref;
16270 }
16271
16272 wxPyEndAllowThreads(__tstate);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16276 return resultobj;
16277 fail:
16278 return NULL;
16279 }
16280
16281
16282 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16283 PyObject *resultobj;
16284 wxDateTime *arg1 = (wxDateTime *) 0 ;
16285 int arg2 ;
16286 wxDateTime *result;
16287 PyObject * obj0 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self",(char *) "millisecond", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
16293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 {
16297 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16298 result = (wxDateTime *) &_result_ref;
16299 }
16300
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxDateTime *arg1 = (wxDateTime *) 0 ;
16314 int arg2 ;
16315 int arg3 = (int) wxDateTime::Monday_First ;
16316 wxDateTime *result;
16317 PyObject * obj0 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16324 {
16325 PyThreadState* __tstate = wxPyBeginAllowThreads();
16326 {
16327 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16328 result = (wxDateTime *) &_result_ref;
16329 }
16330
16331 wxPyEndAllowThreads(__tstate);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 }
16334 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16335 return resultobj;
16336 fail:
16337 return NULL;
16338 }
16339
16340
16341 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16342 PyObject *resultobj;
16343 wxDateTime *arg1 = (wxDateTime *) 0 ;
16344 int arg2 ;
16345 int arg3 = (int) wxDateTime::Monday_First ;
16346 wxDateTime result;
16347 PyObject * obj0 = 0 ;
16348 char *kwnames[] = {
16349 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16350 };
16351
16352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16354 {
16355 PyThreadState* __tstate = wxPyBeginAllowThreads();
16356 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16357
16358 wxPyEndAllowThreads(__tstate);
16359 if (PyErr_Occurred()) SWIG_fail;
16360 }
16361 {
16362 wxDateTime * resultptr;
16363 resultptr = new wxDateTime((wxDateTime &) result);
16364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16365 }
16366 return resultobj;
16367 fail:
16368 return NULL;
16369 }
16370
16371
16372 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16373 PyObject *resultobj;
16374 wxDateTime *arg1 = (wxDateTime *) 0 ;
16375 int arg2 ;
16376 wxDateTime *result;
16377 PyObject * obj0 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self",(char *) "weekday", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 {
16387 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16388 result = (wxDateTime *) &_result_ref;
16389 }
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16395 return resultobj;
16396 fail:
16397 return NULL;
16398 }
16399
16400
16401 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxDateTime *arg1 = (wxDateTime *) 0 ;
16404 int arg2 ;
16405 wxDateTime result;
16406 PyObject * obj0 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self",(char *) "weekday", NULL
16409 };
16410
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16416
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 {
16421 wxDateTime * resultptr;
16422 resultptr = new wxDateTime((wxDateTime &) result);
16423 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16424 }
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj;
16433 wxDateTime *arg1 = (wxDateTime *) 0 ;
16434 int arg2 ;
16435 wxDateTime *result;
16436 PyObject * obj0 = 0 ;
16437 char *kwnames[] = {
16438 (char *) "self",(char *) "weekday", NULL
16439 };
16440
16441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 {
16446 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16447 result = (wxDateTime *) &_result_ref;
16448 }
16449
16450 wxPyEndAllowThreads(__tstate);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxDateTime *arg1 = (wxDateTime *) 0 ;
16463 int arg2 ;
16464 wxDateTime result;
16465 PyObject * obj0 = 0 ;
16466 char *kwnames[] = {
16467 (char *) "self",(char *) "weekday", NULL
16468 };
16469
16470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16475
16476 wxPyEndAllowThreads(__tstate);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 {
16480 wxDateTime * resultptr;
16481 resultptr = new wxDateTime((wxDateTime &) result);
16482 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16483 }
16484 return resultobj;
16485 fail:
16486 return NULL;
16487 }
16488
16489
16490 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxDateTime *arg1 = (wxDateTime *) 0 ;
16493 int arg2 ;
16494 int arg3 = (int) 1 ;
16495 int arg4 = (int) wxDateTime::Inv_Month ;
16496 int arg5 = (int) wxDateTime::Inv_Year ;
16497 bool result;
16498 PyObject * obj0 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16505 {
16506 PyThreadState* __tstate = wxPyBeginAllowThreads();
16507 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16508
16509 wxPyEndAllowThreads(__tstate);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 }
16512 resultobj = PyInt_FromLong((long)result);
16513 return resultobj;
16514 fail:
16515 return NULL;
16516 }
16517
16518
16519 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16520 PyObject *resultobj;
16521 wxDateTime *arg1 = (wxDateTime *) 0 ;
16522 int arg2 ;
16523 int arg3 = (int) wxDateTime::Inv_Month ;
16524 int arg4 = (int) wxDateTime::Inv_Year ;
16525 bool result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 resultobj = PyInt_FromLong((long)result);
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxDateTime *arg1 = (wxDateTime *) 0 ;
16550 int arg2 ;
16551 int arg3 = (int) wxDateTime::Inv_Month ;
16552 int arg4 = (int) wxDateTime::Inv_Year ;
16553 wxDateTime result;
16554 PyObject * obj0 = 0 ;
16555 char *kwnames[] = {
16556 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16557 };
16558
16559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 {
16569 wxDateTime * resultptr;
16570 resultptr = new wxDateTime((wxDateTime &) result);
16571 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16572 }
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxDateTime *arg1 = (wxDateTime *) 0 ;
16582 int arg2 ;
16583 int arg3 = (int) wxDateTime::Mon ;
16584 int arg4 = (int) wxDateTime::Monday_First ;
16585 bool result;
16586 PyObject * obj0 = 0 ;
16587 char *kwnames[] = {
16588 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 resultobj = PyInt_FromLong((long)result);
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxDateTime *arg1 = (wxDateTime *) 0 ;
16610 int arg2 ;
16611 int arg3 = (int) wxDateTime::Mon ;
16612 int arg4 = (int) wxDateTime::Monday_First ;
16613 wxDateTime result;
16614 PyObject * obj0 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 {
16629 wxDateTime * resultptr;
16630 resultptr = new wxDateTime((wxDateTime &) result);
16631 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16632 }
16633 return resultobj;
16634 fail:
16635 return NULL;
16636 }
16637
16638
16639 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxDateTime *arg1 = (wxDateTime *) 0 ;
16642 int arg2 = (int) wxDateTime::Inv_Month ;
16643 int arg3 = (int) wxDateTime::Inv_Year ;
16644 wxDateTime *result;
16645 PyObject * obj0 = 0 ;
16646 char *kwnames[] = {
16647 (char *) "self",(char *) "month",(char *) "year", NULL
16648 };
16649
16650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16652 {
16653 PyThreadState* __tstate = wxPyBeginAllowThreads();
16654 {
16655 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16656 result = (wxDateTime *) &_result_ref;
16657 }
16658
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16663 return resultobj;
16664 fail:
16665 return NULL;
16666 }
16667
16668
16669 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16670 PyObject *resultobj;
16671 wxDateTime *arg1 = (wxDateTime *) 0 ;
16672 int arg2 = (int) wxDateTime::Inv_Month ;
16673 int arg3 = (int) wxDateTime::Inv_Year ;
16674 wxDateTime result;
16675 PyObject * obj0 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self",(char *) "month",(char *) "year", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16682 {
16683 PyThreadState* __tstate = wxPyBeginAllowThreads();
16684 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16685
16686 wxPyEndAllowThreads(__tstate);
16687 if (PyErr_Occurred()) SWIG_fail;
16688 }
16689 {
16690 wxDateTime * resultptr;
16691 resultptr = new wxDateTime((wxDateTime &) result);
16692 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxDateTime *arg1 = (wxDateTime *) 0 ;
16703 int arg2 ;
16704 wxDateTime *result;
16705 PyObject * obj0 = 0 ;
16706 char *kwnames[] = {
16707 (char *) "self",(char *) "yday", NULL
16708 };
16709
16710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
16711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 {
16715 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16716 result = (wxDateTime *) &_result_ref;
16717 }
16718
16719 wxPyEndAllowThreads(__tstate);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 }
16722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16723 return resultobj;
16724 fail:
16725 return NULL;
16726 }
16727
16728
16729 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 wxDateTime *arg1 = (wxDateTime *) 0 ;
16732 int arg2 ;
16733 wxDateTime result;
16734 PyObject * obj0 = 0 ;
16735 char *kwnames[] = {
16736 (char *) "self",(char *) "yday", NULL
16737 };
16738
16739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
16740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16741 {
16742 PyThreadState* __tstate = wxPyBeginAllowThreads();
16743 result = (arg1)->GetYearDay(arg2);
16744
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 {
16749 wxDateTime * resultptr;
16750 resultptr = new wxDateTime((wxDateTime &) result);
16751 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16752 }
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj;
16761 wxDateTime *arg1 = (wxDateTime *) 0 ;
16762 double result;
16763 PyObject * obj0 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = (double)(arg1)->GetJulianDayNumber();
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = PyFloat_FromDouble(result);
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxDateTime *arg1 = (wxDateTime *) 0 ;
16787 double result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16795 {
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 result = (double)(arg1)->GetJDN();
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 resultobj = PyFloat_FromDouble(result);
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxDateTime *arg1 = (wxDateTime *) 0 ;
16812 double result;
16813 PyObject * obj0 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = PyFloat_FromDouble(result);
16828 return resultobj;
16829 fail:
16830 return NULL;
16831 }
16832
16833
16834 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxDateTime *arg1 = (wxDateTime *) 0 ;
16837 double result;
16838 PyObject * obj0 = 0 ;
16839 char *kwnames[] = {
16840 (char *) "self", NULL
16841 };
16842
16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 result = (double)(arg1)->GetMJD();
16848
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 resultobj = PyFloat_FromDouble(result);
16853 return resultobj;
16854 fail:
16855 return NULL;
16856 }
16857
16858
16859 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 wxDateTime *arg1 = (wxDateTime *) 0 ;
16862 double result;
16863 PyObject * obj0 = 0 ;
16864 char *kwnames[] = {
16865 (char *) "self", NULL
16866 };
16867
16868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16870 {
16871 PyThreadState* __tstate = wxPyBeginAllowThreads();
16872 result = (double)(arg1)->GetRataDie();
16873
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 resultobj = PyFloat_FromDouble(result);
16878 return resultobj;
16879 fail:
16880 return NULL;
16881 }
16882
16883
16884 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj;
16886 wxDateTime *arg1 = (wxDateTime *) 0 ;
16887 wxDateTime::TimeZone *arg2 = 0 ;
16888 bool arg3 = (bool) False ;
16889 wxDateTime result;
16890 bool temp2 = False ;
16891 PyObject * obj0 = 0 ;
16892 PyObject * obj1 = 0 ;
16893 PyObject * obj2 = 0 ;
16894 char *kwnames[] = {
16895 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16896 };
16897
16898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16900 {
16901 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16902 temp2 = True;
16903 }
16904 if (obj2) {
16905 arg3 = PyInt_AsLong(obj2) ? true : false;
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 {
16909 PyThreadState* __tstate = wxPyBeginAllowThreads();
16910 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16911
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 {
16916 wxDateTime * resultptr;
16917 resultptr = new wxDateTime((wxDateTime &) result);
16918 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16919 }
16920 {
16921 if (temp2) delete arg2;
16922 }
16923 return resultobj;
16924 fail:
16925 {
16926 if (temp2) delete arg2;
16927 }
16928 return NULL;
16929 }
16930
16931
16932 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj;
16934 wxDateTime *arg1 = (wxDateTime *) 0 ;
16935 wxDateTime::TimeZone *arg2 = 0 ;
16936 bool arg3 = (bool) False ;
16937 wxDateTime *result;
16938 bool temp2 = False ;
16939 PyObject * obj0 = 0 ;
16940 PyObject * obj1 = 0 ;
16941 PyObject * obj2 = 0 ;
16942 char *kwnames[] = {
16943 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16944 };
16945
16946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16948 {
16949 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16950 temp2 = True;
16951 }
16952 if (obj2) {
16953 arg3 = PyInt_AsLong(obj2) ? true : false;
16954 if (PyErr_Occurred()) SWIG_fail;
16955 }
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 {
16959 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16960 result = (wxDateTime *) &_result_ref;
16961 }
16962
16963 wxPyEndAllowThreads(__tstate);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
16966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16967 {
16968 if (temp2) delete arg2;
16969 }
16970 return resultobj;
16971 fail:
16972 {
16973 if (temp2) delete arg2;
16974 }
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxDateTime *arg1 = (wxDateTime *) 0 ;
16982 bool arg2 = (bool) False ;
16983 wxDateTime result;
16984 PyObject * obj0 = 0 ;
16985 PyObject * obj1 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self",(char *) "noDST", NULL
16988 };
16989
16990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16992 if (obj1) {
16993 arg2 = PyInt_AsLong(obj1) ? true : false;
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 {
16997 PyThreadState* __tstate = wxPyBeginAllowThreads();
16998 result = (arg1)->ToGMT(arg2);
16999
17000 wxPyEndAllowThreads(__tstate);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 }
17003 {
17004 wxDateTime * resultptr;
17005 resultptr = new wxDateTime((wxDateTime &) result);
17006 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17007 }
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxDateTime *arg1 = (wxDateTime *) 0 ;
17017 bool arg2 = (bool) False ;
17018 wxDateTime *result;
17019 PyObject * obj0 = 0 ;
17020 PyObject * obj1 = 0 ;
17021 char *kwnames[] = {
17022 (char *) "self",(char *) "noDST", NULL
17023 };
17024
17025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
17026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17027 if (obj1) {
17028 arg2 = PyInt_AsLong(obj1) ? true : false;
17029 if (PyErr_Occurred()) SWIG_fail;
17030 }
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 {
17034 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
17035 result = (wxDateTime *) &_result_ref;
17036 }
17037
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj;
17050 wxDateTime *arg1 = (wxDateTime *) 0 ;
17051 int arg2 = (int) wxDateTime::Country_Default ;
17052 int result;
17053 PyObject * obj0 = 0 ;
17054 char *kwnames[] = {
17055 (char *) "self",(char *) "country", NULL
17056 };
17057
17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
17059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 resultobj = PyInt_FromLong((long)result);
17068 return resultobj;
17069 fail:
17070 return NULL;
17071 }
17072
17073
17074 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
17075 PyObject *resultobj;
17076 wxDateTime *arg1 = (wxDateTime *) 0 ;
17077 bool result;
17078 PyObject * obj0 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
17084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17085 {
17086 PyThreadState* __tstate = wxPyBeginAllowThreads();
17087 result = (bool)((wxDateTime const *)arg1)->IsValid();
17088
17089 wxPyEndAllowThreads(__tstate);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 }
17092 resultobj = PyInt_FromLong((long)result);
17093 return resultobj;
17094 fail:
17095 return NULL;
17096 }
17097
17098
17099 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj;
17101 wxDateTime *arg1 = (wxDateTime *) 0 ;
17102 time_t result;
17103 PyObject * obj0 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
17109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17113
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 resultobj = PyInt_FromLong((long)result);
17118 return resultobj;
17119 fail:
17120 return NULL;
17121 }
17122
17123
17124 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17125 PyObject *resultobj;
17126 wxDateTime *arg1 = (wxDateTime *) 0 ;
17127 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17128 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17129 int result;
17130 bool temp2 = False ;
17131 PyObject * obj0 = 0 ;
17132 PyObject * obj1 = 0 ;
17133 char *kwnames[] = {
17134 (char *) "self",(char *) "tz", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17139 if (obj1) {
17140 {
17141 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17142 temp2 = True;
17143 }
17144 }
17145 {
17146 PyThreadState* __tstate = wxPyBeginAllowThreads();
17147 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17148
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 resultobj = PyInt_FromLong((long)result);
17153 {
17154 if (temp2) delete arg2;
17155 }
17156 return resultobj;
17157 fail:
17158 {
17159 if (temp2) delete arg2;
17160 }
17161 return NULL;
17162 }
17163
17164
17165 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxDateTime *arg1 = (wxDateTime *) 0 ;
17168 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17169 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17170 int result;
17171 bool temp2 = False ;
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj1 = 0 ;
17174 char *kwnames[] = {
17175 (char *) "self",(char *) "tz", NULL
17176 };
17177
17178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17180 if (obj1) {
17181 {
17182 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17183 temp2 = True;
17184 }
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 resultobj = PyInt_FromLong((long)result);
17194 {
17195 if (temp2) delete arg2;
17196 }
17197 return resultobj;
17198 fail:
17199 {
17200 if (temp2) delete arg2;
17201 }
17202 return NULL;
17203 }
17204
17205
17206 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxDateTime *arg1 = (wxDateTime *) 0 ;
17209 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17210 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17211 int result;
17212 bool temp2 = False ;
17213 PyObject * obj0 = 0 ;
17214 PyObject * obj1 = 0 ;
17215 char *kwnames[] = {
17216 (char *) "self",(char *) "tz", NULL
17217 };
17218
17219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17221 if (obj1) {
17222 {
17223 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17224 temp2 = True;
17225 }
17226 }
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 resultobj = PyInt_FromLong((long)result);
17235 {
17236 if (temp2) delete arg2;
17237 }
17238 return resultobj;
17239 fail:
17240 {
17241 if (temp2) delete arg2;
17242 }
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxDateTime *arg1 = (wxDateTime *) 0 ;
17250 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17251 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17252 int result;
17253 bool temp2 = False ;
17254 PyObject * obj0 = 0 ;
17255 PyObject * obj1 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self",(char *) "tz", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17262 if (obj1) {
17263 {
17264 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17265 temp2 = True;
17266 }
17267 }
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 resultobj = PyInt_FromLong((long)result);
17276 {
17277 if (temp2) delete arg2;
17278 }
17279 return resultobj;
17280 fail:
17281 {
17282 if (temp2) delete arg2;
17283 }
17284 return NULL;
17285 }
17286
17287
17288 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxDateTime *arg1 = (wxDateTime *) 0 ;
17291 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17292 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17293 int result;
17294 bool temp2 = False ;
17295 PyObject * obj0 = 0 ;
17296 PyObject * obj1 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self",(char *) "tz", NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17303 if (obj1) {
17304 {
17305 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17306 temp2 = True;
17307 }
17308 }
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17312
17313 wxPyEndAllowThreads(__tstate);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 resultobj = PyInt_FromLong((long)result);
17317 {
17318 if (temp2) delete arg2;
17319 }
17320 return resultobj;
17321 fail:
17322 {
17323 if (temp2) delete arg2;
17324 }
17325 return NULL;
17326 }
17327
17328
17329 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17330 PyObject *resultobj;
17331 wxDateTime *arg1 = (wxDateTime *) 0 ;
17332 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17333 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17334 int result;
17335 bool temp2 = False ;
17336 PyObject * obj0 = 0 ;
17337 PyObject * obj1 = 0 ;
17338 char *kwnames[] = {
17339 (char *) "self",(char *) "tz", NULL
17340 };
17341
17342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17344 if (obj1) {
17345 {
17346 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17347 temp2 = True;
17348 }
17349 }
17350 {
17351 PyThreadState* __tstate = wxPyBeginAllowThreads();
17352 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17353
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 resultobj = PyInt_FromLong((long)result);
17358 {
17359 if (temp2) delete arg2;
17360 }
17361 return resultobj;
17362 fail:
17363 {
17364 if (temp2) delete arg2;
17365 }
17366 return NULL;
17367 }
17368
17369
17370 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17371 PyObject *resultobj;
17372 wxDateTime *arg1 = (wxDateTime *) 0 ;
17373 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17374 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17375 int result;
17376 bool temp2 = False ;
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "tz", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 if (obj1) {
17386 {
17387 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17388 temp2 = True;
17389 }
17390 }
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17394
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 resultobj = PyInt_FromLong((long)result);
17399 {
17400 if (temp2) delete arg2;
17401 }
17402 return resultobj;
17403 fail:
17404 {
17405 if (temp2) delete arg2;
17406 }
17407 return NULL;
17408 }
17409
17410
17411 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj;
17413 wxDateTime *arg1 = (wxDateTime *) 0 ;
17414 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17415 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17416 int result;
17417 bool temp2 = False ;
17418 PyObject * obj0 = 0 ;
17419 PyObject * obj1 = 0 ;
17420 char *kwnames[] = {
17421 (char *) "self",(char *) "tz", NULL
17422 };
17423
17424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17426 if (obj1) {
17427 {
17428 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17429 temp2 = True;
17430 }
17431 }
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = PyInt_FromLong((long)result);
17440 {
17441 if (temp2) delete arg2;
17442 }
17443 return resultobj;
17444 fail:
17445 {
17446 if (temp2) delete arg2;
17447 }
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxDateTime *arg1 = (wxDateTime *) 0 ;
17455 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17456 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17457 int result;
17458 bool temp2 = False ;
17459 PyObject * obj0 = 0 ;
17460 PyObject * obj1 = 0 ;
17461 char *kwnames[] = {
17462 (char *) "self",(char *) "tz", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17467 if (obj1) {
17468 {
17469 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17470 temp2 = True;
17471 }
17472 }
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 resultobj = PyInt_FromLong((long)result);
17481 {
17482 if (temp2) delete arg2;
17483 }
17484 return resultobj;
17485 fail:
17486 {
17487 if (temp2) delete arg2;
17488 }
17489 return NULL;
17490 }
17491
17492
17493 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17494 PyObject *resultobj;
17495 wxDateTime *arg1 = (wxDateTime *) 0 ;
17496 int arg2 = (int) wxDateTime::Monday_First ;
17497 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17498 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17499 int result;
17500 bool temp3 = False ;
17501 PyObject * obj0 = 0 ;
17502 PyObject * obj2 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self",(char *) "flags",(char *) "tz", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17509 if (obj2) {
17510 {
17511 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17512 temp3 = True;
17513 }
17514 }
17515 {
17516 PyThreadState* __tstate = wxPyBeginAllowThreads();
17517 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17518
17519 wxPyEndAllowThreads(__tstate);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 }
17522 resultobj = PyInt_FromLong((long)result);
17523 {
17524 if (temp3) delete arg3;
17525 }
17526 return resultobj;
17527 fail:
17528 {
17529 if (temp3) delete arg3;
17530 }
17531 return NULL;
17532 }
17533
17534
17535 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17536 PyObject *resultobj;
17537 wxDateTime *arg1 = (wxDateTime *) 0 ;
17538 int arg2 = (int) wxDateTime::Monday_First ;
17539 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17540 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17541 int result;
17542 bool temp3 = False ;
17543 PyObject * obj0 = 0 ;
17544 PyObject * obj2 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self",(char *) "flags",(char *) "tz", NULL
17547 };
17548
17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17551 if (obj2) {
17552 {
17553 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17554 temp3 = True;
17555 }
17556 }
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17560
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 resultobj = PyInt_FromLong((long)result);
17565 {
17566 if (temp3) delete arg3;
17567 }
17568 return resultobj;
17569 fail:
17570 {
17571 if (temp3) delete arg3;
17572 }
17573 return NULL;
17574 }
17575
17576
17577 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxDateTime *arg1 = (wxDateTime *) 0 ;
17580 int arg2 = (int) wxDateTime::Country_Default ;
17581 bool result;
17582 PyObject * obj0 = 0 ;
17583 char *kwnames[] = {
17584 (char *) "self",(char *) "country", NULL
17585 };
17586
17587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 resultobj = PyInt_FromLong((long)result);
17597 return resultobj;
17598 fail:
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxDateTime *arg1 = (wxDateTime *) 0 ;
17606 wxDateTime *arg2 = 0 ;
17607 bool result;
17608 PyObject * obj0 = 0 ;
17609 PyObject * obj1 = 0 ;
17610 char *kwnames[] = {
17611 (char *) "self",(char *) "datetime", NULL
17612 };
17613
17614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17617 if (arg2 == NULL) {
17618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17619 }
17620 {
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17623
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 resultobj = PyInt_FromLong((long)result);
17628 return resultobj;
17629 fail:
17630 return NULL;
17631 }
17632
17633
17634 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxDateTime *arg1 = (wxDateTime *) 0 ;
17637 wxDateTime *arg2 = 0 ;
17638 bool result;
17639 PyObject * obj0 = 0 ;
17640 PyObject * obj1 = 0 ;
17641 char *kwnames[] = {
17642 (char *) "self",(char *) "datetime", NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17648 if (arg2 == NULL) {
17649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17650 }
17651 {
17652 PyThreadState* __tstate = wxPyBeginAllowThreads();
17653 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17654
17655 wxPyEndAllowThreads(__tstate);
17656 if (PyErr_Occurred()) SWIG_fail;
17657 }
17658 resultobj = PyInt_FromLong((long)result);
17659 return resultobj;
17660 fail:
17661 return NULL;
17662 }
17663
17664
17665 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17666 PyObject *resultobj;
17667 wxDateTime *arg1 = (wxDateTime *) 0 ;
17668 wxDateTime *arg2 = 0 ;
17669 bool result;
17670 PyObject * obj0 = 0 ;
17671 PyObject * obj1 = 0 ;
17672 char *kwnames[] = {
17673 (char *) "self",(char *) "datetime", NULL
17674 };
17675
17676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17679 if (arg2 == NULL) {
17680 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17681 }
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17685
17686 wxPyEndAllowThreads(__tstate);
17687 if (PyErr_Occurred()) SWIG_fail;
17688 }
17689 resultobj = PyInt_FromLong((long)result);
17690 return resultobj;
17691 fail:
17692 return NULL;
17693 }
17694
17695
17696 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 wxDateTime *arg1 = (wxDateTime *) 0 ;
17699 wxDateTime *arg2 = 0 ;
17700 wxDateTime *arg3 = 0 ;
17701 bool result;
17702 PyObject * obj0 = 0 ;
17703 PyObject * obj1 = 0 ;
17704 PyObject * obj2 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self",(char *) "t1",(char *) "t2", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17712 if (arg2 == NULL) {
17713 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17714 }
17715 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17716 if (arg3 == NULL) {
17717 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17718 }
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = PyInt_FromLong((long)result);
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxDateTime *arg1 = (wxDateTime *) 0 ;
17736 wxDateTime *arg2 = 0 ;
17737 wxDateTime *arg3 = 0 ;
17738 bool result;
17739 PyObject * obj0 = 0 ;
17740 PyObject * obj1 = 0 ;
17741 PyObject * obj2 = 0 ;
17742 char *kwnames[] = {
17743 (char *) "self",(char *) "t1",(char *) "t2", NULL
17744 };
17745
17746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17749 if (arg2 == NULL) {
17750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17751 }
17752 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17753 if (arg3 == NULL) {
17754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17755 }
17756 {
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17759
17760 wxPyEndAllowThreads(__tstate);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 resultobj = PyInt_FromLong((long)result);
17764 return resultobj;
17765 fail:
17766 return NULL;
17767 }
17768
17769
17770 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17771 PyObject *resultobj;
17772 wxDateTime *arg1 = (wxDateTime *) 0 ;
17773 wxDateTime *arg2 = 0 ;
17774 bool result;
17775 PyObject * obj0 = 0 ;
17776 PyObject * obj1 = 0 ;
17777 char *kwnames[] = {
17778 (char *) "self",(char *) "dt", NULL
17779 };
17780
17781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17784 if (arg2 == NULL) {
17785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17786 }
17787 {
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17790
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 resultobj = PyInt_FromLong((long)result);
17795 return resultobj;
17796 fail:
17797 return NULL;
17798 }
17799
17800
17801 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17802 PyObject *resultobj;
17803 wxDateTime *arg1 = (wxDateTime *) 0 ;
17804 wxDateTime *arg2 = 0 ;
17805 bool result;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj1 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self",(char *) "dt", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17815 if (arg2 == NULL) {
17816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17817 }
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17821
17822 wxPyEndAllowThreads(__tstate);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
17825 resultobj = PyInt_FromLong((long)result);
17826 return resultobj;
17827 fail:
17828 return NULL;
17829 }
17830
17831
17832 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxDateTime *arg1 = (wxDateTime *) 0 ;
17835 wxDateTime *arg2 = 0 ;
17836 wxTimeSpan *arg3 = 0 ;
17837 bool result;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 PyObject * obj2 = 0 ;
17841 char *kwnames[] = {
17842 (char *) "self",(char *) "dt",(char *) "ts", NULL
17843 };
17844
17845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17848 if (arg2 == NULL) {
17849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17850 }
17851 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17852 if (arg3 == NULL) {
17853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17854 }
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 resultobj = PyInt_FromLong((long)result);
17863 return resultobj;
17864 fail:
17865 return NULL;
17866 }
17867
17868
17869 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxDateTime *arg1 = (wxDateTime *) 0 ;
17872 wxTimeSpan *arg2 = 0 ;
17873 wxDateTime *result;
17874 PyObject * obj0 = 0 ;
17875 PyObject * obj1 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self",(char *) "diff", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17883 if (arg2 == NULL) {
17884 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17885 }
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 {
17889 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17890 result = (wxDateTime *) &_result_ref;
17891 }
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17897 return resultobj;
17898 fail:
17899 return NULL;
17900 }
17901
17902
17903 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxDateTime *arg1 = (wxDateTime *) 0 ;
17906 wxDateSpan *arg2 = 0 ;
17907 wxDateTime *result;
17908 PyObject * obj0 = 0 ;
17909 PyObject * obj1 = 0 ;
17910 char *kwnames[] = {
17911 (char *) "self",(char *) "diff", NULL
17912 };
17913
17914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17917 if (arg2 == NULL) {
17918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17919 }
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 {
17923 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17924 result = (wxDateTime *) &_result_ref;
17925 }
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj;
17939 wxDateTime *arg1 = (wxDateTime *) 0 ;
17940 wxTimeSpan *arg2 = 0 ;
17941 wxDateTime *result;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self",(char *) "diff", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17951 if (arg2 == NULL) {
17952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17953 }
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 {
17957 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17958 result = (wxDateTime *) &_result_ref;
17959 }
17960
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17965 return resultobj;
17966 fail:
17967 return NULL;
17968 }
17969
17970
17971 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17972 PyObject *resultobj;
17973 wxDateTime *arg1 = (wxDateTime *) 0 ;
17974 wxDateSpan *arg2 = 0 ;
17975 wxDateTime *result;
17976 PyObject * obj0 = 0 ;
17977 PyObject * obj1 = 0 ;
17978 char *kwnames[] = {
17979 (char *) "self",(char *) "diff", NULL
17980 };
17981
17982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17985 if (arg2 == NULL) {
17986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17987 }
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 {
17991 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17992 result = (wxDateTime *) &_result_ref;
17993 }
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxDateTime *arg1 = (wxDateTime *) 0 ;
18008 wxDateTime *arg2 = 0 ;
18009 wxTimeSpan result;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "dt", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18019 if (arg2 == NULL) {
18020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18021 }
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 {
18030 wxTimeSpan * resultptr;
18031 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18032 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18033 }
18034 return resultobj;
18035 fail:
18036 return NULL;
18037 }
18038
18039
18040 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
18041 PyObject *resultobj;
18042 wxDateTime *arg1 = (wxDateTime *) 0 ;
18043 wxTimeSpan *arg2 = 0 ;
18044 wxDateTime *result;
18045 PyObject * obj0 = 0 ;
18046 PyObject * obj1 = 0 ;
18047
18048 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18051 if (arg2 == NULL) {
18052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18053 }
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 {
18057 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
18058 result = (wxDateTime *) &_result_ref;
18059 }
18060
18061 wxPyEndAllowThreads(__tstate);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 }
18064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18065 return resultobj;
18066 fail:
18067 return NULL;
18068 }
18069
18070
18071 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
18072 PyObject *resultobj;
18073 wxDateTime *arg1 = (wxDateTime *) 0 ;
18074 wxDateSpan *arg2 = 0 ;
18075 wxDateTime *result;
18076 PyObject * obj0 = 0 ;
18077 PyObject * obj1 = 0 ;
18078
18079 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18082 if (arg2 == NULL) {
18083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18084 }
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 {
18088 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
18089 result = (wxDateTime *) &_result_ref;
18090 }
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18096 return resultobj;
18097 fail:
18098 return NULL;
18099 }
18100
18101
18102 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
18103 int argc;
18104 PyObject *argv[3];
18105 int ii;
18106
18107 argc = PyObject_Length(args);
18108 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18109 argv[ii] = PyTuple_GetItem(args,ii);
18110 }
18111 if (argc == 2) {
18112 int _v;
18113 {
18114 void *ptr;
18115 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18116 _v = 0;
18117 PyErr_Clear();
18118 } else {
18119 _v = 1;
18120 }
18121 }
18122 if (_v) {
18123 {
18124 void *ptr;
18125 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18126 _v = 0;
18127 PyErr_Clear();
18128 } else {
18129 _v = 1;
18130 }
18131 }
18132 if (_v) {
18133 return _wrap_DateTime___iadd____SWIG_0(self,args);
18134 }
18135 }
18136 }
18137 if (argc == 2) {
18138 int _v;
18139 {
18140 void *ptr;
18141 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18142 _v = 0;
18143 PyErr_Clear();
18144 } else {
18145 _v = 1;
18146 }
18147 }
18148 if (_v) {
18149 {
18150 void *ptr;
18151 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18152 _v = 0;
18153 PyErr_Clear();
18154 } else {
18155 _v = 1;
18156 }
18157 }
18158 if (_v) {
18159 return _wrap_DateTime___iadd____SWIG_1(self,args);
18160 }
18161 }
18162 }
18163
18164 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18165 return NULL;
18166 }
18167
18168
18169 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18170 PyObject *resultobj;
18171 wxDateTime *arg1 = (wxDateTime *) 0 ;
18172 wxTimeSpan *arg2 = 0 ;
18173 wxDateTime *result;
18174 PyObject * obj0 = 0 ;
18175 PyObject * obj1 = 0 ;
18176
18177 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18179 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18180 if (arg2 == NULL) {
18181 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18182 }
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 {
18186 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18187 result = (wxDateTime *) &_result_ref;
18188 }
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18201 PyObject *resultobj;
18202 wxDateTime *arg1 = (wxDateTime *) 0 ;
18203 wxDateSpan *arg2 = 0 ;
18204 wxDateTime *result;
18205 PyObject * obj0 = 0 ;
18206 PyObject * obj1 = 0 ;
18207
18208 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18210 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18211 if (arg2 == NULL) {
18212 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18213 }
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 {
18217 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18218 result = (wxDateTime *) &_result_ref;
18219 }
18220
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18225 return resultobj;
18226 fail:
18227 return NULL;
18228 }
18229
18230
18231 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18232 int argc;
18233 PyObject *argv[3];
18234 int ii;
18235
18236 argc = PyObject_Length(args);
18237 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18238 argv[ii] = PyTuple_GetItem(args,ii);
18239 }
18240 if (argc == 2) {
18241 int _v;
18242 {
18243 void *ptr;
18244 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18245 _v = 0;
18246 PyErr_Clear();
18247 } else {
18248 _v = 1;
18249 }
18250 }
18251 if (_v) {
18252 {
18253 void *ptr;
18254 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18255 _v = 0;
18256 PyErr_Clear();
18257 } else {
18258 _v = 1;
18259 }
18260 }
18261 if (_v) {
18262 return _wrap_DateTime___isub____SWIG_0(self,args);
18263 }
18264 }
18265 }
18266 if (argc == 2) {
18267 int _v;
18268 {
18269 void *ptr;
18270 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18271 _v = 0;
18272 PyErr_Clear();
18273 } else {
18274 _v = 1;
18275 }
18276 }
18277 if (_v) {
18278 {
18279 void *ptr;
18280 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18281 _v = 0;
18282 PyErr_Clear();
18283 } else {
18284 _v = 1;
18285 }
18286 }
18287 if (_v) {
18288 return _wrap_DateTime___isub____SWIG_1(self,args);
18289 }
18290 }
18291 }
18292
18293 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18294 return NULL;
18295 }
18296
18297
18298 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18299 PyObject *resultobj;
18300 wxDateTime *arg1 = (wxDateTime *) 0 ;
18301 wxTimeSpan *arg2 = 0 ;
18302 wxDateTime result;
18303 PyObject * obj0 = 0 ;
18304 PyObject * obj1 = 0 ;
18305
18306 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18309 if (arg2 == NULL) {
18310 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18311 }
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 {
18320 wxDateTime * resultptr;
18321 resultptr = new wxDateTime((wxDateTime &) result);
18322 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18323 }
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18331 PyObject *resultobj;
18332 wxDateTime *arg1 = (wxDateTime *) 0 ;
18333 wxDateSpan *arg2 = 0 ;
18334 wxDateTime result;
18335 PyObject * obj0 = 0 ;
18336 PyObject * obj1 = 0 ;
18337
18338 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18341 if (arg2 == NULL) {
18342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18343 }
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 {
18352 wxDateTime * resultptr;
18353 resultptr = new wxDateTime((wxDateTime &) result);
18354 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18355 }
18356 return resultobj;
18357 fail:
18358 return NULL;
18359 }
18360
18361
18362 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18363 int argc;
18364 PyObject *argv[3];
18365 int ii;
18366
18367 argc = PyObject_Length(args);
18368 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18369 argv[ii] = PyTuple_GetItem(args,ii);
18370 }
18371 if (argc == 2) {
18372 int _v;
18373 {
18374 void *ptr;
18375 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18376 _v = 0;
18377 PyErr_Clear();
18378 } else {
18379 _v = 1;
18380 }
18381 }
18382 if (_v) {
18383 {
18384 void *ptr;
18385 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18386 _v = 0;
18387 PyErr_Clear();
18388 } else {
18389 _v = 1;
18390 }
18391 }
18392 if (_v) {
18393 return _wrap_DateTime___add____SWIG_0(self,args);
18394 }
18395 }
18396 }
18397 if (argc == 2) {
18398 int _v;
18399 {
18400 void *ptr;
18401 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18402 _v = 0;
18403 PyErr_Clear();
18404 } else {
18405 _v = 1;
18406 }
18407 }
18408 if (_v) {
18409 {
18410 void *ptr;
18411 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18412 _v = 0;
18413 PyErr_Clear();
18414 } else {
18415 _v = 1;
18416 }
18417 }
18418 if (_v) {
18419 return _wrap_DateTime___add____SWIG_1(self,args);
18420 }
18421 }
18422 }
18423
18424 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18430 PyObject *resultobj;
18431 wxDateTime *arg1 = (wxDateTime *) 0 ;
18432 wxDateTime *arg2 = 0 ;
18433 wxTimeSpan result;
18434 PyObject * obj0 = 0 ;
18435 PyObject * obj1 = 0 ;
18436
18437 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18440 if (arg2 == NULL) {
18441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18442 }
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 {
18451 wxTimeSpan * resultptr;
18452 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18453 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18454 }
18455 return resultobj;
18456 fail:
18457 return NULL;
18458 }
18459
18460
18461 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18462 PyObject *resultobj;
18463 wxDateTime *arg1 = (wxDateTime *) 0 ;
18464 wxTimeSpan *arg2 = 0 ;
18465 wxDateTime result;
18466 PyObject * obj0 = 0 ;
18467 PyObject * obj1 = 0 ;
18468
18469 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18472 if (arg2 == NULL) {
18473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18474 }
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 {
18483 wxDateTime * resultptr;
18484 resultptr = new wxDateTime((wxDateTime &) result);
18485 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18486 }
18487 return resultobj;
18488 fail:
18489 return NULL;
18490 }
18491
18492
18493 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18494 PyObject *resultobj;
18495 wxDateTime *arg1 = (wxDateTime *) 0 ;
18496 wxDateSpan *arg2 = 0 ;
18497 wxDateTime result;
18498 PyObject * obj0 = 0 ;
18499 PyObject * obj1 = 0 ;
18500
18501 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&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_wxDateSpan,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 = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 {
18515 wxDateTime * resultptr;
18516 resultptr = new wxDateTime((wxDateTime &) result);
18517 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18518 }
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18526 int argc;
18527 PyObject *argv[3];
18528 int ii;
18529
18530 argc = PyObject_Length(args);
18531 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18532 argv[ii] = PyTuple_GetItem(args,ii);
18533 }
18534 if (argc == 2) {
18535 int _v;
18536 {
18537 void *ptr;
18538 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18539 _v = 0;
18540 PyErr_Clear();
18541 } else {
18542 _v = 1;
18543 }
18544 }
18545 if (_v) {
18546 {
18547 void *ptr;
18548 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18549 _v = 0;
18550 PyErr_Clear();
18551 } else {
18552 _v = 1;
18553 }
18554 }
18555 if (_v) {
18556 return _wrap_DateTime___sub____SWIG_0(self,args);
18557 }
18558 }
18559 }
18560 if (argc == 2) {
18561 int _v;
18562 {
18563 void *ptr;
18564 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18565 _v = 0;
18566 PyErr_Clear();
18567 } else {
18568 _v = 1;
18569 }
18570 }
18571 if (_v) {
18572 {
18573 void *ptr;
18574 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18575 _v = 0;
18576 PyErr_Clear();
18577 } else {
18578 _v = 1;
18579 }
18580 }
18581 if (_v) {
18582 return _wrap_DateTime___sub____SWIG_1(self,args);
18583 }
18584 }
18585 }
18586 if (argc == 2) {
18587 int _v;
18588 {
18589 void *ptr;
18590 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18591 _v = 0;
18592 PyErr_Clear();
18593 } else {
18594 _v = 1;
18595 }
18596 }
18597 if (_v) {
18598 {
18599 void *ptr;
18600 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18601 _v = 0;
18602 PyErr_Clear();
18603 } else {
18604 _v = 1;
18605 }
18606 }
18607 if (_v) {
18608 return _wrap_DateTime___sub____SWIG_2(self,args);
18609 }
18610 }
18611 }
18612
18613 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18619 PyObject *resultobj;
18620 wxDateTime *arg1 = (wxDateTime *) 0 ;
18621 wxDateTime *arg2 = 0 ;
18622 bool result;
18623 PyObject * obj0 = 0 ;
18624 PyObject * obj1 = 0 ;
18625
18626 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18629 if (arg2 == NULL) {
18630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18631 }
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 resultobj = PyInt_FromLong((long)result);
18640 return resultobj;
18641 fail:
18642 return NULL;
18643 }
18644
18645
18646 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18647 PyObject *resultobj;
18648 wxDateTime *arg1 = (wxDateTime *) 0 ;
18649 wxDateTime *arg2 = 0 ;
18650 bool result;
18651 PyObject * obj0 = 0 ;
18652 PyObject * obj1 = 0 ;
18653
18654 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18657 if (arg2 == NULL) {
18658 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18659 }
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 resultobj = PyInt_FromLong((long)result);
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18675 PyObject *resultobj;
18676 wxDateTime *arg1 = (wxDateTime *) 0 ;
18677 wxDateTime *arg2 = 0 ;
18678 bool result;
18679 PyObject * obj0 = 0 ;
18680 PyObject * obj1 = 0 ;
18681
18682 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18685 if (arg2 == NULL) {
18686 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18687 }
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 resultobj = PyInt_FromLong((long)result);
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18703 PyObject *resultobj;
18704 wxDateTime *arg1 = (wxDateTime *) 0 ;
18705 wxDateTime *arg2 = 0 ;
18706 bool result;
18707 PyObject * obj0 = 0 ;
18708 PyObject * obj1 = 0 ;
18709
18710 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18713 if (arg2 == NULL) {
18714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18715 }
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 resultobj = PyInt_FromLong((long)result);
18724 return resultobj;
18725 fail:
18726 return NULL;
18727 }
18728
18729
18730 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18731 PyObject *resultobj;
18732 wxDateTime *arg1 = (wxDateTime *) 0 ;
18733 wxDateTime *arg2 = 0 ;
18734 bool result;
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj1 = 0 ;
18737
18738 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18741 if (arg2 == NULL) {
18742 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18743 }
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = PyInt_FromLong((long)result);
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18759 PyObject *resultobj;
18760 wxDateTime *arg1 = (wxDateTime *) 0 ;
18761 wxDateTime *arg2 = 0 ;
18762 bool result;
18763 PyObject * obj0 = 0 ;
18764 PyObject * obj1 = 0 ;
18765
18766 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18769 if (arg2 == NULL) {
18770 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18771 }
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 resultobj = PyInt_FromLong((long)result);
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxDateTime *arg1 = (wxDateTime *) 0 ;
18789 wxString *arg2 = 0 ;
18790 int result;
18791 bool temp2 = False ;
18792 PyObject * obj0 = 0 ;
18793 PyObject * obj1 = 0 ;
18794 char *kwnames[] = {
18795 (char *) "self",(char *) "date", NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18800 {
18801 arg2 = wxString_in_helper(obj1);
18802 if (arg2 == NULL) SWIG_fail;
18803 temp2 = True;
18804 }
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18808
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 resultobj = PyInt_FromLong((long)result);
18813 {
18814 if (temp2)
18815 delete arg2;
18816 }
18817 return resultobj;
18818 fail:
18819 {
18820 if (temp2)
18821 delete arg2;
18822 }
18823 return NULL;
18824 }
18825
18826
18827 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18828 PyObject *resultobj;
18829 wxDateTime *arg1 = (wxDateTime *) 0 ;
18830 wxString *arg2 = 0 ;
18831 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18832 wxString *arg3 = (wxString *) &arg3_defvalue ;
18833 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18834 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18835 int result;
18836 bool temp2 = False ;
18837 bool temp3 = False ;
18838 PyObject * obj0 = 0 ;
18839 PyObject * obj1 = 0 ;
18840 PyObject * obj2 = 0 ;
18841 PyObject * obj3 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18848 {
18849 arg2 = wxString_in_helper(obj1);
18850 if (arg2 == NULL) SWIG_fail;
18851 temp2 = True;
18852 }
18853 if (obj2) {
18854 {
18855 arg3 = wxString_in_helper(obj2);
18856 if (arg3 == NULL) SWIG_fail;
18857 temp3 = True;
18858 }
18859 }
18860 if (obj3) {
18861 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18862 if (arg4 == NULL) {
18863 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18864 }
18865 }
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18869
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 resultobj = PyInt_FromLong((long)result);
18874 {
18875 if (temp2)
18876 delete arg2;
18877 }
18878 {
18879 if (temp3)
18880 delete arg3;
18881 }
18882 return resultobj;
18883 fail:
18884 {
18885 if (temp2)
18886 delete arg2;
18887 }
18888 {
18889 if (temp3)
18890 delete arg3;
18891 }
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxDateTime *arg1 = (wxDateTime *) 0 ;
18899 wxString *arg2 = 0 ;
18900 int result;
18901 bool temp2 = False ;
18902 PyObject * obj0 = 0 ;
18903 PyObject * obj1 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self",(char *) "datetime", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18910 {
18911 arg2 = wxString_in_helper(obj1);
18912 if (arg2 == NULL) SWIG_fail;
18913 temp2 = True;
18914 }
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 resultobj = PyInt_FromLong((long)result);
18923 {
18924 if (temp2)
18925 delete arg2;
18926 }
18927 return resultobj;
18928 fail:
18929 {
18930 if (temp2)
18931 delete arg2;
18932 }
18933 return NULL;
18934 }
18935
18936
18937 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18938 PyObject *resultobj;
18939 wxDateTime *arg1 = (wxDateTime *) 0 ;
18940 wxString *arg2 = 0 ;
18941 int result;
18942 bool temp2 = False ;
18943 PyObject * obj0 = 0 ;
18944 PyObject * obj1 = 0 ;
18945 char *kwnames[] = {
18946 (char *) "self",(char *) "date", NULL
18947 };
18948
18949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18951 {
18952 arg2 = wxString_in_helper(obj1);
18953 if (arg2 == NULL) SWIG_fail;
18954 temp2 = True;
18955 }
18956 {
18957 PyThreadState* __tstate = wxPyBeginAllowThreads();
18958 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18959
18960 wxPyEndAllowThreads(__tstate);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 }
18963 resultobj = PyInt_FromLong((long)result);
18964 {
18965 if (temp2)
18966 delete arg2;
18967 }
18968 return resultobj;
18969 fail:
18970 {
18971 if (temp2)
18972 delete arg2;
18973 }
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxDateTime *arg1 = (wxDateTime *) 0 ;
18981 wxString *arg2 = 0 ;
18982 int result;
18983 bool temp2 = False ;
18984 PyObject * obj0 = 0 ;
18985 PyObject * obj1 = 0 ;
18986 char *kwnames[] = {
18987 (char *) "self",(char *) "time", NULL
18988 };
18989
18990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18992 {
18993 arg2 = wxString_in_helper(obj1);
18994 if (arg2 == NULL) SWIG_fail;
18995 temp2 = True;
18996 }
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 resultobj = PyInt_FromLong((long)result);
19005 {
19006 if (temp2)
19007 delete arg2;
19008 }
19009 return resultobj;
19010 fail:
19011 {
19012 if (temp2)
19013 delete arg2;
19014 }
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxDateTime *arg1 = (wxDateTime *) 0 ;
19022 wxString const &arg2_defvalue = wxPyDateFormatStr ;
19023 wxString *arg2 = (wxString *) &arg2_defvalue ;
19024 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19025 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19026 wxString result;
19027 bool temp2 = False ;
19028 bool temp3 = False ;
19029 PyObject * obj0 = 0 ;
19030 PyObject * obj1 = 0 ;
19031 PyObject * obj2 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self",(char *) "format",(char *) "tz", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
19037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19038 if (obj1) {
19039 {
19040 arg2 = wxString_in_helper(obj1);
19041 if (arg2 == NULL) SWIG_fail;
19042 temp2 = True;
19043 }
19044 }
19045 if (obj2) {
19046 {
19047 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19048 temp3 = True;
19049 }
19050 }
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 {
19059 #if wxUSE_UNICODE
19060 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19061 #else
19062 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19063 #endif
19064 }
19065 {
19066 if (temp2)
19067 delete arg2;
19068 }
19069 {
19070 if (temp3) delete arg3;
19071 }
19072 return resultobj;
19073 fail:
19074 {
19075 if (temp2)
19076 delete arg2;
19077 }
19078 {
19079 if (temp3) delete arg3;
19080 }
19081 return NULL;
19082 }
19083
19084
19085 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19086 PyObject *resultobj;
19087 wxDateTime *arg1 = (wxDateTime *) 0 ;
19088 wxString result;
19089 PyObject * obj0 = 0 ;
19090 char *kwnames[] = {
19091 (char *) "self", NULL
19092 };
19093
19094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
19095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19096 {
19097 PyThreadState* __tstate = wxPyBeginAllowThreads();
19098 result = ((wxDateTime const *)arg1)->FormatDate();
19099
19100 wxPyEndAllowThreads(__tstate);
19101 if (PyErr_Occurred()) SWIG_fail;
19102 }
19103 {
19104 #if wxUSE_UNICODE
19105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19106 #else
19107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19108 #endif
19109 }
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxDateTime *arg1 = (wxDateTime *) 0 ;
19119 wxString result;
19120 PyObject * obj0 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
19126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 result = ((wxDateTime const *)arg1)->FormatTime();
19130
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
19134 {
19135 #if wxUSE_UNICODE
19136 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19137 #else
19138 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19139 #endif
19140 }
19141 return resultobj;
19142 fail:
19143 return NULL;
19144 }
19145
19146
19147 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj;
19149 wxDateTime *arg1 = (wxDateTime *) 0 ;
19150 wxString result;
19151 PyObject * obj0 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 result = ((wxDateTime const *)arg1)->FormatISODate();
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 {
19166 #if wxUSE_UNICODE
19167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19168 #else
19169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19170 #endif
19171 }
19172 return resultobj;
19173 fail:
19174 return NULL;
19175 }
19176
19177
19178 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj;
19180 wxDateTime *arg1 = (wxDateTime *) 0 ;
19181 wxString result;
19182 PyObject * obj0 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 result = ((wxDateTime const *)arg1)->FormatISOTime();
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 {
19197 #if wxUSE_UNICODE
19198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19199 #else
19200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19201 #endif
19202 }
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19210 PyObject *obj;
19211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19212 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19213 Py_INCREF(obj);
19214 return Py_BuildValue((char *)"");
19215 }
19216 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 long arg1 ;
19219 wxTimeSpan result;
19220 char *kwnames[] = {
19221 (char *) "sec", NULL
19222 };
19223
19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 result = wxTimeSpan::Seconds(arg1);
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 {
19233 wxTimeSpan * resultptr;
19234 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19235 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19236 }
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxTimeSpan result;
19246 char *kwnames[] = {
19247 NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = wxTimeSpan::Second();
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 {
19259 wxTimeSpan * resultptr;
19260 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19261 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19262 }
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 long arg1 ;
19272 wxTimeSpan result;
19273 char *kwnames[] = {
19274 (char *) "min", NULL
19275 };
19276
19277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 result = wxTimeSpan::Minutes(arg1);
19281
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 {
19286 wxTimeSpan * resultptr;
19287 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19288 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19289 }
19290 return resultobj;
19291 fail:
19292 return NULL;
19293 }
19294
19295
19296 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj;
19298 wxTimeSpan result;
19299 char *kwnames[] = {
19300 NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = wxTimeSpan::Minute();
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 {
19312 wxTimeSpan * resultptr;
19313 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19314 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19315 }
19316 return resultobj;
19317 fail:
19318 return NULL;
19319 }
19320
19321
19322 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19323 PyObject *resultobj;
19324 long arg1 ;
19325 wxTimeSpan result;
19326 char *kwnames[] = {
19327 (char *) "hours", NULL
19328 };
19329
19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 result = wxTimeSpan::Hours(arg1);
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 {
19339 wxTimeSpan * resultptr;
19340 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19342 }
19343 return resultobj;
19344 fail:
19345 return NULL;
19346 }
19347
19348
19349 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19350 PyObject *resultobj;
19351 wxTimeSpan result;
19352 char *kwnames[] = {
19353 NULL
19354 };
19355
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19357 {
19358 PyThreadState* __tstate = wxPyBeginAllowThreads();
19359 result = wxTimeSpan::Hour();
19360
19361 wxPyEndAllowThreads(__tstate);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 }
19364 {
19365 wxTimeSpan * resultptr;
19366 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19368 }
19369 return resultobj;
19370 fail:
19371 return NULL;
19372 }
19373
19374
19375 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19376 PyObject *resultobj;
19377 long arg1 ;
19378 wxTimeSpan result;
19379 char *kwnames[] = {
19380 (char *) "days", NULL
19381 };
19382
19383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19384 {
19385 PyThreadState* __tstate = wxPyBeginAllowThreads();
19386 result = wxTimeSpan::Days(arg1);
19387
19388 wxPyEndAllowThreads(__tstate);
19389 if (PyErr_Occurred()) SWIG_fail;
19390 }
19391 {
19392 wxTimeSpan * resultptr;
19393 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19394 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19395 }
19396 return resultobj;
19397 fail:
19398 return NULL;
19399 }
19400
19401
19402 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19403 PyObject *resultobj;
19404 wxTimeSpan result;
19405 char *kwnames[] = {
19406 NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = wxTimeSpan::Day();
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 {
19418 wxTimeSpan * resultptr;
19419 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19420 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19421 }
19422 return resultobj;
19423 fail:
19424 return NULL;
19425 }
19426
19427
19428 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj;
19430 long arg1 ;
19431 wxTimeSpan result;
19432 char *kwnames[] = {
19433 (char *) "days", NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 result = wxTimeSpan::Weeks(arg1);
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 {
19445 wxTimeSpan * resultptr;
19446 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19447 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19448 }
19449 return resultobj;
19450 fail:
19451 return NULL;
19452 }
19453
19454
19455 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj;
19457 wxTimeSpan result;
19458 char *kwnames[] = {
19459 NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19463 {
19464 PyThreadState* __tstate = wxPyBeginAllowThreads();
19465 result = wxTimeSpan::Week();
19466
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 {
19471 wxTimeSpan * resultptr;
19472 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19473 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19474 }
19475 return resultobj;
19476 fail:
19477 return NULL;
19478 }
19479
19480
19481 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19482 PyObject *resultobj;
19483 long arg1 = (long) 0 ;
19484 long arg2 = (long) 0 ;
19485 long arg3 = (long) 0 ;
19486 long arg4 = (long) 0 ;
19487 wxTimeSpan *result;
19488 char *kwnames[] = {
19489 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19490 };
19491
19492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19501 return resultobj;
19502 fail:
19503 return NULL;
19504 }
19505
19506
19507 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj;
19509 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19510 PyObject * obj0 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self", NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 delete arg1;
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 Py_INCREF(Py_None); resultobj = Py_None;
19525 return resultobj;
19526 fail:
19527 return NULL;
19528 }
19529
19530
19531 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19534 wxTimeSpan *arg2 = 0 ;
19535 wxTimeSpan *result;
19536 PyObject * obj0 = 0 ;
19537 PyObject * obj1 = 0 ;
19538 char *kwnames[] = {
19539 (char *) "self",(char *) "diff", NULL
19540 };
19541
19542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19545 if (arg2 == NULL) {
19546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19547 }
19548 {
19549 PyThreadState* __tstate = wxPyBeginAllowThreads();
19550 {
19551 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19552 result = (wxTimeSpan *) &_result_ref;
19553 }
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19568 wxTimeSpan *arg2 = 0 ;
19569 wxTimeSpan *result;
19570 PyObject * obj0 = 0 ;
19571 PyObject * obj1 = 0 ;
19572 char *kwnames[] = {
19573 (char *) "self",(char *) "diff", NULL
19574 };
19575
19576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19579 if (arg2 == NULL) {
19580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19581 }
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 {
19585 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19586 result = (wxTimeSpan *) &_result_ref;
19587 }
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19593 return resultobj;
19594 fail:
19595 return NULL;
19596 }
19597
19598
19599 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19600 PyObject *resultobj;
19601 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19602 int arg2 ;
19603 wxTimeSpan *result;
19604 PyObject * obj0 = 0 ;
19605 char *kwnames[] = {
19606 (char *) "self",(char *) "n", NULL
19607 };
19608
19609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 {
19614 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19615 result = (wxTimeSpan *) &_result_ref;
19616 }
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19622 return resultobj;
19623 fail:
19624 return NULL;
19625 }
19626
19627
19628 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19629 PyObject *resultobj;
19630 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19631 wxTimeSpan *result;
19632 PyObject * obj0 = 0 ;
19633 char *kwnames[] = {
19634 (char *) "self", NULL
19635 };
19636
19637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 {
19642 wxTimeSpan &_result_ref = (arg1)->Neg();
19643 result = (wxTimeSpan *) &_result_ref;
19644 }
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19650 return resultobj;
19651 fail:
19652 return NULL;
19653 }
19654
19655
19656 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19657 PyObject *resultobj;
19658 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19659 wxTimeSpan result;
19660 PyObject * obj0 = 0 ;
19661 char *kwnames[] = {
19662 (char *) "self", NULL
19663 };
19664
19665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19667 {
19668 PyThreadState* __tstate = wxPyBeginAllowThreads();
19669 result = ((wxTimeSpan const *)arg1)->Abs();
19670
19671 wxPyEndAllowThreads(__tstate);
19672 if (PyErr_Occurred()) SWIG_fail;
19673 }
19674 {
19675 wxTimeSpan * resultptr;
19676 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19677 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19678 }
19679 return resultobj;
19680 fail:
19681 return NULL;
19682 }
19683
19684
19685 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj;
19687 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19688 wxTimeSpan *arg2 = 0 ;
19689 wxTimeSpan *result;
19690 PyObject * obj0 = 0 ;
19691 PyObject * obj1 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "diff", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19699 if (arg2 == NULL) {
19700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19701 }
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 {
19705 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19706 result = (wxTimeSpan *) &_result_ref;
19707 }
19708
19709 wxPyEndAllowThreads(__tstate);
19710 if (PyErr_Occurred()) SWIG_fail;
19711 }
19712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19713 return resultobj;
19714 fail:
19715 return NULL;
19716 }
19717
19718
19719 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19722 wxTimeSpan *arg2 = 0 ;
19723 wxTimeSpan *result;
19724 PyObject * obj0 = 0 ;
19725 PyObject * obj1 = 0 ;
19726 char *kwnames[] = {
19727 (char *) "self",(char *) "diff", NULL
19728 };
19729
19730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19733 if (arg2 == NULL) {
19734 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19735 }
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 {
19739 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19740 result = (wxTimeSpan *) &_result_ref;
19741 }
19742
19743 wxPyEndAllowThreads(__tstate);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 }
19746 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19747 return resultobj;
19748 fail:
19749 return NULL;
19750 }
19751
19752
19753 static PyObject *_wrap_TimeSpan___imul__(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___imul__",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 {
19768 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19769 result = (wxTimeSpan *) &_result_ref;
19770 }
19771
19772 wxPyEndAllowThreads(__tstate);
19773 if (PyErr_Occurred()) SWIG_fail;
19774 }
19775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19776 return resultobj;
19777 fail:
19778 return NULL;
19779 }
19780
19781
19782 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19783 PyObject *resultobj;
19784 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19785 wxTimeSpan *result;
19786 PyObject * obj0 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self", NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 {
19796 wxTimeSpan &_result_ref = (arg1)->operator -();
19797 result = (wxTimeSpan *) &_result_ref;
19798 }
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19804 return resultobj;
19805 fail:
19806 return NULL;
19807 }
19808
19809
19810 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj;
19812 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19813 wxTimeSpan *arg2 = 0 ;
19814 wxTimeSpan result;
19815 PyObject * obj0 = 0 ;
19816 PyObject * obj1 = 0 ;
19817 char *kwnames[] = {
19818 (char *) "self",(char *) "other", NULL
19819 };
19820
19821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19824 if (arg2 == NULL) {
19825 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19826 }
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 {
19835 wxTimeSpan * resultptr;
19836 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19837 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19838 }
19839 return resultobj;
19840 fail:
19841 return NULL;
19842 }
19843
19844
19845 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19846 PyObject *resultobj;
19847 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19848 wxTimeSpan *arg2 = 0 ;
19849 wxTimeSpan result;
19850 PyObject * obj0 = 0 ;
19851 PyObject * obj1 = 0 ;
19852 char *kwnames[] = {
19853 (char *) "self",(char *) "other", NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19859 if (arg2 == NULL) {
19860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19861 }
19862 {
19863 PyThreadState* __tstate = wxPyBeginAllowThreads();
19864 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19865
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 {
19870 wxTimeSpan * resultptr;
19871 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19872 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19873 }
19874 return resultobj;
19875 fail:
19876 return NULL;
19877 }
19878
19879
19880 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19881 PyObject *resultobj;
19882 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19883 int arg2 ;
19884 wxTimeSpan result;
19885 PyObject * obj0 = 0 ;
19886 char *kwnames[] = {
19887 (char *) "self",(char *) "n", NULL
19888 };
19889
19890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 result = wxTimeSpan___mul__(arg1,arg2);
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 {
19900 wxTimeSpan * resultptr;
19901 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19902 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19903 }
19904 return resultobj;
19905 fail:
19906 return NULL;
19907 }
19908
19909
19910 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj;
19912 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19913 int arg2 ;
19914 wxTimeSpan result;
19915 PyObject * obj0 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self",(char *) "n", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = wxTimeSpan___rmul__(arg1,arg2);
19925
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 {
19930 wxTimeSpan * resultptr;
19931 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19932 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19933 }
19934 return resultobj;
19935 fail:
19936 return NULL;
19937 }
19938
19939
19940 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj;
19942 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19943 wxTimeSpan *arg2 = 0 ;
19944 bool result;
19945 PyObject * obj0 = 0 ;
19946 PyObject * obj1 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self",(char *) "other", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19954 if (arg2 == NULL) {
19955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19956 }
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19960
19961 wxPyEndAllowThreads(__tstate);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 }
19964 resultobj = PyInt_FromLong((long)result);
19965 return resultobj;
19966 fail:
19967 return NULL;
19968 }
19969
19970
19971 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19972 PyObject *resultobj;
19973 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19974 wxTimeSpan *arg2 = 0 ;
19975 bool result;
19976 PyObject * obj0 = 0 ;
19977 PyObject * obj1 = 0 ;
19978 char *kwnames[] = {
19979 (char *) "self",(char *) "other", NULL
19980 };
19981
19982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19985 if (arg2 == NULL) {
19986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19987 }
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19991
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 resultobj = PyInt_FromLong((long)result);
19996 return resultobj;
19997 fail:
19998 return NULL;
19999 }
20000
20001
20002 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj;
20004 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20005 wxTimeSpan *arg2 = 0 ;
20006 bool result;
20007 PyObject * obj0 = 0 ;
20008 PyObject * obj1 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self",(char *) "other", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
20014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20016 if (arg2 == NULL) {
20017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20018 }
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 resultobj = PyInt_FromLong((long)result);
20027 return resultobj;
20028 fail:
20029 return NULL;
20030 }
20031
20032
20033 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20036 wxTimeSpan *arg2 = 0 ;
20037 bool result;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self",(char *) "other", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20047 if (arg2 == NULL) {
20048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20049 }
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 resultobj = PyInt_FromLong((long)result);
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20067 wxTimeSpan *arg2 = 0 ;
20068 bool result;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self",(char *) "other", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20078 if (arg2 == NULL) {
20079 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20080 }
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 resultobj = PyInt_FromLong((long)result);
20089 return resultobj;
20090 fail:
20091 return NULL;
20092 }
20093
20094
20095 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20096 PyObject *resultobj;
20097 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20098 wxTimeSpan *arg2 = 0 ;
20099 bool result;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "other", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20109 if (arg2 == NULL) {
20110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20111 }
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 resultobj = PyInt_FromLong((long)result);
20120 return resultobj;
20121 fail:
20122 return NULL;
20123 }
20124
20125
20126 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
20127 PyObject *resultobj;
20128 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20129 bool result;
20130 PyObject * obj0 = 0 ;
20131 char *kwnames[] = {
20132 (char *) "self", NULL
20133 };
20134
20135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
20136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 resultobj = PyInt_FromLong((long)result);
20145 return resultobj;
20146 fail:
20147 return NULL;
20148 }
20149
20150
20151 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20154 bool result;
20155 PyObject * obj0 = 0 ;
20156 char *kwnames[] = {
20157 (char *) "self", NULL
20158 };
20159
20160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 resultobj = PyInt_FromLong((long)result);
20170 return resultobj;
20171 fail:
20172 return NULL;
20173 }
20174
20175
20176 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20179 bool result;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 resultobj = PyInt_FromLong((long)result);
20195 return resultobj;
20196 fail:
20197 return NULL;
20198 }
20199
20200
20201 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20202 PyObject *resultobj;
20203 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20204 wxTimeSpan *arg2 = 0 ;
20205 bool result;
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "ts", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20215 if (arg2 == NULL) {
20216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20217 }
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 resultobj = PyInt_FromLong((long)result);
20226 return resultobj;
20227 fail:
20228 return NULL;
20229 }
20230
20231
20232 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20235 wxTimeSpan *arg2 = 0 ;
20236 bool result;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "ts", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20246 if (arg2 == NULL) {
20247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20248 }
20249 {
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20252
20253 wxPyEndAllowThreads(__tstate);
20254 if (PyErr_Occurred()) SWIG_fail;
20255 }
20256 resultobj = PyInt_FromLong((long)result);
20257 return resultobj;
20258 fail:
20259 return NULL;
20260 }
20261
20262
20263 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj;
20265 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20266 wxTimeSpan *arg2 = 0 ;
20267 bool result;
20268 PyObject * obj0 = 0 ;
20269 PyObject * obj1 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self",(char *) "t", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20277 if (arg2 == NULL) {
20278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20279 }
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 resultobj = PyInt_FromLong((long)result);
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20297 int result;
20298 PyObject * obj0 = 0 ;
20299 char *kwnames[] = {
20300 (char *) "self", NULL
20301 };
20302
20303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20305 {
20306 PyThreadState* __tstate = wxPyBeginAllowThreads();
20307 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20308
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 resultobj = PyInt_FromLong((long)result);
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj;
20321 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20322 int result;
20323 PyObject * obj0 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 resultobj = PyInt_FromLong((long)result);
20338 return resultobj;
20339 fail:
20340 return NULL;
20341 }
20342
20343
20344 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj;
20346 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20347 int result;
20348 PyObject * obj0 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20355 {
20356 PyThreadState* __tstate = wxPyBeginAllowThreads();
20357 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20358
20359 wxPyEndAllowThreads(__tstate);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
20362 resultobj = PyInt_FromLong((long)result);
20363 return resultobj;
20364 fail:
20365 return NULL;
20366 }
20367
20368
20369 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20370 PyObject *resultobj;
20371 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20372 int result;
20373 PyObject * obj0 = 0 ;
20374 char *kwnames[] = {
20375 (char *) "self", NULL
20376 };
20377
20378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 resultobj = PyInt_FromLong((long)result);
20388 return resultobj;
20389 fail:
20390 return NULL;
20391 }
20392
20393
20394 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20397 wxLongLong result;
20398 PyObject * obj0 = 0 ;
20399 char *kwnames[] = {
20400 (char *) "self", NULL
20401 };
20402
20403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20405 {
20406 PyThreadState* __tstate = wxPyBeginAllowThreads();
20407 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20408
20409 wxPyEndAllowThreads(__tstate);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 }
20412 {
20413 PyObject *hi, *lo, *shifter, *shifted;
20414 hi = PyLong_FromLong( (&result)->GetHi() );
20415 lo = PyLong_FromLong( (&result)->GetLo() );
20416 shifter = PyLong_FromLong(32);
20417 shifted = PyNumber_Lshift(hi, shifter);
20418 resultobj = PyNumber_Or(shifted, lo);
20419 Py_DECREF(hi);
20420 Py_DECREF(lo);
20421 Py_DECREF(shifter);
20422 Py_DECREF(shifted);
20423 }
20424 return resultobj;
20425 fail:
20426 return NULL;
20427 }
20428
20429
20430 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20431 PyObject *resultobj;
20432 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20433 wxLongLong result;
20434 PyObject * obj0 = 0 ;
20435 char *kwnames[] = {
20436 (char *) "self", NULL
20437 };
20438
20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 {
20449 PyObject *hi, *lo, *shifter, *shifted;
20450 hi = PyLong_FromLong( (&result)->GetHi() );
20451 lo = PyLong_FromLong( (&result)->GetLo() );
20452 shifter = PyLong_FromLong(32);
20453 shifted = PyNumber_Lshift(hi, shifter);
20454 resultobj = PyNumber_Or(shifted, lo);
20455 Py_DECREF(hi);
20456 Py_DECREF(lo);
20457 Py_DECREF(shifter);
20458 Py_DECREF(shifted);
20459 }
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20467 PyObject *resultobj;
20468 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20469 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20470 wxString *arg2 = (wxString *) &arg2_defvalue ;
20471 wxString result;
20472 bool temp2 = False ;
20473 PyObject * obj0 = 0 ;
20474 PyObject * obj1 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "self",(char *) "format", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20481 if (obj1) {
20482 {
20483 arg2 = wxString_in_helper(obj1);
20484 if (arg2 == NULL) SWIG_fail;
20485 temp2 = True;
20486 }
20487 }
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 {
20496 #if wxUSE_UNICODE
20497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20498 #else
20499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20500 #endif
20501 }
20502 {
20503 if (temp2)
20504 delete arg2;
20505 }
20506 return resultobj;
20507 fail:
20508 {
20509 if (temp2)
20510 delete arg2;
20511 }
20512 return NULL;
20513 }
20514
20515
20516 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20517 PyObject *obj;
20518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20519 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20520 Py_INCREF(obj);
20521 return Py_BuildValue((char *)"");
20522 }
20523 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 int arg1 = (int) 0 ;
20526 int arg2 = (int) 0 ;
20527 int arg3 = (int) 0 ;
20528 int arg4 = (int) 0 ;
20529 wxDateSpan *result;
20530 char *kwnames[] = {
20531 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20543 return resultobj;
20544 fail:
20545 return NULL;
20546 }
20547
20548
20549 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20550 PyObject *resultobj;
20551 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20552 PyObject * obj0 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 delete arg1;
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 Py_INCREF(Py_None); resultobj = Py_None;
20567 return resultobj;
20568 fail:
20569 return NULL;
20570 }
20571
20572
20573 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj;
20575 int arg1 ;
20576 wxDateSpan result;
20577 char *kwnames[] = {
20578 (char *) "days", NULL
20579 };
20580
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = wxDateSpan::Days(arg1);
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 {
20590 wxDateSpan * resultptr;
20591 resultptr = new wxDateSpan((wxDateSpan &) result);
20592 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20593 }
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxDateSpan result;
20603 char *kwnames[] = {
20604 NULL
20605 };
20606
20607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 result = wxDateSpan::Day();
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 {
20616 wxDateSpan * resultptr;
20617 resultptr = new wxDateSpan((wxDateSpan &) result);
20618 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20619 }
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 int arg1 ;
20629 wxDateSpan result;
20630 char *kwnames[] = {
20631 (char *) "weeks", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 result = wxDateSpan::Weeks(arg1);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 {
20643 wxDateSpan * resultptr;
20644 resultptr = new wxDateSpan((wxDateSpan &) result);
20645 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20646 }
20647 return resultobj;
20648 fail:
20649 return NULL;
20650 }
20651
20652
20653 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20654 PyObject *resultobj;
20655 wxDateSpan result;
20656 char *kwnames[] = {
20657 NULL
20658 };
20659
20660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = wxDateSpan::Week();
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 {
20669 wxDateSpan * resultptr;
20670 resultptr = new wxDateSpan((wxDateSpan &) result);
20671 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20672 }
20673 return resultobj;
20674 fail:
20675 return NULL;
20676 }
20677
20678
20679 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20680 PyObject *resultobj;
20681 int arg1 ;
20682 wxDateSpan result;
20683 char *kwnames[] = {
20684 (char *) "mon", NULL
20685 };
20686
20687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20688 {
20689 PyThreadState* __tstate = wxPyBeginAllowThreads();
20690 result = wxDateSpan::Months(arg1);
20691
20692 wxPyEndAllowThreads(__tstate);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 {
20696 wxDateSpan * resultptr;
20697 resultptr = new wxDateSpan((wxDateSpan &) result);
20698 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20699 }
20700 return resultobj;
20701 fail:
20702 return NULL;
20703 }
20704
20705
20706 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20707 PyObject *resultobj;
20708 wxDateSpan result;
20709 char *kwnames[] = {
20710 NULL
20711 };
20712
20713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 result = wxDateSpan::Month();
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 {
20722 wxDateSpan * resultptr;
20723 resultptr = new wxDateSpan((wxDateSpan &) result);
20724 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20725 }
20726 return resultobj;
20727 fail:
20728 return NULL;
20729 }
20730
20731
20732 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj;
20734 int arg1 ;
20735 wxDateSpan result;
20736 char *kwnames[] = {
20737 (char *) "years", NULL
20738 };
20739
20740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 result = wxDateSpan::Years(arg1);
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 {
20749 wxDateSpan * resultptr;
20750 resultptr = new wxDateSpan((wxDateSpan &) result);
20751 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20752 }
20753 return resultobj;
20754 fail:
20755 return NULL;
20756 }
20757
20758
20759 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20760 PyObject *resultobj;
20761 wxDateSpan result;
20762 char *kwnames[] = {
20763 NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 result = wxDateSpan::Year();
20770
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 {
20775 wxDateSpan * resultptr;
20776 resultptr = new wxDateSpan((wxDateSpan &) result);
20777 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20778 }
20779 return resultobj;
20780 fail:
20781 return NULL;
20782 }
20783
20784
20785 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20788 int arg2 ;
20789 wxDateSpan *result;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self",(char *) "n", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 {
20800 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20801 result = (wxDateSpan *) &_result_ref;
20802 }
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20808 return resultobj;
20809 fail:
20810 return NULL;
20811 }
20812
20813
20814 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20817 int arg2 ;
20818 wxDateSpan *result;
20819 PyObject * obj0 = 0 ;
20820 char *kwnames[] = {
20821 (char *) "self",(char *) "n", NULL
20822 };
20823
20824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 {
20829 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20830 result = (wxDateSpan *) &_result_ref;
20831 }
20832
20833 wxPyEndAllowThreads(__tstate);
20834 if (PyErr_Occurred()) SWIG_fail;
20835 }
20836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20837 return resultobj;
20838 fail:
20839 return NULL;
20840 }
20841
20842
20843 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20844 PyObject *resultobj;
20845 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20846 int arg2 ;
20847 wxDateSpan *result;
20848 PyObject * obj0 = 0 ;
20849 char *kwnames[] = {
20850 (char *) "self",(char *) "n", NULL
20851 };
20852
20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 {
20858 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20859 result = (wxDateSpan *) &_result_ref;
20860 }
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20875 int arg2 ;
20876 wxDateSpan *result;
20877 PyObject * obj0 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self",(char *) "n", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20884 {
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 {
20887 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20888 result = (wxDateSpan *) &_result_ref;
20889 }
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20895 return resultobj;
20896 fail:
20897 return NULL;
20898 }
20899
20900
20901 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20902 PyObject *resultobj;
20903 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20904 int result;
20905 PyObject * obj0 = 0 ;
20906 char *kwnames[] = {
20907 (char *) "self", NULL
20908 };
20909
20910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20912 {
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 result = (int)((wxDateSpan const *)arg1)->GetYears();
20915
20916 wxPyEndAllowThreads(__tstate);
20917 if (PyErr_Occurred()) SWIG_fail;
20918 }
20919 resultobj = PyInt_FromLong((long)result);
20920 return resultobj;
20921 fail:
20922 return NULL;
20923 }
20924
20925
20926 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj;
20928 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20929 int result;
20930 PyObject * obj0 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 resultobj = PyInt_FromLong((long)result);
20945 return resultobj;
20946 fail:
20947 return NULL;
20948 }
20949
20950
20951 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20952 PyObject *resultobj;
20953 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20954 int result;
20955 PyObject * obj0 = 0 ;
20956 char *kwnames[] = {
20957 (char *) "self", NULL
20958 };
20959
20960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20962 {
20963 PyThreadState* __tstate = wxPyBeginAllowThreads();
20964 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20965
20966 wxPyEndAllowThreads(__tstate);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 }
20969 resultobj = PyInt_FromLong((long)result);
20970 return resultobj;
20971 fail:
20972 return NULL;
20973 }
20974
20975
20976 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20977 PyObject *resultobj;
20978 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20979 int result;
20980 PyObject * obj0 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20987 {
20988 PyThreadState* __tstate = wxPyBeginAllowThreads();
20989 result = (int)((wxDateSpan const *)arg1)->GetDays();
20990
20991 wxPyEndAllowThreads(__tstate);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 }
20994 resultobj = PyInt_FromLong((long)result);
20995 return resultobj;
20996 fail:
20997 return NULL;
20998 }
20999
21000
21001 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
21002 PyObject *resultobj;
21003 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21004 int result;
21005 PyObject * obj0 = 0 ;
21006 char *kwnames[] = {
21007 (char *) "self", NULL
21008 };
21009
21010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
21011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
21015
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 resultobj = PyInt_FromLong((long)result);
21020 return resultobj;
21021 fail:
21022 return NULL;
21023 }
21024
21025
21026 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21029 wxDateSpan *arg2 = 0 ;
21030 wxDateSpan *result;
21031 PyObject * obj0 = 0 ;
21032 PyObject * obj1 = 0 ;
21033 char *kwnames[] = {
21034 (char *) "self",(char *) "other", NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21040 if (arg2 == NULL) {
21041 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21042 }
21043 {
21044 PyThreadState* __tstate = wxPyBeginAllowThreads();
21045 {
21046 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
21047 result = (wxDateSpan *) &_result_ref;
21048 }
21049
21050 wxPyEndAllowThreads(__tstate);
21051 if (PyErr_Occurred()) SWIG_fail;
21052 }
21053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21054 return resultobj;
21055 fail:
21056 return NULL;
21057 }
21058
21059
21060 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21061 PyObject *resultobj;
21062 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21063 wxDateSpan *arg2 = 0 ;
21064 wxDateSpan *result;
21065 PyObject * obj0 = 0 ;
21066 PyObject * obj1 = 0 ;
21067 char *kwnames[] = {
21068 (char *) "self",(char *) "other", NULL
21069 };
21070
21071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21074 if (arg2 == NULL) {
21075 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21076 }
21077 {
21078 PyThreadState* __tstate = wxPyBeginAllowThreads();
21079 {
21080 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
21081 result = (wxDateSpan *) &_result_ref;
21082 }
21083
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21088 return resultobj;
21089 fail:
21090 return NULL;
21091 }
21092
21093
21094 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21097 wxDateSpan *result;
21098 PyObject * obj0 = 0 ;
21099 char *kwnames[] = {
21100 (char *) "self", NULL
21101 };
21102
21103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
21104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21105 {
21106 PyThreadState* __tstate = wxPyBeginAllowThreads();
21107 {
21108 wxDateSpan &_result_ref = (arg1)->Neg();
21109 result = (wxDateSpan *) &_result_ref;
21110 }
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21116 return resultobj;
21117 fail:
21118 return NULL;
21119 }
21120
21121
21122 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21123 PyObject *resultobj;
21124 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21125 int arg2 ;
21126 wxDateSpan *result;
21127 PyObject * obj0 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "self",(char *) "factor", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
21133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21134 {
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 {
21137 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21138 result = (wxDateSpan *) &_result_ref;
21139 }
21140
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21154 wxDateSpan *arg2 = 0 ;
21155 wxDateSpan *result;
21156 PyObject * obj0 = 0 ;
21157 PyObject * obj1 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self",(char *) "other", NULL
21160 };
21161
21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21165 if (arg2 == NULL) {
21166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21167 }
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 {
21171 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21172 result = (wxDateSpan *) &_result_ref;
21173 }
21174
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21179 return resultobj;
21180 fail:
21181 return NULL;
21182 }
21183
21184
21185 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21186 PyObject *resultobj;
21187 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21188 wxDateSpan *arg2 = 0 ;
21189 wxDateSpan *result;
21190 PyObject * obj0 = 0 ;
21191 PyObject * obj1 = 0 ;
21192 char *kwnames[] = {
21193 (char *) "self",(char *) "other", NULL
21194 };
21195
21196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21199 if (arg2 == NULL) {
21200 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21201 }
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 {
21205 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21206 result = (wxDateSpan *) &_result_ref;
21207 }
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21213 return resultobj;
21214 fail:
21215 return NULL;
21216 }
21217
21218
21219 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj;
21221 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21222 wxDateSpan *result;
21223 PyObject * obj0 = 0 ;
21224 char *kwnames[] = {
21225 (char *) "self", NULL
21226 };
21227
21228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21230 {
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 {
21233 wxDateSpan &_result_ref = (arg1)->operator -();
21234 result = (wxDateSpan *) &_result_ref;
21235 }
21236
21237 wxPyEndAllowThreads(__tstate);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21241 return resultobj;
21242 fail:
21243 return NULL;
21244 }
21245
21246
21247 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj;
21249 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21250 int arg2 ;
21251 wxDateSpan *result;
21252 PyObject * obj0 = 0 ;
21253 char *kwnames[] = {
21254 (char *) "self",(char *) "factor", NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 {
21262 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21263 result = (wxDateSpan *) &_result_ref;
21264 }
21265
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21279 wxDateSpan *arg2 = 0 ;
21280 wxDateSpan result;
21281 PyObject * obj0 = 0 ;
21282 PyObject * obj1 = 0 ;
21283 char *kwnames[] = {
21284 (char *) "self",(char *) "other", NULL
21285 };
21286
21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21290 if (arg2 == NULL) {
21291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21292 }
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 {
21301 wxDateSpan * resultptr;
21302 resultptr = new wxDateSpan((wxDateSpan &) result);
21303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21304 }
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21314 wxDateSpan *arg2 = 0 ;
21315 wxDateSpan result;
21316 PyObject * obj0 = 0 ;
21317 PyObject * obj1 = 0 ;
21318 char *kwnames[] = {
21319 (char *) "self",(char *) "other", NULL
21320 };
21321
21322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21325 if (arg2 == NULL) {
21326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21327 }
21328 {
21329 PyThreadState* __tstate = wxPyBeginAllowThreads();
21330 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21331
21332 wxPyEndAllowThreads(__tstate);
21333 if (PyErr_Occurred()) SWIG_fail;
21334 }
21335 {
21336 wxDateSpan * resultptr;
21337 resultptr = new wxDateSpan((wxDateSpan &) result);
21338 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21339 }
21340 return resultobj;
21341 fail:
21342 return NULL;
21343 }
21344
21345
21346 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21347 PyObject *resultobj;
21348 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21349 int arg2 ;
21350 wxDateSpan result;
21351 PyObject * obj0 = 0 ;
21352 char *kwnames[] = {
21353 (char *) "self",(char *) "n", NULL
21354 };
21355
21356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 result = wxDateSpan___mul__(arg1,arg2);
21361
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 {
21366 wxDateSpan * resultptr;
21367 resultptr = new wxDateSpan((wxDateSpan &) result);
21368 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21369 }
21370 return resultobj;
21371 fail:
21372 return NULL;
21373 }
21374
21375
21376 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21377 PyObject *resultobj;
21378 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21379 int arg2 ;
21380 wxDateSpan result;
21381 PyObject * obj0 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "self",(char *) "n", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 result = wxDateSpan___rmul__(arg1,arg2);
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 {
21396 wxDateSpan * resultptr;
21397 resultptr = new wxDateSpan((wxDateSpan &) result);
21398 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21399 }
21400 return resultobj;
21401 fail:
21402 return NULL;
21403 }
21404
21405
21406 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21407 PyObject *resultobj;
21408 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21409 wxDateSpan *arg2 = 0 ;
21410 bool result;
21411 PyObject * obj0 = 0 ;
21412 PyObject * obj1 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "self",(char *) "other", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21420 if (arg2 == NULL) {
21421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21422 }
21423 {
21424 PyThreadState* __tstate = wxPyBeginAllowThreads();
21425 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21426
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 resultobj = PyInt_FromLong((long)result);
21431 return resultobj;
21432 fail:
21433 return NULL;
21434 }
21435
21436
21437 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj;
21439 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21440 wxDateSpan *arg2 = 0 ;
21441 bool result;
21442 PyObject * obj0 = 0 ;
21443 PyObject * obj1 = 0 ;
21444 char *kwnames[] = {
21445 (char *) "self",(char *) "other", NULL
21446 };
21447
21448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21451 if (arg2 == NULL) {
21452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21453 }
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 resultobj = PyInt_FromLong((long)result);
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21469 PyObject *obj;
21470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21471 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21472 Py_INCREF(obj);
21473 return Py_BuildValue((char *)"");
21474 }
21475 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj;
21477 long result;
21478 char *kwnames[] = {
21479 NULL
21480 };
21481
21482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = (long)wxGetLocalTime();
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 resultobj = PyInt_FromLong((long)result);
21491 return resultobj;
21492 fail:
21493 return NULL;
21494 }
21495
21496
21497 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21498 PyObject *resultobj;
21499 long result;
21500 char *kwnames[] = {
21501 NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21505 {
21506 PyThreadState* __tstate = wxPyBeginAllowThreads();
21507 result = (long)wxGetUTCTime();
21508
21509 wxPyEndAllowThreads(__tstate);
21510 if (PyErr_Occurred()) SWIG_fail;
21511 }
21512 resultobj = PyInt_FromLong((long)result);
21513 return resultobj;
21514 fail:
21515 return NULL;
21516 }
21517
21518
21519 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21520 PyObject *resultobj;
21521 long result;
21522 char *kwnames[] = {
21523 NULL
21524 };
21525
21526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = (long)wxGetCurrentTime();
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 resultobj = PyInt_FromLong((long)result);
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxLongLong result;
21544 char *kwnames[] = {
21545 NULL
21546 };
21547
21548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = wxGetLocalTimeMillis();
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 {
21557 PyObject *hi, *lo, *shifter, *shifted;
21558 hi = PyLong_FromLong( (&result)->GetHi() );
21559 lo = PyLong_FromLong( (&result)->GetLo() );
21560 shifter = PyLong_FromLong(32);
21561 shifted = PyNumber_Lshift(hi, shifter);
21562 resultobj = PyNumber_Or(shifted, lo);
21563 Py_DECREF(hi);
21564 Py_DECREF(lo);
21565 Py_DECREF(shifter);
21566 Py_DECREF(shifted);
21567 }
21568 return resultobj;
21569 fail:
21570 return NULL;
21571 }
21572
21573
21574 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21575 PyObject *resultobj;
21576 int arg1 ;
21577 wxDataFormat *result;
21578 char *kwnames[] = {
21579 (char *) "type", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxString *arg1 = 0 ;
21600 wxDataFormat *result;
21601 bool temp1 = False ;
21602 PyObject * obj0 = 0 ;
21603 char *kwnames[] = {
21604 (char *) "format", NULL
21605 };
21606
21607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21608 {
21609 arg1 = wxString_in_helper(obj0);
21610 if (arg1 == NULL) SWIG_fail;
21611 temp1 = True;
21612 }
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21616
21617 wxPyEndAllowThreads(__tstate);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21621 {
21622 if (temp1)
21623 delete arg1;
21624 }
21625 return resultobj;
21626 fail:
21627 {
21628 if (temp1)
21629 delete arg1;
21630 }
21631 return NULL;
21632 }
21633
21634
21635 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj;
21637 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21638 PyObject * obj0 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21645 {
21646 PyThreadState* __tstate = wxPyBeginAllowThreads();
21647 delete arg1;
21648
21649 wxPyEndAllowThreads(__tstate);
21650 if (PyErr_Occurred()) SWIG_fail;
21651 }
21652 Py_INCREF(Py_None); resultobj = Py_None;
21653 return resultobj;
21654 fail:
21655 return NULL;
21656 }
21657
21658
21659 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21660 PyObject *resultobj;
21661 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21662 int arg2 ;
21663 bool result;
21664 PyObject * obj0 = 0 ;
21665
21666 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21668 {
21669 PyThreadState* __tstate = wxPyBeginAllowThreads();
21670 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21671
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 resultobj = PyInt_FromLong((long)result);
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21683 PyObject *resultobj;
21684 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21685 int arg2 ;
21686 bool result;
21687 PyObject * obj0 = 0 ;
21688
21689 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 resultobj = PyInt_FromLong((long)result);
21699 return resultobj;
21700 fail:
21701 return NULL;
21702 }
21703
21704
21705 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21706 PyObject *resultobj;
21707 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21708 wxDataFormat *arg2 = 0 ;
21709 bool result;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712
21713 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21715 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21716 if (arg2 == NULL) {
21717 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21718 }
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 resultobj = PyInt_FromLong((long)result);
21727 return resultobj;
21728 fail:
21729 return NULL;
21730 }
21731
21732
21733 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21734 int argc;
21735 PyObject *argv[3];
21736 int ii;
21737
21738 argc = PyObject_Length(args);
21739 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21740 argv[ii] = PyTuple_GetItem(args,ii);
21741 }
21742 if (argc == 2) {
21743 int _v;
21744 {
21745 void *ptr;
21746 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21747 _v = 0;
21748 PyErr_Clear();
21749 } else {
21750 _v = 1;
21751 }
21752 }
21753 if (_v) {
21754 {
21755 void *ptr;
21756 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21757 _v = 0;
21758 PyErr_Clear();
21759 } else {
21760 _v = 1;
21761 }
21762 }
21763 if (_v) {
21764 return _wrap_DataFormat___eq____SWIG_1(self,args);
21765 }
21766 }
21767 }
21768 if (argc == 2) {
21769 int _v;
21770 {
21771 void *ptr;
21772 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21773 _v = 0;
21774 PyErr_Clear();
21775 } else {
21776 _v = 1;
21777 }
21778 }
21779 if (_v) {
21780 {
21781 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21782 }
21783 if (_v) {
21784 return _wrap_DataFormat___eq____SWIG_0(self,args);
21785 }
21786 }
21787 }
21788
21789 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21790 return NULL;
21791 }
21792
21793
21794 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21795 PyObject *resultobj;
21796 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21797 wxDataFormat *arg2 = 0 ;
21798 bool result;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801
21802 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21805 if (arg2 == NULL) {
21806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21807 }
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21811
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 resultobj = PyInt_FromLong((long)result);
21816 return resultobj;
21817 fail:
21818 return NULL;
21819 }
21820
21821
21822 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21823 int argc;
21824 PyObject *argv[3];
21825 int ii;
21826
21827 argc = PyObject_Length(args);
21828 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21829 argv[ii] = PyTuple_GetItem(args,ii);
21830 }
21831 if (argc == 2) {
21832 int _v;
21833 {
21834 void *ptr;
21835 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21836 _v = 0;
21837 PyErr_Clear();
21838 } else {
21839 _v = 1;
21840 }
21841 }
21842 if (_v) {
21843 {
21844 void *ptr;
21845 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21846 _v = 0;
21847 PyErr_Clear();
21848 } else {
21849 _v = 1;
21850 }
21851 }
21852 if (_v) {
21853 return _wrap_DataFormat___ne____SWIG_1(self,args);
21854 }
21855 }
21856 }
21857 if (argc == 2) {
21858 int _v;
21859 {
21860 void *ptr;
21861 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21862 _v = 0;
21863 PyErr_Clear();
21864 } else {
21865 _v = 1;
21866 }
21867 }
21868 if (_v) {
21869 {
21870 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21871 }
21872 if (_v) {
21873 return _wrap_DataFormat___ne____SWIG_0(self,args);
21874 }
21875 }
21876 }
21877
21878 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21879 return NULL;
21880 }
21881
21882
21883 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj;
21885 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21886 int arg2 ;
21887 PyObject * obj0 = 0 ;
21888 char *kwnames[] = {
21889 (char *) "self",(char *) "format", NULL
21890 };
21891
21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 (arg1)->SetType((wxDataFormatId )arg2);
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 Py_INCREF(Py_None); resultobj = Py_None;
21902 return resultobj;
21903 fail:
21904 return NULL;
21905 }
21906
21907
21908 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21909 PyObject *resultobj;
21910 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21911 int result;
21912 PyObject * obj0 = 0 ;
21913 char *kwnames[] = {
21914 (char *) "self", NULL
21915 };
21916
21917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 result = (int)((wxDataFormat const *)arg1)->GetType();
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 resultobj = PyInt_FromLong((long)result);
21927 return resultobj;
21928 fail:
21929 return NULL;
21930 }
21931
21932
21933 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21934 PyObject *resultobj;
21935 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21936 wxString result;
21937 PyObject * obj0 = 0 ;
21938 char *kwnames[] = {
21939 (char *) "self", NULL
21940 };
21941
21942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 result = ((wxDataFormat const *)arg1)->GetId();
21947
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 {
21952 #if wxUSE_UNICODE
21953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21954 #else
21955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21956 #endif
21957 }
21958 return resultobj;
21959 fail:
21960 return NULL;
21961 }
21962
21963
21964 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj;
21966 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21967 wxString *arg2 = 0 ;
21968 bool temp2 = False ;
21969 PyObject * obj0 = 0 ;
21970 PyObject * obj1 = 0 ;
21971 char *kwnames[] = {
21972 (char *) "self",(char *) "format", NULL
21973 };
21974
21975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21977 {
21978 arg2 = wxString_in_helper(obj1);
21979 if (arg2 == NULL) SWIG_fail;
21980 temp2 = True;
21981 }
21982 {
21983 PyThreadState* __tstate = wxPyBeginAllowThreads();
21984 (arg1)->SetId((wxString const &)*arg2);
21985
21986 wxPyEndAllowThreads(__tstate);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 Py_INCREF(Py_None); resultobj = Py_None;
21990 {
21991 if (temp2)
21992 delete arg2;
21993 }
21994 return resultobj;
21995 fail:
21996 {
21997 if (temp2)
21998 delete arg2;
21999 }
22000 return NULL;
22001 }
22002
22003
22004 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
22005 PyObject *obj;
22006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22007 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
22008 Py_INCREF(obj);
22009 return Py_BuildValue((char *)"");
22010 }
22011 static int _wrap_FormatInvalid_set(PyObject *_val) {
22012 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
22013 return 1;
22014 }
22015
22016
22017 static PyObject *_wrap_FormatInvalid_get() {
22018 PyObject *pyobj;
22019
22020 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
22021 return pyobj;
22022 }
22023
22024
22025 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxDataObject *arg1 = (wxDataObject *) 0 ;
22028 PyObject * obj0 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
22034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 delete arg1;
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 Py_INCREF(Py_None); resultobj = Py_None;
22043 return resultobj;
22044 fail:
22045 return NULL;
22046 }
22047
22048
22049 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22050 PyObject *resultobj;
22051 wxDataObject *arg1 = (wxDataObject *) 0 ;
22052 int arg2 = (int) wxDataObject::Get ;
22053 SwigValueWrapper< wxDataFormat > result;
22054 PyObject * obj0 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "dir", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
22060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 {
22069 wxDataFormat * resultptr;
22070 resultptr = new wxDataFormat((wxDataFormat &) result);
22071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
22072 }
22073 return resultobj;
22074 fail:
22075 return NULL;
22076 }
22077
22078
22079 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22080 PyObject *resultobj;
22081 wxDataObject *arg1 = (wxDataObject *) 0 ;
22082 int arg2 = (int) wxDataObject::Get ;
22083 size_t result;
22084 PyObject * obj0 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self",(char *) "dir", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
22090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 resultobj = PyInt_FromLong((long)result);
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxDataObject *arg1 = (wxDataObject *) 0 ;
22108 wxDataFormat *arg2 = 0 ;
22109 int arg3 = (int) wxDataObject::Get ;
22110 bool result;
22111 PyObject * obj0 = 0 ;
22112 PyObject * obj1 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self",(char *) "format",(char *) "dir", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
22118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22120 if (arg2 == NULL) {
22121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22122 }
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
22126
22127 wxPyEndAllowThreads(__tstate);
22128 if (PyErr_Occurred()) SWIG_fail;
22129 }
22130 resultobj = PyInt_FromLong((long)result);
22131 return resultobj;
22132 fail:
22133 return NULL;
22134 }
22135
22136
22137 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22138 PyObject *resultobj;
22139 wxDataObject *arg1 = (wxDataObject *) 0 ;
22140 wxDataFormat *arg2 = 0 ;
22141 size_t result;
22142 PyObject * obj0 = 0 ;
22143 PyObject * obj1 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self",(char *) "format", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22150 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22151 if (arg2 == NULL) {
22152 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22153 }
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 resultobj = PyInt_FromLong((long)result);
22162 return resultobj;
22163 fail:
22164 return NULL;
22165 }
22166
22167
22168 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22169 PyObject *resultobj;
22170 wxDataObject *arg1 = (wxDataObject *) 0 ;
22171 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22172 int arg3 = (int) wxDataObject::Get ;
22173 PyObject * obj0 = 0 ;
22174 PyObject * obj1 = 0 ;
22175 char *kwnames[] = {
22176 (char *) "self",(char *) "formats",(char *) "dir", NULL
22177 };
22178
22179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22185
22186 wxPyEndAllowThreads(__tstate);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 Py_INCREF(Py_None); resultobj = Py_None;
22190 return resultobj;
22191 fail:
22192 return NULL;
22193 }
22194
22195
22196 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22197 PyObject *resultobj;
22198 wxDataObject *arg1 = (wxDataObject *) 0 ;
22199 wxDataFormat *arg2 = 0 ;
22200 void *arg3 = (void *) 0 ;
22201 bool result;
22202 PyObject * obj0 = 0 ;
22203 PyObject * obj1 = 0 ;
22204 PyObject * obj2 = 0 ;
22205 char *kwnames[] = {
22206 (char *) "self",(char *) "format",(char *) "buf", NULL
22207 };
22208
22209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22212 if (arg2 == NULL) {
22213 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22214 }
22215 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 resultobj = PyInt_FromLong((long)result);
22224 return resultobj;
22225 fail:
22226 return NULL;
22227 }
22228
22229
22230 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxDataObject *arg1 = (wxDataObject *) 0 ;
22233 wxDataFormat *arg2 = 0 ;
22234 size_t arg3 ;
22235 void *arg4 = (void *) 0 ;
22236 bool result;
22237 PyObject * obj0 = 0 ;
22238 PyObject * obj1 = 0 ;
22239 PyObject * obj2 = 0 ;
22240 PyObject * obj3 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22248 if (arg2 == NULL) {
22249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22250 }
22251 arg3 = (size_t) PyInt_AsLong(obj2);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 resultobj = PyInt_FromLong((long)result);
22262 return resultobj;
22263 fail:
22264 return NULL;
22265 }
22266
22267
22268 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22269 PyObject *obj;
22270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22271 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22272 Py_INCREF(obj);
22273 return Py_BuildValue((char *)"");
22274 }
22275 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22278 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22279 wxDataObjectSimple *result;
22280 PyObject * obj0 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "format", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22286 if (obj0) {
22287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22288 if (arg1 == NULL) {
22289 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22290 }
22291 }
22292 {
22293 PyThreadState* __tstate = wxPyBeginAllowThreads();
22294 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22295
22296 wxPyEndAllowThreads(__tstate);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22309 wxDataFormat *result;
22310 PyObject * obj0 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self", NULL
22313 };
22314
22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 {
22320 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22321 result = (wxDataFormat *) &_result_ref;
22322 }
22323
22324 wxPyEndAllowThreads(__tstate);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 }
22327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22328 return resultobj;
22329 fail:
22330 return NULL;
22331 }
22332
22333
22334 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22335 PyObject *resultobj;
22336 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22337 wxDataFormat *arg2 = 0 ;
22338 PyObject * obj0 = 0 ;
22339 PyObject * obj1 = 0 ;
22340 char *kwnames[] = {
22341 (char *) "self",(char *) "format", NULL
22342 };
22343
22344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22347 if (arg2 == NULL) {
22348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22349 }
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22353
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 Py_INCREF(Py_None); resultobj = Py_None;
22358 return resultobj;
22359 fail:
22360 return NULL;
22361 }
22362
22363
22364 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22365 PyObject *obj;
22366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22367 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22368 Py_INCREF(obj);
22369 return Py_BuildValue((char *)"");
22370 }
22371 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22372 PyObject *resultobj;
22373 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22374 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22375 wxPyDataObjectSimple *result;
22376 PyObject * obj0 = 0 ;
22377 char *kwnames[] = {
22378 (char *) "format", NULL
22379 };
22380
22381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22382 if (obj0) {
22383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22384 if (arg1 == NULL) {
22385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22386 }
22387 }
22388 {
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22391
22392 wxPyEndAllowThreads(__tstate);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
22395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22396 return resultobj;
22397 fail:
22398 return NULL;
22399 }
22400
22401
22402 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj;
22404 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22405 PyObject *arg2 = (PyObject *) 0 ;
22406 PyObject *arg3 = (PyObject *) 0 ;
22407 PyObject * obj0 = 0 ;
22408 PyObject * obj1 = 0 ;
22409 PyObject * obj2 = 0 ;
22410 char *kwnames[] = {
22411 (char *) "self",(char *) "self",(char *) "_class", NULL
22412 };
22413
22414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22416 arg2 = obj1;
22417 arg3 = obj2;
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 (arg1)->_setCallbackInfo(arg2,arg3);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 Py_INCREF(Py_None); resultobj = Py_None;
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22433 PyObject *obj;
22434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22435 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22436 Py_INCREF(obj);
22437 return Py_BuildValue((char *)"");
22438 }
22439 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj;
22441 wxDataObjectComposite *result;
22442 char *kwnames[] = {
22443 NULL
22444 };
22445
22446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22455 return resultobj;
22456 fail:
22457 return NULL;
22458 }
22459
22460
22461 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj;
22463 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22464 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22465 int arg3 = (int) False ;
22466 PyObject * obj0 = 0 ;
22467 PyObject * obj1 = 0 ;
22468 char *kwnames[] = {
22469 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22470 };
22471
22472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22475 {
22476 PyThreadState* __tstate = wxPyBeginAllowThreads();
22477 (arg1)->Add(arg2,arg3);
22478
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 Py_INCREF(Py_None); resultobj = Py_None;
22483 return resultobj;
22484 fail:
22485 return NULL;
22486 }
22487
22488
22489 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22490 PyObject *obj;
22491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22492 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22493 Py_INCREF(obj);
22494 return Py_BuildValue((char *)"");
22495 }
22496 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxString const &arg1_defvalue = wxPyEmptyString ;
22499 wxString *arg1 = (wxString *) &arg1_defvalue ;
22500 wxTextDataObject *result;
22501 bool temp1 = False ;
22502 PyObject * obj0 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "text", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22508 if (obj0) {
22509 {
22510 arg1 = wxString_in_helper(obj0);
22511 if (arg1 == NULL) SWIG_fail;
22512 temp1 = True;
22513 }
22514 }
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22523 {
22524 if (temp1)
22525 delete arg1;
22526 }
22527 return resultobj;
22528 fail:
22529 {
22530 if (temp1)
22531 delete arg1;
22532 }
22533 return NULL;
22534 }
22535
22536
22537 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22538 PyObject *resultobj;
22539 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22540 size_t result;
22541 PyObject * obj0 = 0 ;
22542 char *kwnames[] = {
22543 (char *) "self", NULL
22544 };
22545
22546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22548 {
22549 PyThreadState* __tstate = wxPyBeginAllowThreads();
22550 result = (size_t)(arg1)->GetTextLength();
22551
22552 wxPyEndAllowThreads(__tstate);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 }
22555 resultobj = PyInt_FromLong((long)result);
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22565 wxString result;
22566 PyObject * obj0 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22573 {
22574 PyThreadState* __tstate = wxPyBeginAllowThreads();
22575 result = (arg1)->GetText();
22576
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 {
22581 #if wxUSE_UNICODE
22582 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22583 #else
22584 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22585 #endif
22586 }
22587 return resultobj;
22588 fail:
22589 return NULL;
22590 }
22591
22592
22593 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22594 PyObject *resultobj;
22595 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22596 wxString *arg2 = 0 ;
22597 bool temp2 = False ;
22598 PyObject * obj0 = 0 ;
22599 PyObject * obj1 = 0 ;
22600 char *kwnames[] = {
22601 (char *) "self",(char *) "text", NULL
22602 };
22603
22604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22606 {
22607 arg2 = wxString_in_helper(obj1);
22608 if (arg2 == NULL) SWIG_fail;
22609 temp2 = True;
22610 }
22611 {
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 (arg1)->SetText((wxString const &)*arg2);
22614
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 Py_INCREF(Py_None); resultobj = Py_None;
22619 {
22620 if (temp2)
22621 delete arg2;
22622 }
22623 return resultobj;
22624 fail:
22625 {
22626 if (temp2)
22627 delete arg2;
22628 }
22629 return NULL;
22630 }
22631
22632
22633 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22634 PyObject *obj;
22635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22636 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22637 Py_INCREF(obj);
22638 return Py_BuildValue((char *)"");
22639 }
22640 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22641 PyObject *resultobj;
22642 wxString const &arg1_defvalue = wxPyEmptyString ;
22643 wxString *arg1 = (wxString *) &arg1_defvalue ;
22644 wxPyTextDataObject *result;
22645 bool temp1 = False ;
22646 PyObject * obj0 = 0 ;
22647 char *kwnames[] = {
22648 (char *) "text", NULL
22649 };
22650
22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22652 if (obj0) {
22653 {
22654 arg1 = wxString_in_helper(obj0);
22655 if (arg1 == NULL) SWIG_fail;
22656 temp1 = True;
22657 }
22658 }
22659 {
22660 PyThreadState* __tstate = wxPyBeginAllowThreads();
22661 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22662
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22667 {
22668 if (temp1)
22669 delete arg1;
22670 }
22671 return resultobj;
22672 fail:
22673 {
22674 if (temp1)
22675 delete arg1;
22676 }
22677 return NULL;
22678 }
22679
22680
22681 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj;
22683 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22684 PyObject *arg2 = (PyObject *) 0 ;
22685 PyObject *arg3 = (PyObject *) 0 ;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688 PyObject * obj2 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self",(char *) "self",(char *) "_class", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22695 arg2 = obj1;
22696 arg3 = obj2;
22697 {
22698 PyThreadState* __tstate = wxPyBeginAllowThreads();
22699 (arg1)->_setCallbackInfo(arg2,arg3);
22700
22701 wxPyEndAllowThreads(__tstate);
22702 if (PyErr_Occurred()) SWIG_fail;
22703 }
22704 Py_INCREF(Py_None); resultobj = Py_None;
22705 return resultobj;
22706 fail:
22707 return NULL;
22708 }
22709
22710
22711 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22712 PyObject *obj;
22713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22714 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22715 Py_INCREF(obj);
22716 return Py_BuildValue((char *)"");
22717 }
22718 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22719 PyObject *resultobj;
22720 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22721 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22722 wxBitmapDataObject *result;
22723 PyObject * obj0 = 0 ;
22724 char *kwnames[] = {
22725 (char *) "bitmap", NULL
22726 };
22727
22728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22729 if (obj0) {
22730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22731 if (arg1 == NULL) {
22732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22733 }
22734 }
22735 {
22736 PyThreadState* __tstate = wxPyBeginAllowThreads();
22737 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22738
22739 wxPyEndAllowThreads(__tstate);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 }
22742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22743 return resultobj;
22744 fail:
22745 return NULL;
22746 }
22747
22748
22749 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22750 PyObject *resultobj;
22751 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22752 wxBitmap result;
22753 PyObject * obj0 = 0 ;
22754 char *kwnames[] = {
22755 (char *) "self", NULL
22756 };
22757
22758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 {
22768 wxBitmap * resultptr;
22769 resultptr = new wxBitmap((wxBitmap &) result);
22770 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22771 }
22772 return resultobj;
22773 fail:
22774 return NULL;
22775 }
22776
22777
22778 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22779 PyObject *resultobj;
22780 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22781 wxBitmap *arg2 = 0 ;
22782 PyObject * obj0 = 0 ;
22783 PyObject * obj1 = 0 ;
22784 char *kwnames[] = {
22785 (char *) "self",(char *) "bitmap", NULL
22786 };
22787
22788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22791 if (arg2 == NULL) {
22792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22793 }
22794 {
22795 PyThreadState* __tstate = wxPyBeginAllowThreads();
22796 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22797
22798 wxPyEndAllowThreads(__tstate);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 Py_INCREF(Py_None); resultobj = Py_None;
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22809 PyObject *obj;
22810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22811 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22812 Py_INCREF(obj);
22813 return Py_BuildValue((char *)"");
22814 }
22815 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22818 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22819 wxPyBitmapDataObject *result;
22820 PyObject * obj0 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "bitmap", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22826 if (obj0) {
22827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,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 = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22835
22836 wxPyEndAllowThreads(__tstate);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22840 return resultobj;
22841 fail:
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22849 PyObject *arg2 = (PyObject *) 0 ;
22850 PyObject *arg3 = (PyObject *) 0 ;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 PyObject * obj2 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self",(char *) "self",(char *) "_class", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22860 arg2 = obj1;
22861 arg3 = obj2;
22862 {
22863 PyThreadState* __tstate = wxPyBeginAllowThreads();
22864 (arg1)->_setCallbackInfo(arg2,arg3);
22865
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 Py_INCREF(Py_None); resultobj = Py_None;
22870 return resultobj;
22871 fail:
22872 return NULL;
22873 }
22874
22875
22876 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22877 PyObject *obj;
22878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22879 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22880 Py_INCREF(obj);
22881 return Py_BuildValue((char *)"");
22882 }
22883 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22884 PyObject *resultobj;
22885 wxFileDataObject *result;
22886 char *kwnames[] = {
22887 NULL
22888 };
22889
22890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 result = (wxFileDataObject *)new wxFileDataObject();
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22899 return resultobj;
22900 fail:
22901 return NULL;
22902 }
22903
22904
22905 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22908 wxArrayString *result;
22909 PyObject * obj0 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22916 {
22917 PyThreadState* __tstate = wxPyBeginAllowThreads();
22918 {
22919 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22920 result = (wxArrayString *) &_result_ref;
22921 }
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 {
22927 resultobj = wxArrayString2PyList_helper(*result);
22928 }
22929 return resultobj;
22930 fail:
22931 return NULL;
22932 }
22933
22934
22935 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22936 PyObject *obj;
22937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22938 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22939 Py_INCREF(obj);
22940 return Py_BuildValue((char *)"");
22941 }
22942 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22943 PyObject *resultobj;
22944 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22945 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22946 wxCustomDataObject *result;
22947 PyObject * obj0 = 0 ;
22948 char *kwnames[] = {
22949 (char *) "format", NULL
22950 };
22951
22952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22953 if (obj0) {
22954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22955 if (arg1 == NULL) {
22956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22957 }
22958 }
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22967 return resultobj;
22968 fail:
22969 return NULL;
22970 }
22971
22972
22973 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22974 PyObject *resultobj;
22975 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22976 PyObject *arg2 = (PyObject *) 0 ;
22977 PyObject * obj0 = 0 ;
22978 PyObject * obj1 = 0 ;
22979 char *kwnames[] = {
22980 (char *) "self",(char *) "data", NULL
22981 };
22982
22983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22985 arg2 = obj1;
22986 {
22987 PyThreadState* __tstate = wxPyBeginAllowThreads();
22988 wxCustomDataObject_TakeData(arg1,arg2);
22989
22990 wxPyEndAllowThreads(__tstate);
22991 if (PyErr_Occurred()) SWIG_fail;
22992 }
22993 Py_INCREF(Py_None); resultobj = Py_None;
22994 return resultobj;
22995 fail:
22996 return NULL;
22997 }
22998
22999
23000 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23001 PyObject *resultobj;
23002 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23003 PyObject *arg2 = (PyObject *) 0 ;
23004 bool result;
23005 PyObject * obj0 = 0 ;
23006 PyObject * obj1 = 0 ;
23007 char *kwnames[] = {
23008 (char *) "self",(char *) "data", NULL
23009 };
23010
23011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
23012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23013 arg2 = obj1;
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 resultobj = PyInt_FromLong((long)result);
23022 return resultobj;
23023 fail:
23024 return NULL;
23025 }
23026
23027
23028 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23031 size_t result;
23032 PyObject * obj0 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
23038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 result = (size_t)(arg1)->GetSize();
23042
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 resultobj = PyInt_FromLong((long)result);
23047 return resultobj;
23048 fail:
23049 return NULL;
23050 }
23051
23052
23053 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj;
23055 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23056 PyObject *result;
23057 PyObject * obj0 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
23063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = (PyObject *)wxCustomDataObject_GetData(arg1);
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 resultobj = result;
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
23079 PyObject *obj;
23080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23081 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
23082 Py_INCREF(obj);
23083 return Py_BuildValue((char *)"");
23084 }
23085 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23086 PyObject *resultobj;
23087 wxURLDataObject *result;
23088 char *kwnames[] = {
23089 NULL
23090 };
23091
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
23093 {
23094 PyThreadState* __tstate = wxPyBeginAllowThreads();
23095 result = (wxURLDataObject *)new wxURLDataObject();
23096
23097 wxPyEndAllowThreads(__tstate);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
23101 return resultobj;
23102 fail:
23103 return NULL;
23104 }
23105
23106
23107 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23108 PyObject *resultobj;
23109 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23110 wxString result;
23111 PyObject * obj0 = 0 ;
23112 char *kwnames[] = {
23113 (char *) "self", NULL
23114 };
23115
23116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
23117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 result = (arg1)->GetURL();
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 {
23126 #if wxUSE_UNICODE
23127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23128 #else
23129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23130 #endif
23131 }
23132 return resultobj;
23133 fail:
23134 return NULL;
23135 }
23136
23137
23138 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23139 PyObject *resultobj;
23140 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23141 wxString *arg2 = 0 ;
23142 bool temp2 = False ;
23143 PyObject * obj0 = 0 ;
23144 PyObject * obj1 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self",(char *) "url", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23151 {
23152 arg2 = wxString_in_helper(obj1);
23153 if (arg2 == NULL) SWIG_fail;
23154 temp2 = True;
23155 }
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 (arg1)->SetURL((wxString const &)*arg2);
23159
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 Py_INCREF(Py_None); resultobj = Py_None;
23164 {
23165 if (temp2)
23166 delete arg2;
23167 }
23168 return resultobj;
23169 fail:
23170 {
23171 if (temp2)
23172 delete arg2;
23173 }
23174 return NULL;
23175 }
23176
23177
23178 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23179 PyObject *obj;
23180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23181 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23182 Py_INCREF(obj);
23183 return Py_BuildValue((char *)"");
23184 }
23185 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23186 PyObject *resultobj;
23187 wxMetafileDataObject *result;
23188 char *kwnames[] = {
23189 NULL
23190 };
23191
23192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23193 {
23194 PyThreadState* __tstate = wxPyBeginAllowThreads();
23195 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23196
23197 wxPyEndAllowThreads(__tstate);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 }
23200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23201 return resultobj;
23202 fail:
23203 return NULL;
23204 }
23205
23206
23207 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23208 PyObject *resultobj;
23209 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23210 wxMetafile *arg2 = 0 ;
23211 PyObject * obj0 = 0 ;
23212 PyObject * obj1 = 0 ;
23213 char *kwnames[] = {
23214 (char *) "self",(char *) "metafile", NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
23218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMetafile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23220 if (arg2 == NULL) {
23221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23222 }
23223 {
23224 PyThreadState* __tstate = wxPyBeginAllowThreads();
23225 (arg1)->SetMetafile((wxMetafile const &)*arg2);
23226
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 Py_INCREF(Py_None); resultobj = Py_None;
23231 return resultobj;
23232 fail:
23233 return NULL;
23234 }
23235
23236
23237 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23238 PyObject *resultobj;
23239 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23240 wxMetafile result;
23241 PyObject * obj0 = 0 ;
23242 char *kwnames[] = {
23243 (char *) "self", NULL
23244 };
23245
23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
23247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23248 {
23249 PyThreadState* __tstate = wxPyBeginAllowThreads();
23250 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
23251
23252 wxPyEndAllowThreads(__tstate);
23253 if (PyErr_Occurred()) SWIG_fail;
23254 }
23255 {
23256 wxMetafile * resultptr;
23257 resultptr = new wxMetafile((wxMetafile &) result);
23258 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMetafile, 1);
23259 }
23260 return resultobj;
23261 fail:
23262 return NULL;
23263 }
23264
23265
23266 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23267 PyObject *obj;
23268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23269 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23270 Py_INCREF(obj);
23271 return Py_BuildValue((char *)"");
23272 }
23273 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23274 PyObject *resultobj;
23275 int arg1 ;
23276 bool result;
23277 char *kwnames[] = {
23278 (char *) "res", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 resultobj = PyInt_FromLong((long)result);
23290 return resultobj;
23291 fail:
23292 return NULL;
23293 }
23294
23295
23296 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23297 PyObject *resultobj;
23298 wxWindow *arg1 = (wxWindow *) 0 ;
23299 wxCursor const &arg2_defvalue = wxNullCursor ;
23300 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
23301 wxCursor const &arg3_defvalue = wxNullCursor ;
23302 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
23303 wxCursor const &arg4_defvalue = wxNullCursor ;
23304 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
23305 wxPyDropSource *result;
23306 PyObject * obj0 = 0 ;
23307 PyObject * obj1 = 0 ;
23308 PyObject * obj2 = 0 ;
23309 PyObject * obj3 = 0 ;
23310 char *kwnames[] = {
23311 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23312 };
23313
23314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23316 if (obj1) {
23317 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23318 if (arg2 == NULL) {
23319 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23320 }
23321 }
23322 if (obj2) {
23323 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23324 if (arg3 == NULL) {
23325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23326 }
23327 }
23328 if (obj3) {
23329 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23330 if (arg4 == NULL) {
23331 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23332 }
23333 }
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
23337
23338 wxPyEndAllowThreads(__tstate);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 }
23341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23342 return resultobj;
23343 fail:
23344 return NULL;
23345 }
23346
23347
23348 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23349 PyObject *resultobj;
23350 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23351 PyObject *arg2 = (PyObject *) 0 ;
23352 PyObject *arg3 = (PyObject *) 0 ;
23353 int arg4 ;
23354 PyObject * obj0 = 0 ;
23355 PyObject * obj1 = 0 ;
23356 PyObject * obj2 = 0 ;
23357 char *kwnames[] = {
23358 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23359 };
23360
23361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23363 arg2 = obj1;
23364 arg3 = obj2;
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 Py_INCREF(Py_None); resultobj = Py_None;
23373 return resultobj;
23374 fail:
23375 return NULL;
23376 }
23377
23378
23379 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23380 PyObject *resultobj;
23381 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23382 PyObject * obj0 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23389 {
23390 PyThreadState* __tstate = wxPyBeginAllowThreads();
23391 delete arg1;
23392
23393 wxPyEndAllowThreads(__tstate);
23394 if (PyErr_Occurred()) SWIG_fail;
23395 }
23396 Py_INCREF(Py_None); resultobj = Py_None;
23397 return resultobj;
23398 fail:
23399 return NULL;
23400 }
23401
23402
23403 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23404 PyObject *resultobj;
23405 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23406 wxDataObject *arg2 = 0 ;
23407 PyObject * obj0 = 0 ;
23408 PyObject * obj1 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self",(char *) "data", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23416 if (arg2 == NULL) {
23417 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23418 }
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 (arg1)->SetData(*arg2);
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
23426 Py_INCREF(Py_None); resultobj = Py_None;
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23436 wxDataObject *result;
23437 PyObject * obj0 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23444 {
23445 PyThreadState* __tstate = wxPyBeginAllowThreads();
23446 result = (wxDataObject *)(arg1)->GetDataObject();
23447
23448 wxPyEndAllowThreads(__tstate);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23452 return resultobj;
23453 fail:
23454 return NULL;
23455 }
23456
23457
23458 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj;
23460 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23461 int arg2 ;
23462 wxCursor *arg3 = 0 ;
23463 PyObject * obj0 = 0 ;
23464 PyObject * obj2 = 0 ;
23465 char *kwnames[] = {
23466 (char *) "self",(char *) "res",(char *) "cursor", NULL
23467 };
23468
23469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23471 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23472 if (arg3 == NULL) {
23473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23474 }
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 Py_INCREF(Py_None); resultobj = Py_None;
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj;
23491 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23492 int arg2 = (int) wxDrag_CopyOnly ;
23493 int result;
23494 PyObject * obj0 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "flags", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (int)(arg1)->DoDragDrop(arg2);
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 resultobj = PyInt_FromLong((long)result);
23509 return resultobj;
23510 fail:
23511 return NULL;
23512 }
23513
23514
23515 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23516 PyObject *resultobj;
23517 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23518 int arg2 ;
23519 bool result;
23520 PyObject * obj0 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self",(char *) "effect", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 resultobj = PyInt_FromLong((long)result);
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23542 PyObject *obj;
23543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23544 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23545 Py_INCREF(obj);
23546 return Py_BuildValue((char *)"");
23547 }
23548 static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23549 PyObject *resultobj;
23550 wxDataObject *arg1 = (wxDataObject *) NULL ;
23551 wxPyDropTarget *result;
23552 PyObject * obj0 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "dataObject", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
23558 if (obj0) {
23559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23560 }
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23564
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23569 return resultobj;
23570 fail:
23571 return NULL;
23572 }
23573
23574
23575 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23576 PyObject *resultobj;
23577 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23578 PyObject *arg2 = (PyObject *) 0 ;
23579 PyObject *arg3 = (PyObject *) 0 ;
23580 PyObject * obj0 = 0 ;
23581 PyObject * obj1 = 0 ;
23582 PyObject * obj2 = 0 ;
23583 char *kwnames[] = {
23584 (char *) "self",(char *) "self",(char *) "_class", NULL
23585 };
23586
23587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23589 arg2 = obj1;
23590 arg3 = obj2;
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 (arg1)->_setCallbackInfo(arg2,arg3);
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 Py_INCREF(Py_None); resultobj = Py_None;
23599 return resultobj;
23600 fail:
23601 return NULL;
23602 }
23603
23604
23605 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23606 PyObject *resultobj;
23607 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23608 PyObject * obj0 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",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 delete arg1;
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 Py_INCREF(Py_None); resultobj = Py_None;
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23632 wxDataObject *result;
23633 PyObject * obj0 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (wxDataObject *)(arg1)->GetDataObject();
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23648 return resultobj;
23649 fail:
23650 return NULL;
23651 }
23652
23653
23654 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23655 PyObject *resultobj;
23656 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23657 wxDataObject *arg2 = (wxDataObject *) 0 ;
23658 PyObject * obj0 = 0 ;
23659 PyObject * obj1 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self",(char *) "dataObject", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 (arg1)->SetDataObject(arg2);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 Py_INCREF(Py_None); resultobj = Py_None;
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23684 int arg2 ;
23685 int arg3 ;
23686 int arg4 ;
23687 int result;
23688 PyObject * obj0 = 0 ;
23689 char *kwnames[] = {
23690 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23691 };
23692
23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 resultobj = PyInt_FromLong((long)result);
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj;
23711 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23712 int arg2 ;
23713 int arg3 ;
23714 int arg4 ;
23715 int result;
23716 PyObject * obj0 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 resultobj = PyInt_FromLong((long)result);
23731 return resultobj;
23732 fail:
23733 return NULL;
23734 }
23735
23736
23737 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23738 PyObject *resultobj;
23739 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23740 PyObject * obj0 = 0 ;
23741 char *kwnames[] = {
23742 (char *) "self", NULL
23743 };
23744
23745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23747 {
23748 PyThreadState* __tstate = wxPyBeginAllowThreads();
23749 (arg1)->base_OnLeave();
23750
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 Py_INCREF(Py_None); resultobj = Py_None;
23755 return resultobj;
23756 fail:
23757 return NULL;
23758 }
23759
23760
23761 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23762 PyObject *resultobj;
23763 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23764 int arg2 ;
23765 int arg3 ;
23766 bool result;
23767 PyObject * obj0 = 0 ;
23768 char *kwnames[] = {
23769 (char *) "self",(char *) "x",(char *) "y", NULL
23770 };
23771
23772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23774 {
23775 PyThreadState* __tstate = wxPyBeginAllowThreads();
23776 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23777
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 resultobj = PyInt_FromLong((long)result);
23782 return resultobj;
23783 fail:
23784 return NULL;
23785 }
23786
23787
23788 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj;
23790 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23791 bool result;
23792 PyObject * obj0 = 0 ;
23793 char *kwnames[] = {
23794 (char *) "self", NULL
23795 };
23796
23797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (bool)(arg1)->GetData();
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 resultobj = PyInt_FromLong((long)result);
23807 return resultobj;
23808 fail:
23809 return NULL;
23810 }
23811
23812
23813 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23814 PyObject *obj;
23815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23816 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23817 Py_INCREF(obj);
23818 return Py_BuildValue((char *)"");
23819 }
23820 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23821 PyObject *resultobj;
23822 wxPyTextDropTarget *result;
23823 char *kwnames[] = {
23824 NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23828 {
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23831
23832 wxPyEndAllowThreads(__tstate);
23833 if (PyErr_Occurred()) SWIG_fail;
23834 }
23835 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23836 return resultobj;
23837 fail:
23838 return NULL;
23839 }
23840
23841
23842 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23843 PyObject *resultobj;
23844 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23845 PyObject *arg2 = (PyObject *) 0 ;
23846 PyObject *arg3 = (PyObject *) 0 ;
23847 PyObject * obj0 = 0 ;
23848 PyObject * obj1 = 0 ;
23849 PyObject * obj2 = 0 ;
23850 char *kwnames[] = {
23851 (char *) "self",(char *) "self",(char *) "_class", NULL
23852 };
23853
23854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23856 arg2 = obj1;
23857 arg3 = obj2;
23858 {
23859 PyThreadState* __tstate = wxPyBeginAllowThreads();
23860 (arg1)->_setCallbackInfo(arg2,arg3);
23861
23862 wxPyEndAllowThreads(__tstate);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 Py_INCREF(Py_None); resultobj = Py_None;
23866 return resultobj;
23867 fail:
23868 return NULL;
23869 }
23870
23871
23872 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23873 PyObject *resultobj;
23874 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23875 int arg2 ;
23876 int arg3 ;
23877 int arg4 ;
23878 int result;
23879 PyObject * obj0 = 0 ;
23880 char *kwnames[] = {
23881 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23882 };
23883
23884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23889
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 resultobj = PyInt_FromLong((long)result);
23894 return resultobj;
23895 fail:
23896 return NULL;
23897 }
23898
23899
23900 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23901 PyObject *resultobj;
23902 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23903 int arg2 ;
23904 int arg3 ;
23905 int arg4 ;
23906 int result;
23907 PyObject * obj0 = 0 ;
23908 char *kwnames[] = {
23909 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23910 };
23911
23912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23914 {
23915 PyThreadState* __tstate = wxPyBeginAllowThreads();
23916 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23917
23918 wxPyEndAllowThreads(__tstate);
23919 if (PyErr_Occurred()) SWIG_fail;
23920 }
23921 resultobj = PyInt_FromLong((long)result);
23922 return resultobj;
23923 fail:
23924 return NULL;
23925 }
23926
23927
23928 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23929 PyObject *resultobj;
23930 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23931 PyObject * obj0 = 0 ;
23932 char *kwnames[] = {
23933 (char *) "self", NULL
23934 };
23935
23936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 (arg1)->base_OnLeave();
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 Py_INCREF(Py_None); resultobj = Py_None;
23946 return resultobj;
23947 fail:
23948 return NULL;
23949 }
23950
23951
23952 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23953 PyObject *resultobj;
23954 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23955 int arg2 ;
23956 int arg3 ;
23957 bool result;
23958 PyObject * obj0 = 0 ;
23959 char *kwnames[] = {
23960 (char *) "self",(char *) "x",(char *) "y", NULL
23961 };
23962
23963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23965 {
23966 PyThreadState* __tstate = wxPyBeginAllowThreads();
23967 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23968
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 resultobj = PyInt_FromLong((long)result);
23973 return resultobj;
23974 fail:
23975 return NULL;
23976 }
23977
23978
23979 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23980 PyObject *resultobj;
23981 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23982 int arg2 ;
23983 int arg3 ;
23984 int arg4 ;
23985 int result;
23986 PyObject * obj0 = 0 ;
23987 char *kwnames[] = {
23988 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23989 };
23990
23991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23993 {
23994 PyThreadState* __tstate = wxPyBeginAllowThreads();
23995 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23996
23997 wxPyEndAllowThreads(__tstate);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 }
24000 resultobj = PyInt_FromLong((long)result);
24001 return resultobj;
24002 fail:
24003 return NULL;
24004 }
24005
24006
24007 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
24008 PyObject *obj;
24009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24010 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
24011 Py_INCREF(obj);
24012 return Py_BuildValue((char *)"");
24013 }
24014 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24015 PyObject *resultobj;
24016 wxPyFileDropTarget *result;
24017 char *kwnames[] = {
24018 NULL
24019 };
24020
24021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24037 PyObject *resultobj;
24038 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24039 PyObject *arg2 = (PyObject *) 0 ;
24040 PyObject *arg3 = (PyObject *) 0 ;
24041 PyObject * obj0 = 0 ;
24042 PyObject * obj1 = 0 ;
24043 PyObject * obj2 = 0 ;
24044 char *kwnames[] = {
24045 (char *) "self",(char *) "self",(char *) "_class", NULL
24046 };
24047
24048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24050 arg2 = obj1;
24051 arg3 = obj2;
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 (arg1)->_setCallbackInfo(arg2,arg3);
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 Py_INCREF(Py_None); resultobj = Py_None;
24060 return resultobj;
24061 fail:
24062 return NULL;
24063 }
24064
24065
24066 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
24067 PyObject *resultobj;
24068 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24069 int arg2 ;
24070 int arg3 ;
24071 int arg4 ;
24072 int result;
24073 PyObject * obj0 = 0 ;
24074 char *kwnames[] = {
24075 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24076 };
24077
24078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
24083
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 resultobj = PyInt_FromLong((long)result);
24088 return resultobj;
24089 fail:
24090 return NULL;
24091 }
24092
24093
24094 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24095 PyObject *resultobj;
24096 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24097 int arg2 ;
24098 int arg3 ;
24099 int arg4 ;
24100 int result;
24101 PyObject * obj0 = 0 ;
24102 char *kwnames[] = {
24103 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24104 };
24105
24106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24111
24112 wxPyEndAllowThreads(__tstate);
24113 if (PyErr_Occurred()) SWIG_fail;
24114 }
24115 resultobj = PyInt_FromLong((long)result);
24116 return resultobj;
24117 fail:
24118 return NULL;
24119 }
24120
24121
24122 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24123 PyObject *resultobj;
24124 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24125 PyObject * obj0 = 0 ;
24126 char *kwnames[] = {
24127 (char *) "self", NULL
24128 };
24129
24130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 (arg1)->base_OnLeave();
24135
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
24139 Py_INCREF(Py_None); resultobj = Py_None;
24140 return resultobj;
24141 fail:
24142 return NULL;
24143 }
24144
24145
24146 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24147 PyObject *resultobj;
24148 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24149 int arg2 ;
24150 int arg3 ;
24151 bool result;
24152 PyObject * obj0 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self",(char *) "x",(char *) "y", NULL
24155 };
24156
24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24159 {
24160 PyThreadState* __tstate = wxPyBeginAllowThreads();
24161 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24162
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 resultobj = PyInt_FromLong((long)result);
24167 return resultobj;
24168 fail:
24169 return NULL;
24170 }
24171
24172
24173 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24174 PyObject *resultobj;
24175 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24176 int arg2 ;
24177 int arg3 ;
24178 int arg4 ;
24179 int result;
24180 PyObject * obj0 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24187 {
24188 PyThreadState* __tstate = wxPyBeginAllowThreads();
24189 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24190
24191 wxPyEndAllowThreads(__tstate);
24192 if (PyErr_Occurred()) SWIG_fail;
24193 }
24194 resultobj = PyInt_FromLong((long)result);
24195 return resultobj;
24196 fail:
24197 return NULL;
24198 }
24199
24200
24201 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24202 PyObject *obj;
24203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24204 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24205 Py_INCREF(obj);
24206 return Py_BuildValue((char *)"");
24207 }
24208 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxClipboard *result;
24211 char *kwnames[] = {
24212 NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24216 {
24217 PyThreadState* __tstate = wxPyBeginAllowThreads();
24218 result = (wxClipboard *)new wxClipboard();
24219
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24224 return resultobj;
24225 fail:
24226 return NULL;
24227 }
24228
24229
24230 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24231 PyObject *resultobj;
24232 wxClipboard *arg1 = (wxClipboard *) 0 ;
24233 PyObject * obj0 = 0 ;
24234 char *kwnames[] = {
24235 (char *) "self", NULL
24236 };
24237
24238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 delete arg1;
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 Py_INCREF(Py_None); resultobj = Py_None;
24248 return resultobj;
24249 fail:
24250 return NULL;
24251 }
24252
24253
24254 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24255 PyObject *resultobj;
24256 wxClipboard *arg1 = (wxClipboard *) 0 ;
24257 bool result;
24258 PyObject * obj0 = 0 ;
24259 char *kwnames[] = {
24260 (char *) "self", NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 result = (bool)(arg1)->Open();
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 resultobj = PyInt_FromLong((long)result);
24273 return resultobj;
24274 fail:
24275 return NULL;
24276 }
24277
24278
24279 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj;
24281 wxClipboard *arg1 = (wxClipboard *) 0 ;
24282 PyObject * obj0 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "self", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 (arg1)->Close();
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 Py_INCREF(Py_None); resultobj = Py_None;
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj;
24305 wxClipboard *arg1 = (wxClipboard *) 0 ;
24306 bool result;
24307 PyObject * obj0 = 0 ;
24308 char *kwnames[] = {
24309 (char *) "self", NULL
24310 };
24311
24312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24317
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 resultobj = PyInt_FromLong((long)result);
24322 return resultobj;
24323 fail:
24324 return NULL;
24325 }
24326
24327
24328 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24329 PyObject *resultobj;
24330 wxClipboard *arg1 = (wxClipboard *) 0 ;
24331 wxDataObject *arg2 = (wxDataObject *) 0 ;
24332 bool result;
24333 PyObject * obj0 = 0 ;
24334 PyObject * obj1 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self",(char *) "data", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 result = (bool)(arg1)->AddData(arg2);
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 resultobj = PyInt_FromLong((long)result);
24350 return resultobj;
24351 fail:
24352 return NULL;
24353 }
24354
24355
24356 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj;
24358 wxClipboard *arg1 = (wxClipboard *) 0 ;
24359 wxDataObject *arg2 = (wxDataObject *) 0 ;
24360 bool result;
24361 PyObject * obj0 = 0 ;
24362 PyObject * obj1 = 0 ;
24363 char *kwnames[] = {
24364 (char *) "self",(char *) "data", NULL
24365 };
24366
24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24370 {
24371 PyThreadState* __tstate = wxPyBeginAllowThreads();
24372 result = (bool)(arg1)->SetData(arg2);
24373
24374 wxPyEndAllowThreads(__tstate);
24375 if (PyErr_Occurred()) SWIG_fail;
24376 }
24377 resultobj = PyInt_FromLong((long)result);
24378 return resultobj;
24379 fail:
24380 return NULL;
24381 }
24382
24383
24384 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24385 PyObject *resultobj;
24386 wxClipboard *arg1 = (wxClipboard *) 0 ;
24387 wxDataFormat *arg2 = 0 ;
24388 bool result;
24389 PyObject * obj0 = 0 ;
24390 PyObject * obj1 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self",(char *) "format", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24398 if (arg2 == NULL) {
24399 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24400 }
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 resultobj = PyInt_FromLong((long)result);
24409 return resultobj;
24410 fail:
24411 return NULL;
24412 }
24413
24414
24415 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24416 PyObject *resultobj;
24417 wxClipboard *arg1 = (wxClipboard *) 0 ;
24418 wxDataObject *arg2 = 0 ;
24419 bool result;
24420 PyObject * obj0 = 0 ;
24421 PyObject * obj1 = 0 ;
24422 char *kwnames[] = {
24423 (char *) "self",(char *) "data", NULL
24424 };
24425
24426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24429 if (arg2 == NULL) {
24430 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24431 }
24432 {
24433 PyThreadState* __tstate = wxPyBeginAllowThreads();
24434 result = (bool)(arg1)->GetData(*arg2);
24435
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
24439 resultobj = PyInt_FromLong((long)result);
24440 return resultobj;
24441 fail:
24442 return NULL;
24443 }
24444
24445
24446 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24447 PyObject *resultobj;
24448 wxClipboard *arg1 = (wxClipboard *) 0 ;
24449 PyObject * obj0 = 0 ;
24450 char *kwnames[] = {
24451 (char *) "self", NULL
24452 };
24453
24454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24456 {
24457 PyThreadState* __tstate = wxPyBeginAllowThreads();
24458 (arg1)->Clear();
24459
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 Py_INCREF(Py_None); resultobj = Py_None;
24464 return resultobj;
24465 fail:
24466 return NULL;
24467 }
24468
24469
24470 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj;
24472 wxClipboard *arg1 = (wxClipboard *) 0 ;
24473 bool result;
24474 PyObject * obj0 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self", NULL
24477 };
24478
24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 result = (bool)(arg1)->Flush();
24484
24485 wxPyEndAllowThreads(__tstate);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
24488 resultobj = PyInt_FromLong((long)result);
24489 return resultobj;
24490 fail:
24491 return NULL;
24492 }
24493
24494
24495 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24496 PyObject *resultobj;
24497 wxClipboard *arg1 = (wxClipboard *) 0 ;
24498 bool arg2 = (bool) False ;
24499 PyObject * obj0 = 0 ;
24500 PyObject * obj1 = 0 ;
24501 char *kwnames[] = {
24502 (char *) "self",(char *) "primary", NULL
24503 };
24504
24505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24507 if (obj1) {
24508 arg2 = PyInt_AsLong(obj1) ? true : false;
24509 if (PyErr_Occurred()) SWIG_fail;
24510 }
24511 {
24512 PyThreadState* __tstate = wxPyBeginAllowThreads();
24513 (arg1)->UsePrimarySelection(arg2);
24514
24515 wxPyEndAllowThreads(__tstate);
24516 if (PyErr_Occurred()) SWIG_fail;
24517 }
24518 Py_INCREF(Py_None); resultobj = Py_None;
24519 return resultobj;
24520 fail:
24521 return NULL;
24522 }
24523
24524
24525 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24526 PyObject *obj;
24527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24528 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24529 Py_INCREF(obj);
24530 return Py_BuildValue((char *)"");
24531 }
24532 static int _wrap_TheClipboard_set(PyObject *_val) {
24533 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24534 return 1;
24535 }
24536
24537
24538 static PyObject *_wrap_TheClipboard_get() {
24539 PyObject *pyobj;
24540
24541 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24542 return pyobj;
24543 }
24544
24545
24546 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24547 PyObject *resultobj;
24548 wxClipboard *arg1 = (wxClipboard *) NULL ;
24549 wxClipboardLocker *result;
24550 PyObject * obj0 = 0 ;
24551 char *kwnames[] = {
24552 (char *) "clipboard", NULL
24553 };
24554
24555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24556 if (obj0) {
24557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24558 }
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24567 return resultobj;
24568 fail:
24569 return NULL;
24570 }
24571
24572
24573 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24576 PyObject * obj0 = 0 ;
24577 char *kwnames[] = {
24578 (char *) "self", NULL
24579 };
24580
24581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 delete arg1;
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 Py_INCREF(Py_None); resultobj = Py_None;
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj;
24599 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24600 bool result;
24601 PyObject * obj0 = 0 ;
24602 char *kwnames[] = {
24603 (char *) "self", NULL
24604 };
24605
24606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 result = (bool)wxClipboardLocker___nonzero__(arg1);
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 resultobj = PyInt_FromLong((long)result);
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24623 PyObject *obj;
24624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24625 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24626 Py_INCREF(obj);
24627 return Py_BuildValue((char *)"");
24628 }
24629 static PyMethodDef SwigMethods[] = {
24630 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24637 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24644 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24704 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24712 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24728 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24733 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24736 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24739 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24745 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24759 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24765 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24771 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24774 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24787 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24790 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24791 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24794 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24821 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24823 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24825 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24827 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24834 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24840 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
24853 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24858 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24861 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24878 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24886 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24932 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24960 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24966 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24982 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24998 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
25012 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
25021 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
25064 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
25068 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
25071 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
25074 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25166 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25167 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25168 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25169 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25170 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25171 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25172 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25173 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25174 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25175 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25186 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25231 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25265 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25273 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25274 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25279 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25288 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25292 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25295 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25298 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25303 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25306 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25310 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25313 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25316 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25322 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25326 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25330 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25340 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25351 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25359 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25367 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25380 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25384 { NULL, NULL }
25385 };
25386
25387
25388 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25389
25390 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25391 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25392 }
25393 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25394 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25395 }
25396 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25397 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25398 }
25399 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25400 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25401 }
25402 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25403 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25404 }
25405 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25406 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25407 }
25408 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25409 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25410 }
25411 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25412 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25413 }
25414 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25415 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25416 }
25417 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25418 return (void *)((wxEvent *) ((wxPyEvent *) x));
25419 }
25420 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25421 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25422 }
25423 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25424 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25425 }
25426 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25427 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25428 }
25429 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25430 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25431 }
25432 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25433 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25434 }
25435 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25436 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25437 }
25438 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25439 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25440 }
25441 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25442 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25443 }
25444 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25445 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25446 }
25447 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25448 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25449 }
25450 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25451 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25452 }
25453 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25454 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25455 }
25456 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25457 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25458 }
25459 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25460 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25461 }
25462 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25463 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25464 }
25465 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25466 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25467 }
25468 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25469 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25470 }
25471 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25472 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25473 }
25474 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25475 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25476 }
25477 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25478 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25479 }
25480 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25481 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25482 }
25483 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25484 return (void *)((wxEvent *) ((wxShowEvent *) x));
25485 }
25486 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25487 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25488 }
25489 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25490 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25491 }
25492 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25493 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25494 }
25495 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25496 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25497 }
25498 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25499 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25500 }
25501 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25502 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25503 }
25504 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25505 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25506 }
25507 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25508 return (void *)((wxConfigBase *) ((wxConfig *) x));
25509 }
25510 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25511 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25512 }
25513 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25514 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25515 }
25516 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25517 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25518 }
25519 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25520 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25521 }
25522 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25523 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25524 }
25525 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25526 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25527 }
25528 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25529 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25530 }
25531 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25532 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25533 }
25534 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25535 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25536 }
25537 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25538 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25539 }
25540 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25541 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25542 }
25543 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25544 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25545 }
25546 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25547 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25548 }
25549 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25550 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25551 }
25552 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25553 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25554 }
25555 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25556 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25557 }
25558 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25559 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25560 }
25561 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25562 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25563 }
25564 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25565 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25566 }
25567 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25568 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25569 }
25570 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25571 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25572 }
25573 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25574 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25575 }
25576 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25577 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25578 }
25579 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25580 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25581 }
25582 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25583 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25584 }
25585 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25586 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25587 }
25588 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25589 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25590 }
25591 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25592 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25593 }
25594 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25595 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25596 }
25597 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25598 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25599 }
25600 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25601 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25602 }
25603 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25604 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25605 }
25606 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25607 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25608 }
25609 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25610 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25611 }
25612 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25613 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25614 }
25615 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25616 return (void *)((wxObject *) ((wxSizerItem *) x));
25617 }
25618 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25619 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25620 }
25621 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25622 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25623 }
25624 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25625 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25626 }
25627 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25628 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25629 }
25630 static void *_p_wxSizerTo_p_wxObject(void *x) {
25631 return (void *)((wxObject *) ((wxSizer *) x));
25632 }
25633 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25634 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25635 }
25636 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25637 return (void *)((wxObject *) ((wxFileHistory *) x));
25638 }
25639 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25640 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25641 }
25642 static void *_p_wxEventTo_p_wxObject(void *x) {
25643 return (void *)((wxObject *) ((wxEvent *) x));
25644 }
25645 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25646 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25647 }
25648 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25649 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25650 }
25651 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25652 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25653 }
25654 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25655 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25656 }
25657 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25658 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25659 }
25660 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25661 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25662 }
25663 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25664 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25665 }
25666 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25667 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25668 }
25669 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25670 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25671 }
25672 static void *_p_wxControlTo_p_wxObject(void *x) {
25673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25674 }
25675 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25676 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25677 }
25678 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25679 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25680 }
25681 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25682 return (void *)((wxObject *) ((wxFSFile *) x));
25683 }
25684 static void *_p_wxClipboardTo_p_wxObject(void *x) {
25685 return (void *)((wxObject *) ((wxClipboard *) x));
25686 }
25687 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25688 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25689 }
25690 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25691 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25692 }
25693 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25694 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25695 }
25696 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25697 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25698 }
25699 static void *_p_wxToolTipTo_p_wxObject(void *x) {
25700 return (void *)((wxObject *) ((wxToolTip *) x));
25701 }
25702 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25703 return (void *)((wxObject *) ((wxMenuItem *) x));
25704 }
25705 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25706 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25707 }
25708 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25709 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25710 }
25711 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25712 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25713 }
25714 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25715 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25716 }
25717 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25718 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25719 }
25720 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25721 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25722 }
25723 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25724 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25725 }
25726 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25727 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25728 }
25729 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25730 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25731 }
25732 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25733 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25734 }
25735 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25736 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25737 }
25738 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25739 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25740 }
25741 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25742 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25743 }
25744 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25745 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25746 }
25747 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25748 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25749 }
25750 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25751 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25752 }
25753 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25754 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25755 }
25756 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25757 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25758 }
25759 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25760 return (void *)((wxObject *) ((wxImageHandler *) x));
25761 }
25762 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25763 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25764 }
25765 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25766 return (void *)((wxObject *) ((wxEvtHandler *) x));
25767 }
25768 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25769 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25770 }
25771 static void *_p_wxImageTo_p_wxObject(void *x) {
25772 return (void *)((wxObject *) ((wxImage *) x));
25773 }
25774 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25775 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25776 }
25777 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25778 return (void *)((wxObject *) ((wxSystemOptions *) x));
25779 }
25780 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25781 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25782 }
25783 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25784 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25785 }
25786 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25787 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25788 }
25789 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25790 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25791 }
25792 static void *_p_wxWindowTo_p_wxObject(void *x) {
25793 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25794 }
25795 static void *_p_wxMenuTo_p_wxObject(void *x) {
25796 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25797 }
25798 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25800 }
25801 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25802 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25803 }
25804 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25805 return (void *)((wxObject *) ((wxFileSystem *) x));
25806 }
25807 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25808 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25809 }
25810 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25811 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25812 }
25813 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25814 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25815 }
25816 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25817 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25818 }
25819 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25820 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25821 }
25822 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25823 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25824 }
25825 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25826 return (void *)((wxObject *) ((wxBusyInfo *) x));
25827 }
25828 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25830 }
25831 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25832 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25833 }
25834 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25835 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25836 }
25837 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25838 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25839 }
25840 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25841 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25842 }
25843 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25844 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25845 }
25846 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25848 }
25849 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25850 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25851 }
25852 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25853 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25854 }
25855 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25856 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25857 }
25858 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25859 return (void *)((wxLog *) ((wxLogStderr *) x));
25860 }
25861 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25862 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25863 }
25864 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25865 return (void *)((wxLog *) ((wxLogWindow *) x));
25866 }
25867 static void *_p_wxLogChainTo_p_wxLog(void *x) {
25868 return (void *)((wxLog *) ((wxLogChain *) x));
25869 }
25870 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25871 return (void *)((wxLog *) ((wxLogGui *) x));
25872 }
25873 static void *_p_wxPyLogTo_p_wxLog(void *x) {
25874 return (void *)((wxLog *) ((wxPyLog *) x));
25875 }
25876 static void *_p_wxControlTo_p_wxWindow(void *x) {
25877 return (void *)((wxWindow *) ((wxControl *) x));
25878 }
25879 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25880 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25881 }
25882 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25883 return (void *)((wxWindow *) ((wxMenuBar *) x));
25884 }
25885 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25886 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25887 }
25888 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25889 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25890 }
25891 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25892 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25893 static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
25894 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25895 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}};
25896 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25897 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25898 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}};
25899 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}};
25900 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25901 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25902 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25903 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25904 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25905 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25906 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25907 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25908 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25909 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25910 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25911 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25912 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25913 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25914 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25915 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25916 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25917 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25918 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25919 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25920 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25921 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25922 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25923 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}};
25924 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25925 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25926 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25927 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25928 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25929 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25930 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25931 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25932 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25933 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25934 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25935 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25936 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25937 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}};
25938 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}};
25939 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25940 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25941 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25942 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25943 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25944 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25945 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25946 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25947 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25948 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25949 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25950 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25951 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25952 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25953 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
25954 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25955 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25956 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25957 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}};
25958 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25959 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25960 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25961 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25962 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25963 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25964 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}};
25965 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25966 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25967 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25968 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25969 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25970 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25971 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25972 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25973 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25974
25975 static swig_type_info *swig_types_initial[] = {
25976 _swigt__p_wxLogChain,
25977 _swigt__p_wxMutexGuiLocker,
25978 _swigt__p_wxMetafile,
25979 _swigt__p_wxFileHistory,
25980 _swigt__p_wxLog,
25981 _swigt__p_wxDateTime__TimeZone,
25982 _swigt__p_wxMenu,
25983 _swigt__p_wxEvent,
25984 _swigt__p_wxConfigBase,
25985 _swigt__p_wxWave,
25986 _swigt__p_wxFileType,
25987 _swigt__p_wxLogGui,
25988 _swigt__p_wxFont,
25989 _swigt__p_wxDataFormat,
25990 _swigt__p_wxTimerEvent,
25991 _swigt__p_wxCaret,
25992 _swigt__p_int,
25993 _swigt__p_wxSize,
25994 _swigt__p_wxClipboard,
25995 _swigt__p_wxStopWatch,
25996 _swigt__p_wxDC,
25997 _swigt__p_wxClipboardLocker,
25998 _swigt__p_wxIcon,
25999 _swigt__p_wxLogStderr,
26000 _swigt__p_wxLogTextCtrl,
26001 _swigt__p_wxTextCtrl,
26002 _swigt__p_wxBusyCursor,
26003 _swigt__p_wxFileDataObject,
26004 _swigt__p_wxPyBitmapDataObject,
26005 _swigt__p_wxPyTextDataObject,
26006 _swigt__p_wxBitmapDataObject,
26007 _swigt__p_wxTextDataObject,
26008 _swigt__p_wxDataObject,
26009 _swigt__p_wxCustomDataObject,
26010 _swigt__p_wxURLDataObject,
26011 _swigt__p_wxMetafileDataObject,
26012 _swigt__p_wxTimerRunner,
26013 _swigt__p_wxLogWindow,
26014 _swigt__p_wxTimeSpan,
26015 _swigt__p_wxArrayString,
26016 _swigt__p_wxWindowDisabler,
26017 _swigt__p_wxToolTip,
26018 _swigt__p_wxDataObjectComposite,
26019 _swigt__p_wxFileConfig,
26020 _swigt__p_wxSystemSettings,
26021 _swigt__p_wxPyDataObjectSimple,
26022 _swigt__p_wxDataObjectSimple,
26023 _swigt__p_wxEvtHandler,
26024 _swigt__p_wxRect,
26025 _swigt__p_wxSingleInstanceChecker,
26026 _swigt__p_wxFileTypeInfo,
26027 _swigt__p_wxFrame,
26028 _swigt__p_wxTimer,
26029 _swigt__p_wxMimeTypesManager,
26030 _swigt__p_wxPyArtProvider,
26031 _swigt__p_wxPyTipProvider,
26032 _swigt__p_wxTipProvider,
26033 _swigt__p_wxJoystick,
26034 _swigt__p_wxSystemOptions,
26035 _swigt__p_wxPoint,
26036 _swigt__p_wxJoystickEvent,
26037 _swigt__p_wxCursor,
26038 _swigt__p_wxObject,
26039 _swigt__p_wxOutputStream,
26040 _swigt__p_wxDateTime,
26041 _swigt__p_wxPyDropSource,
26042 _swigt__p_wxWindow,
26043 _swigt__p_wxString,
26044 _swigt__p_wxPyProcess,
26045 _swigt__p_wxBitmap,
26046 _swigt__p_wxConfig,
26047 _swigt__p_wxChar,
26048 _swigt__p_wxBusyInfo,
26049 _swigt__p_wxPyDropTarget,
26050 _swigt__p_wxPyTextDropTarget,
26051 _swigt__p_wxPyFileDropTarget,
26052 _swigt__p_wxProcessEvent,
26053 _swigt__p_wxPyLog,
26054 _swigt__p_wxLogNull,
26055 _swigt__p_wxColour,
26056 _swigt__p_wxConfigPathChanger,
26057 _swigt__p_wxPyTimer,
26058 _swigt__p_wxDateSpan,
26059 0
26060 };
26061
26062
26063 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26064
26065 static swig_const_info swig_const_table[] = {
26066 { SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
26067 { SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
26068 { SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
26069 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
26070 { SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
26071 { SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
26072 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
26073 { SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
26074 { SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
26075 { SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
26076 { SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
26077 { SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
26078 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
26079 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
26080 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
26081 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
26082 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
26083 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
26084 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
26085 { SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
26086 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
26087 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
26088 { SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
26089 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
26090 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
26091 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
26092 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
26093 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
26094 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
26095 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
26096 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
26097 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
26098 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
26099 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
26100 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
26101 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
26102 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
26103 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
26104 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
26105 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
26106 { SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
26107 { SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
26108 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
26109 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
26110 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
26111 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
26112 { SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
26113 { SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
26114 { SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
26115 { SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
26116 { SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
26117 { SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
26118 { SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
26119 { SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
26120 { SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
26121 { SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
26122 { SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
26123 { SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
26124 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
26125 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
26126 { SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
26127 { SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
26128 { SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
26129 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
26130 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
26131 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
26132 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
26133 { SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
26134 { SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
26135 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
26136 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
26137 { SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
26138 { SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
26139 { SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
26140 { SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
26141 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
26142 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
26143 { SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
26144 { SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26145 { SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26146 { SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26147 { SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26148 { SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26149 { SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26150 { SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26151 { SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26152 { SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26153 { SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26154 { SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26155 { SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26156 { SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26157 { SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26158 { SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26159 { SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26160 { SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26161 { SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26162 { SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26163 { SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26164 { SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26165 { SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26166 { SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26167 { SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26168 { SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26169 { SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26170 { SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26171 { SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26172 { SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26173 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26174 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26175 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26176 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26177 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26178 { SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26179 { SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26180 { SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26181 { SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26182 { SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26183 { SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26184 { SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26185 { SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26186 { SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26187 { SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26188 { SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26189 { SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26190 { SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26191 { SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26192 { SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26193 { SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26194 { SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26195 { SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26196 { SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26197 { SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26198 { SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26199 { SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26200 { SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26201 { SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26202 { SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26203 { SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26204 { SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26205 { SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26206 { SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26207 { SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26208 { SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26209 { SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26210 { SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26211 { SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26212 { SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26213 { SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26214 { SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26215 { SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26216 { SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26217 { SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26218 { SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26219 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26220 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26221 { SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26222 { SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26223 { SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26224 { SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26225 { SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26226 { SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26227 { SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26228 { SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26229 { SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26230 { SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26231 { SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26232 { SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26233 { SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26234 { SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26235 { SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26236 { SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26237 { SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26238 { SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26239 { SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26240 { SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26241 { SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26242 { SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26243 { SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26244 { SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26245 { SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26246 { SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26247 { SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26248 { SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26249 { SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26250 { SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26251 { SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26252 { SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26253 { SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26254 { SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26255 { SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26256 { SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26257 { SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26258 { SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26259 { SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26260 { SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26261 { SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26262 { SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26263 { SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26264 { SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26265 { SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26266 { SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26267 { SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26268 { SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26269 { SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26270 { SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26271 { SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26272 { SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26273 { SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26274 { SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26275 { SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26276 { SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26277 { SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26278 { SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26279 { SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26280 { SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26281 { SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26282 { SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26283 { SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26284 { SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26285 { SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26286 { SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26287 { SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26288 { SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26289 { SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26290 { SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26291 { SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26292 { SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26293 { SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26294 { SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26295 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26296 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26297 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26298 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26299 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26300 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26301 { SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26302 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26303 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26304 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26305 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26306 { SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26307 { SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26308 { SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26309 { SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26310 { SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26311 { SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26312 { SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26313 { SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26314 { SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26315 { SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26316 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26317 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26318 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26319 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26320 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26321 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26322 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26323 { SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26324 { SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26325 { SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26326 { SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26327 { SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26328 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26329 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26330 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26331 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26332 { SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26333 { SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26334 { SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26335 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26336 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26337 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26338 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26339 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26340 { SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26341 { SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26342 { SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26343 { SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26344 { SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26345 { SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26346 { SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26347 { SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26348 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26349 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26350 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26351 { SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26352 { SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26353 { SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26354 { SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26355 { SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26356 { SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26357 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26358 { SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26359 { SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26360 { SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26361 { SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26362 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26363 { SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26364 { SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26365 { SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26366 { SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26367 { SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26368 { SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26369 { SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26370 { SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26371 { SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26372 { SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26373 { SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26374 { SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26375 { SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26376 { SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26377 { SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26378 { SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26379 { SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26380 { SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26381 { SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26382 { SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26383 { SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26384 { SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26385 { SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26386 { SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26387 { SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26388 { SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26389 { SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26390 { SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26391 { SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26392 { SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26393 { SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26394 { SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26395 { SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26396 { SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26397 { SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26398 { SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26399 { SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26400 { SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26401 { SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26402 { SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26403 { SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26404 { SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26405 { SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26406 { SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26407 { SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26408 { SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26409 { SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26410 { SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26411 { SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26412 { SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26413 { SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26414 { SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26415 { SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26416 { SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26417 { SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26418 { SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26419 { SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26420 { SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26421 { SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26422 { SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26423 { SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26424 {0}};
26425
26426 #ifdef __cplusplus
26427 }
26428 #endif
26429
26430 #ifdef __cplusplus
26431 extern "C"
26432 #endif
26433 SWIGEXPORT(void) SWIG_init(void) {
26434 static PyObject *SWIG_globals = 0;
26435 static int typeinit = 0;
26436 PyObject *m, *d;
26437 int i;
26438 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26439 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26440 d = PyModule_GetDict(m);
26441
26442 if (!typeinit) {
26443 for (i = 0; swig_types_initial[i]; i++) {
26444 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26445 }
26446 typeinit = 1;
26447 }
26448 SWIG_InstallConstants(d,swig_const_table);
26449
26450 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26451 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26452 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26453 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26454 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26455 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26456
26457 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26458
26459 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26460 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26461 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26462 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26463 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26464 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26465 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26466 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26467 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26468 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26469 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26470 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26471 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26472 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26473 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26474 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26475 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26476 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26477 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26478 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26479 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26480 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26481 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26482 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26483 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26484 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26485 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26486 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26487 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26488 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26489 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26490 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26491 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26492 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26493 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26494 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26495 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26496 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26497 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26498 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26499 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26500 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26501 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26502
26503 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26504
26505 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
26506 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
26507 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26508
26509 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26510 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26511 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26512 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26513
26514 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26515 }
26516