]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc_wrap.cpp
Lots of bup fixes, API updates, etc
[wxWidgets.git] / wxPython / src / gtk / misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxLogChain swig_types[0]
219 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
220 #define SWIGTYPE_p_wxFileHistory swig_types[2]
221 #define SWIGTYPE_p_wxLog swig_types[3]
222 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
223 #define SWIGTYPE_p_wxMenu swig_types[5]
224 #define SWIGTYPE_p_wxEvent swig_types[6]
225 #define SWIGTYPE_p_wxConfigBase swig_types[7]
226 #define SWIGTYPE_p_wxWave swig_types[8]
227 #define SWIGTYPE_p_wxFileType swig_types[9]
228 #define SWIGTYPE_p_wxLogGui swig_types[10]
229 #define SWIGTYPE_p_wxFont swig_types[11]
230 #define SWIGTYPE_p_wxDataFormat swig_types[12]
231 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
232 #define SWIGTYPE_p_wxCaret swig_types[14]
233 #define SWIGTYPE_p_int swig_types[15]
234 #define SWIGTYPE_p_wxSize swig_types[16]
235 #define SWIGTYPE_p_wxClipboard swig_types[17]
236 #define SWIGTYPE_p_wxStopWatch swig_types[18]
237 #define SWIGTYPE_p_wxDC swig_types[19]
238 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
239 #define SWIGTYPE_p_wxIcon swig_types[21]
240 #define SWIGTYPE_p_wxLogStderr swig_types[22]
241 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
243 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
244 #define SWIGTYPE_p_wxFileDataObject swig_types[26]
245 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
246 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
247 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
248 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
249 #define SWIGTYPE_p_wxDataObject swig_types[31]
250 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
251 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
252 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
253 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
254 #define SWIGTYPE_p_wxLogWindow swig_types[36]
255 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
256 #define SWIGTYPE_p_wxArrayString swig_types[38]
257 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
258 #define SWIGTYPE_p_wxToolTip swig_types[40]
259 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
260 #define SWIGTYPE_p_wxFileConfig swig_types[42]
261 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
262 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
263 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
264 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
265 #define SWIGTYPE_p_wxRect swig_types[47]
266 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
267 #define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
268 #define SWIGTYPE_p_wxFrame swig_types[50]
269 #define SWIGTYPE_p_wxTimer swig_types[51]
270 #define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
271 #define SWIGTYPE_p_wxPyArtProvider swig_types[53]
272 #define SWIGTYPE_p_wxPyTipProvider swig_types[54]
273 #define SWIGTYPE_p_wxTipProvider swig_types[55]
274 #define SWIGTYPE_p_wxJoystick swig_types[56]
275 #define SWIGTYPE_p_wxSystemOptions swig_types[57]
276 #define SWIGTYPE_p_wxPoint swig_types[58]
277 #define SWIGTYPE_p_wxJoystickEvent swig_types[59]
278 #define SWIGTYPE_p_wxCursor swig_types[60]
279 #define SWIGTYPE_p_wxObject swig_types[61]
280 #define SWIGTYPE_p_wxOutputStream swig_types[62]
281 #define SWIGTYPE_p_wxDateTime swig_types[63]
282 #define SWIGTYPE_p_wxPyDropSource swig_types[64]
283 #define SWIGTYPE_p_wxWindow swig_types[65]
284 #define SWIGTYPE_p_wxString swig_types[66]
285 #define SWIGTYPE_p_wxPyProcess swig_types[67]
286 #define SWIGTYPE_p_wxBitmap swig_types[68]
287 #define SWIGTYPE_p_wxConfig swig_types[69]
288 #define SWIGTYPE_p_wxChar swig_types[70]
289 #define SWIGTYPE_p_wxBusyInfo swig_types[71]
290 #define SWIGTYPE_p_wxPyDropTarget swig_types[72]
291 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
292 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
293 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
294 #define SWIGTYPE_p_wxPyLog swig_types[76]
295 #define SWIGTYPE_p_wxLogNull swig_types[77]
296 #define SWIGTYPE_p_wxColour swig_types[78]
297 #define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
298 #define SWIGTYPE_p_wxPyTimer swig_types[80]
299 #define SWIGTYPE_p_wxDateSpan swig_types[81]
300 static swig_type_info *swig_types[83];
301
302 /* -------- TYPES TABLE (END) -------- */
303
304
305 /*-----------------------------------------------
306 @(target):= _misc.so
307 ------------------------------------------------*/
308 #define SWIG_init init_misc
309
310 #define SWIG_name "_misc"
311
312 #include "wx/wxPython/wxPython.h"
313 #include "wx/wxPython/pyclasses.h"
314 #include "wx/wxPython/pyistream.h"
315
316 DECLARE_DEF_STRING(EmptyString);
317
318
319
320
321
322 DECLARE_DEF_STRING(FileSelectorPromptStr);
323 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
324 DECLARE_DEF_STRING(DirSelectorPromptStr);
325
326
327 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
328 PyObject* o2;
329 PyObject* o3;
330
331 if (!target) {
332 target = o;
333 } else if (target == Py_None) {
334 Py_DECREF(Py_None);
335 target = o;
336 } else {
337 if (!PyTuple_Check(target)) {
338 o2 = target;
339 target = PyTuple_New(1);
340 PyTuple_SetItem(target, 0, o2);
341 }
342 o3 = PyTuple_New(1);
343 PyTuple_SetItem(o3, 0, o);
344
345 o2 = target;
346 target = PySequence_Concat(o2, o3);
347 Py_DECREF(o2);
348 Py_DECREF(o3);
349 }
350 return target;
351 }
352
353
354 long wxGetFreeMemory()
355 { PyErr_SetNone(PyExc_NotImplementedError); return 0; }
356
357
358 void wxWakeUpMainThread() {}
359
360
361 bool wxThread_IsMain() {
362 #ifdef WXP_WITH_THREAD
363 return wxThread::IsMain();
364 #else
365 return True;
366 #endif
367 }
368
369
370 int wxCaret_GetBlinkTime() {
371 return wxCaret::GetBlinkTime();
372 }
373
374 void wxCaret_SetBlinkTime(int milliseconds) {
375 wxCaret::SetBlinkTime(milliseconds);
376 }
377
378
379 #include <wx/snglinst.h>
380
381
382 #ifdef __WXMSW__
383 #include <wx/msw/private.h>
384 #include <wx/dynload.h>
385 #endif
386
387
388
389 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
390 {
391 #ifdef __WXMSW__
392
393 switch (method)
394 {
395 case 1:
396 // This one only partially works. Appears to be an undocumented
397 // "standard" convention that not all widgets adhear to. For
398 // example, for some widgets backgrounds or non-client areas may
399 // not be painted.
400 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
401 break;
402
403 case 2:
404 // This one works much better, except for on XP. On Win2k nearly
405 // all widgets and their children are captured correctly[**]. On
406 // XP with Themes activated most native widgets draw only
407 // partially, if at all. Without themes it works just like on
408 // Win2k.
409 //
410 // ** For example the radio buttons in a wxRadioBox are not its
411 // children by default, but you can capture it via the panel
412 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
413 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
414 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
415 PRF_ERASEBKGND | PRF_OWNED );
416 break;
417
418 case 3:
419 // This one is only defined in the latest SDK and is only
420 // available on XP. MSDN says it is similar to sending WM_PRINT
421 // so I expect that it will work similar to the above. Since it
422 // is avaialble only on XP, it can't be compiled like this and
423 // will have to be loaded dynamically.
424 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
425
426 // fall through
427
428 case 4:
429 // Use PrintWindow if available, or fallback to WM_PRINT
430 // otherwise. Unfortunately using PrintWindow is even worse than
431 // WM_PRINT. For most native widgets nothing is drawn to the dc
432 // at all, with or without Themes.
433 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
434 static bool s_triedToLoad = False;
435 static PrintWindow_t pfnPrintWindow = NULL;
436 if ( !s_triedToLoad )
437 {
438
439 s_triedToLoad = True;
440 wxDynamicLibrary dllUser32(_T("user32.dll"));
441 if ( dllUser32.IsLoaded() )
442 {
443 wxLogNull nolog; // Don't report errors here
444 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
445 }
446 }
447 if (pfnPrintWindow)
448 {
449 printf("Using PrintWindow\n");
450 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
451 }
452 else
453 {
454 printf("Using WM_PRINT\n");
455 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
456 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
457 }
458 }
459 #endif
460 }
461
462
463
464 #include <wx/tipdlg.h>
465
466
467 class wxPyTipProvider : public wxTipProvider {
468 public:
469 wxPyTipProvider(size_t currentTip)
470 : wxTipProvider(currentTip) {}
471
472 DEC_PYCALLBACK_STRING__pure(GetTip);
473 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
474 PYPRIVATE;
475 };
476
477 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
478 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
479
480
481 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
482
483 wxString Log_TimeStamp(){
484 wxString msg;
485 wxLog::TimeStamp(&msg);
486 return msg;
487 }
488 void wxLog_Destroy(wxLog *self){ delete self; }
489
490 // A wxLog class that can be derived from in wxPython
491 class wxPyLog : public wxLog {
492 public:
493 wxPyLog() : wxLog() {}
494
495 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
496 bool found;
497 wxPyBeginBlockThreads();
498 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
499 PyObject* s = wx2PyString(szString);
500 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
501 Py_DECREF(s);
502 }
503 wxPyEndBlockThreads();
504 if (! found)
505 wxLog::DoLog(level, szString, t);
506 }
507
508 virtual void DoLogString(const wxChar *szString, time_t t) {
509 bool found;
510 wxPyBeginBlockThreads();
511 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
512 PyObject* s = wx2PyString(szString);
513 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
514 Py_DECREF(s);
515 }
516 wxPyEndBlockThreads();
517 if (! found)
518 wxLog::DoLogString(szString, t);
519 }
520
521 PYPRIVATE;
522 };
523
524
525
526
527 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
528
529
530 #include <wx/joystick.h>
531
532
533 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
534 // A C++ stub class for wxJoystick for platforms that don't have it.
535 class wxJoystick : public wxObject {
536 public:
537 wxJoystick(int joystick = wxJOYSTICK1) {
538 wxPyBeginBlockThreads();
539 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
540 wxPyEndBlockThreads();
541 }
542 wxPoint GetPosition() { return wxPoint(-1,-1); }
543 int GetZPosition() { return -1; }
544 int GetButtonState() { return -1; }
545 int GetPOVPosition() { return -1; }
546 int GetPOVCTSPosition() { return -1; }
547 int GetRudderPosition() { return -1; }
548 int GetUPosition() { return -1; }
549 int GetVPosition() { return -1; }
550 int GetMovementThreshold() { return -1; }
551 void SetMovementThreshold(int threshold) {}
552
553 bool IsOk(void) { return False; }
554 int GetNumberJoysticks() { return -1; }
555 int GetManufacturerId() { return -1; }
556 int GetProductId() { return -1; }
557 wxString GetProductName() { return ""; }
558 int GetXMin() { return -1; }
559 int GetYMin() { return -1; }
560 int GetZMin() { return -1; }
561 int GetXMax() { return -1; }
562 int GetYMax() { return -1; }
563 int GetZMax() { return -1; }
564 int GetNumberButtons() { return -1; }
565 int GetNumberAxes() { return -1; }
566 int GetMaxButtons() { return -1; }
567 int GetMaxAxes() { return -1; }
568 int GetPollingMin() { return -1; }
569 int GetPollingMax() { return -1; }
570 int GetRudderMin() { return -1; }
571 int GetRudderMax() { return -1; }
572 int GetUMin() { return -1; }
573 int GetUMax() { return -1; }
574 int GetVMin() { return -1; }
575 int GetVMax() { return -1; }
576
577 bool HasRudder() { return False; }
578 bool HasZ() { return False; }
579 bool HasU() { return False; }
580 bool HasV() { return False; }
581 bool HasPOV() { return False; }
582 bool HasPOV4Dir() { return False; }
583 bool HasPOVCTS() { return False; }
584
585 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
586 bool ReleaseCapture() { return False; }
587 };
588 #endif
589
590
591 #include <wx/wave.h>
592
593
594 #if !wxUSE_WAVE
595 // A C++ stub class for wxWave for platforms that don't have it.
596 class wxWave : public wxObject
597 {
598 public:
599 wxWave(const wxString& fileName, bool isResource = False) {
600 wxPyBeginBlockThreads();
601 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
602 wxPyEndBlockThreads();
603 }
604 wxWave(int size, const wxByte* data) {
605 wxPyBeginBlockThreads();
606 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
607 wxPyEndBlockThreads();
608 }
609
610 ~wxWave() {}
611
612 bool IsOk() const { return False; }
613 bool Play(bool async = True, bool looped = False) const { return False; }
614 };
615
616 #endif
617
618 wxWave *new_wxWave(wxString const &data){
619 return new wxWave(data.Len(), (wxByte*)data.c_str());
620 }
621
622 #include <wx/mimetype.h>
623
624 PyObject *wxFileType_GetMimeType(wxFileType *self){
625 wxString str;
626 if (self->GetMimeType(&str))
627 return wx2PyString(str);
628 else
629 RETURN_NONE();
630 }
631 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
632 wxArrayString arr;
633 if (self->GetMimeTypes(arr))
634 return wxArrayString2PyList_helper(arr);
635 else
636 RETURN_NONE();
637 }
638 PyObject *wxFileType_GetExtensions(wxFileType *self){
639 wxArrayString arr;
640 if (self->GetExtensions(arr))
641 return wxArrayString2PyList_helper(arr);
642 else
643 RETURN_NONE();
644 }
645 wxIcon *wxFileType_GetIcon(wxFileType *self){
646 wxIconLocation loc;
647 if (self->GetIcon(&loc))
648 return new wxIcon(loc);
649 else
650 return NULL;
651 }
652 PyObject *wxFileType_GetIconInfo(wxFileType *self){
653 wxIconLocation loc;
654 if (self->GetIcon(&loc)) {
655 wxString iconFile = loc.GetFileName();
656 int iconIndex = -1;
657
658
659
660 // Make a tuple and put the values in it
661 wxPyBeginBlockThreads();
662 PyObject* tuple = PyTuple_New(3);
663 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
664 wxT("wxIcon"), True));
665 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
666 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
667 wxPyEndBlockThreads();
668 return tuple;
669 }
670 else
671 RETURN_NONE();
672 }
673 PyObject *wxFileType_GetDescription(wxFileType *self){
674 wxString str;
675 if (self->GetDescription(&str))
676 return wx2PyString(str);
677 else
678 RETURN_NONE();
679 }
680 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
681 wxString str;
682 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
683 return wx2PyString(str);
684 else
685 RETURN_NONE();
686 }
687 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
688 wxString str;
689 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
690 return wx2PyString(str);
691 else
692 RETURN_NONE();
693 }
694 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
695 wxArrayString verbs;
696 wxArrayString commands;
697 if (self->GetAllCommands(&verbs, &commands,
698 wxFileType::MessageParameters(filename, mimetype))) {
699 wxPyBeginBlockThreads();
700 PyObject* tuple = PyTuple_New(2);
701 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
702 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
703 wxPyEndBlockThreads();
704 return tuple;
705 }
706 else
707 RETURN_NONE();
708 }
709 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
710 return wxFileType::ExpandCommand(command,
711 wxFileType::MessageParameters(filename, mimetype));
712 }
713 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
714 wxArrayString arr;
715 self->EnumAllFileTypes(arr);
716 return wxArrayString2PyList_helper(arr);
717 }
718
719 #include <wx/artprov.h>
720
721 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
722 static const wxString wxPyART_MENU(wxART_MENU);
723 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
724 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
725 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
726 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
727 static const wxString wxPyART_OTHER(wxART_OTHER);
728 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
729 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
730 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
731 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
732 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
733 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
734 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
735 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
736 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
737 static const wxString wxPyART_GO_UP(wxART_GO_UP);
738 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
739 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
740 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
741 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
742 static const wxString wxPyART_PRINT(wxART_PRINT);
743 static const wxString wxPyART_HELP(wxART_HELP);
744 static const wxString wxPyART_TIP(wxART_TIP);
745 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
746 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
747 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
748 static const wxString wxPyART_FOLDER(wxART_FOLDER);
749 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
750 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
751 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
752 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
753 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
754 static const wxString wxPyART_ERROR(wxART_ERROR);
755 static const wxString wxPyART_QUESTION(wxART_QUESTION);
756 static const wxString wxPyART_WARNING(wxART_WARNING);
757 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
758 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
759 // Python aware wxArtProvider
760 class wxPyArtProvider : public wxArtProvider {
761 public:
762
763 virtual wxBitmap CreateBitmap(const wxArtID& id,
764 const wxArtClient& client,
765 const wxSize& size) {
766 wxBitmap rval = wxNullBitmap;
767 wxPyBeginBlockThreads();
768 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
769 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
770 PyObject* ro;
771 wxBitmap* ptr;
772 PyObject* s1, *s2;
773 s1 = wx2PyString(id);
774 s2 = wx2PyString(client);
775 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
776 Py_DECREF(so);
777 Py_DECREF(s1);
778 Py_DECREF(s2);
779 if (ro) {
780 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
781 rval = *ptr;
782 Py_DECREF(ro);
783 }
784 }
785 wxPyEndBlockThreads();
786 return rval;
787 }
788
789 PYPRIVATE;
790 };
791
792
793
794
795 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
796 PyObject* ret = PyTuple_New(3);
797 if (ret) {
798 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
799 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
800 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
801 }
802 return ret;
803 }
804
805 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
806 bool cont;
807 long index = 0;
808 wxString value;
809
810 cont = self->GetFirstGroup(value, index);
811 return __EnumerationHelper(cont, value, index);
812 }
813 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
814 bool cont;
815 wxString value;
816
817 cont = self->GetNextGroup(value, index);
818 return __EnumerationHelper(cont, value, index);
819 }
820 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
821 bool cont;
822 long index = 0;
823 wxString value;
824
825 cont = self->GetFirstEntry(value, index);
826 return __EnumerationHelper(cont, value, index);
827 }
828 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
829 bool cont;
830 wxString value;
831
832 cont = self->GetNextEntry(value, index);
833 return __EnumerationHelper(cont, value, index);
834 }
835 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
836 long rv;
837 self->Read(key, &rv, defaultVal);
838 return rv;
839 }
840 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
841 double rv;
842 self->Read(key, &rv, defaultVal);
843 return rv;
844 }
845 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
846 bool rv;
847 self->Read(key, &rv, defaultVal);
848 return rv;
849 }
850
851 #include <wx/datetime.h>
852
853 DECLARE_DEF_STRING2(DateFormatStr, wxT("%c"));
854 DECLARE_DEF_STRING2(TimeSpanFormatStr, wxT("%H:%M:%S"));
855
856
857
858 #define LOCAL_TZ wxDateTime::Local
859
860 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
861 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
862 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
863 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
864 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
865 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
866 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
867 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
868 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
869 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
870 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
871 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
872 const wxChar* rv;
873 const wxChar* _date = date;
874 rv = self->ParseRfc822Date(_date);
875 if (rv == NULL) return -1;
876 return rv - _date;
877 }
878 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
879 const wxChar* rv;
880 const wxChar* _date = date;
881 rv = self->ParseFormat(_date, format, dateDef);
882 if (rv == NULL) return -1;
883 return rv - _date;
884 }
885 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
886 const wxChar* rv;
887 const wxChar* _datetime = datetime;
888 rv = self->ParseDateTime(_datetime);
889 if (rv == NULL) return -1;
890 return rv - _datetime;
891 }
892 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
893 const wxChar* rv;
894 const wxChar* _date = date;
895 rv = self->ParseDate(_date);
896 if (rv == NULL) return -1;
897 return rv - _date;
898 }
899 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
900 const wxChar* rv;
901 const wxChar* _time = time;
902 rv = self->ParseTime(_time);
903 if (rv == NULL) return -1;
904 return rv - _time;
905 }
906 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
907 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
908 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
909 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
910 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
911 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
912 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
913 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
914 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
915 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
916 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
917 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
918 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
919 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
920 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
921 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
922
923 #include <wx/dataobj.h>
924
925 // Create a new class for wxPython to use
926 class wxPyDataObjectSimple : public wxDataObjectSimple {
927 public:
928 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
929 : wxDataObjectSimple(format) {}
930
931 DEC_PYCALLBACK_SIZET__const(GetDataSize);
932 bool GetDataHere(void *buf) const;
933 bool SetData(size_t len, const void *buf) const;
934 PYPRIVATE;
935 };
936
937 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
938
939 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
940 // We need to get the data for this object and write it to buf. I think
941 // the best way to do this for wxPython is to have the Python method
942 // return either a string or None and then act appropriately with the
943 // C++ version.
944
945 bool rval = False;
946 wxPyBeginBlockThreads();
947 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
948 PyObject* ro;
949 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
950 if (ro) {
951 rval = (ro != Py_None && PyString_Check(ro));
952 if (rval)
953 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
954 Py_DECREF(ro);
955 }
956 }
957 wxPyEndBlockThreads();
958 return rval;
959 }
960
961 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
962 // For this one we simply need to make a string from buf and len
963 // and send it to the Python method.
964 bool rval = False;
965 wxPyBeginBlockThreads();
966 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
967 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
968 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
969 Py_DECREF(data);
970 }
971 wxPyEndBlockThreads();
972 return rval;
973 }
974
975 // Create a new class for wxPython to use
976 class wxPyTextDataObject : public wxTextDataObject {
977 public:
978 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
979 : wxTextDataObject(text) {}
980
981 DEC_PYCALLBACK_SIZET__const(GetTextLength);
982 DEC_PYCALLBACK_STRING__const(GetText);
983 DEC_PYCALLBACK__STRING(SetText);
984 PYPRIVATE;
985 };
986
987 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
988 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
989 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
990
991
992 // Create a new class for wxPython to use
993 class wxPyBitmapDataObject : public wxBitmapDataObject {
994 public:
995 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
996 : wxBitmapDataObject(bitmap) {}
997
998 wxBitmap GetBitmap() const;
999 void SetBitmap(const wxBitmap& bitmap);
1000 PYPRIVATE;
1001 };
1002
1003 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1004 wxBitmap* rval = &wxNullBitmap;
1005 wxPyBeginBlockThreads();
1006 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1007 PyObject* ro;
1008 wxBitmap* ptr;
1009 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1010 if (ro) {
1011 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1012 rval = ptr;
1013 Py_DECREF(ro);
1014 }
1015 }
1016 wxPyEndBlockThreads();
1017 return *rval;
1018 }
1019
1020 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1021 wxPyBeginBlockThreads();
1022 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1023 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1024 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1025 Py_DECREF(bo);
1026 }
1027 wxPyEndBlockThreads();
1028 }
1029
1030 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1031 if (PyString_Check(data)) {
1032 // for Python we just call SetData here since we always need it to make a copy.
1033 self->SetData(PyString_Size(data), PyString_AsString(data));
1034 }
1035 else {
1036 // raise a TypeError if not a string
1037 PyErr_SetString(PyExc_TypeError, "String expected.");
1038 }
1039 }
1040 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1041 if (PyString_Check(data)) {
1042 return self->SetData(PyString_Size(data), PyString_AsString(data));
1043 }
1044 else {
1045 // raise a TypeError if not a string
1046 PyErr_SetString(PyExc_TypeError, "String expected.");
1047 return False;
1048 }
1049 }
1050 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1051 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1052 }
1053
1054 class wxMetafileDataObject : public wxDataObjectSimple
1055 {
1056 public:
1057 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); }
1058 };
1059
1060
1061
1062
1063 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1064
1065
1066 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1067 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1068 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1069 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1070 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1071
1072
1073 class wxPyTextDropTarget : public wxTextDropTarget {
1074 public:
1075 wxPyTextDropTarget() {}
1076
1077 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1078
1079 DEC_PYCALLBACK__(OnLeave);
1080 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1081 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1082 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1083 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1084
1085 PYPRIVATE;
1086 };
1087
1088 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1089 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1090 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1091 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1092 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1093 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1094
1095
1096
1097 class wxPyFileDropTarget : public wxFileDropTarget {
1098 public:
1099 wxPyFileDropTarget() {}
1100
1101 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1102
1103 DEC_PYCALLBACK__(OnLeave);
1104 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1105 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1106 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1107 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1108
1109 PYPRIVATE;
1110 };
1111
1112 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1113 const wxArrayString& filenames) {
1114 bool rval = False;
1115 wxPyBeginBlockThreads();
1116 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1117 PyObject* list = wxArrayString2PyList_helper(filenames);
1118 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1119 Py_DECREF(list);
1120 }
1121 wxPyEndBlockThreads();
1122 return rval;
1123 }
1124
1125
1126
1127 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1128 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1129 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1130 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1131 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1132
1133
1134
1135
1136 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1137 #ifdef __cplusplus
1138 extern "C" {
1139 #endif
1140 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1141 PyObject *resultobj;
1142 int arg1 ;
1143 wxColour result;
1144 char *kwnames[] = {
1145 (char *) "index", NULL
1146 };
1147
1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1149 {
1150 PyThreadState* __tstate = wxPyBeginAllowThreads();
1151 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1152
1153 wxPyEndAllowThreads(__tstate);
1154 if (PyErr_Occurred()) SWIG_fail;
1155 }
1156 {
1157 wxColour * resultptr;
1158 resultptr = new wxColour((wxColour &) result);
1159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1160 }
1161 return resultobj;
1162 fail:
1163 return NULL;
1164 }
1165
1166
1167 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1168 PyObject *resultobj;
1169 int arg1 ;
1170 wxFont result;
1171 char *kwnames[] = {
1172 (char *) "index", NULL
1173 };
1174
1175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1176 {
1177 PyThreadState* __tstate = wxPyBeginAllowThreads();
1178 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1179
1180 wxPyEndAllowThreads(__tstate);
1181 if (PyErr_Occurred()) SWIG_fail;
1182 }
1183 {
1184 wxFont * resultptr;
1185 resultptr = new wxFont((wxFont &) result);
1186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1187 }
1188 return resultobj;
1189 fail:
1190 return NULL;
1191 }
1192
1193
1194 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 int arg1 ;
1197 int result;
1198 char *kwnames[] = {
1199 (char *) "index", NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1203 {
1204 PyThreadState* __tstate = wxPyBeginAllowThreads();
1205 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1206
1207 wxPyEndAllowThreads(__tstate);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 }
1210 resultobj = PyInt_FromLong((long)result);
1211 return resultobj;
1212 fail:
1213 return NULL;
1214 }
1215
1216
1217 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1218 PyObject *resultobj;
1219 int arg1 ;
1220 bool result;
1221 char *kwnames[] = {
1222 (char *) "index", NULL
1223 };
1224
1225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1226 {
1227 PyThreadState* __tstate = wxPyBeginAllowThreads();
1228 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1229
1230 wxPyEndAllowThreads(__tstate);
1231 if (PyErr_Occurred()) SWIG_fail;
1232 }
1233 resultobj = PyInt_FromLong((long)result);
1234 return resultobj;
1235 fail:
1236 return NULL;
1237 }
1238
1239
1240 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject *resultobj;
1242 int result;
1243 char *kwnames[] = {
1244 NULL
1245 };
1246
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1248 {
1249 PyThreadState* __tstate = wxPyBeginAllowThreads();
1250 result = (int)wxSystemSettings::GetScreenType();
1251
1252 wxPyEndAllowThreads(__tstate);
1253 if (PyErr_Occurred()) SWIG_fail;
1254 }
1255 resultobj = PyInt_FromLong((long)result);
1256 return resultobj;
1257 fail:
1258 return NULL;
1259 }
1260
1261
1262 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1263 PyObject *resultobj;
1264 int arg1 ;
1265 char *kwnames[] = {
1266 (char *) "screen", NULL
1267 };
1268
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1273
1274 wxPyEndAllowThreads(__tstate);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 }
1277 Py_INCREF(Py_None); resultobj = Py_None;
1278 return resultobj;
1279 fail:
1280 return NULL;
1281 }
1282
1283
1284 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1285 PyObject *obj;
1286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1287 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1288 Py_INCREF(obj);
1289 return Py_BuildValue((char *)"");
1290 }
1291 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject *resultobj;
1293 wxSystemOptions *result;
1294 char *kwnames[] = {
1295 NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1299 {
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = (wxSystemOptions *)new wxSystemOptions();
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1307 return resultobj;
1308 fail:
1309 return NULL;
1310 }
1311
1312
1313 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1314 PyObject *resultobj;
1315 wxString *arg1 = 0 ;
1316 wxString *arg2 = 0 ;
1317 bool temp1 = False ;
1318 bool temp2 = False ;
1319 PyObject * obj0 = 0 ;
1320 PyObject * obj1 = 0 ;
1321 char *kwnames[] = {
1322 (char *) "name",(char *) "value", NULL
1323 };
1324
1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1326 {
1327 arg1 = wxString_in_helper(obj0);
1328 if (arg1 == NULL) SWIG_fail;
1329 temp1 = True;
1330 }
1331 {
1332 arg2 = wxString_in_helper(obj1);
1333 if (arg2 == NULL) SWIG_fail;
1334 temp2 = True;
1335 }
1336 {
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 Py_INCREF(Py_None); resultobj = Py_None;
1344 {
1345 if (temp1)
1346 delete arg1;
1347 }
1348 {
1349 if (temp2)
1350 delete arg2;
1351 }
1352 return resultobj;
1353 fail:
1354 {
1355 if (temp1)
1356 delete arg1;
1357 }
1358 {
1359 if (temp2)
1360 delete arg2;
1361 }
1362 return NULL;
1363 }
1364
1365
1366 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject *resultobj;
1368 wxString *arg1 = 0 ;
1369 int arg2 ;
1370 bool temp1 = False ;
1371 PyObject * obj0 = 0 ;
1372 char *kwnames[] = {
1373 (char *) "name",(char *) "value", NULL
1374 };
1375
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1377 {
1378 arg1 = wxString_in_helper(obj0);
1379 if (arg1 == NULL) SWIG_fail;
1380 temp1 = True;
1381 }
1382 {
1383 PyThreadState* __tstate = wxPyBeginAllowThreads();
1384 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1385
1386 wxPyEndAllowThreads(__tstate);
1387 if (PyErr_Occurred()) SWIG_fail;
1388 }
1389 Py_INCREF(Py_None); resultobj = Py_None;
1390 {
1391 if (temp1)
1392 delete arg1;
1393 }
1394 return resultobj;
1395 fail:
1396 {
1397 if (temp1)
1398 delete arg1;
1399 }
1400 return NULL;
1401 }
1402
1403
1404 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1405 PyObject *resultobj;
1406 wxString *arg1 = 0 ;
1407 wxString result;
1408 bool temp1 = False ;
1409 PyObject * obj0 = 0 ;
1410 char *kwnames[] = {
1411 (char *) "name", NULL
1412 };
1413
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1415 {
1416 arg1 = wxString_in_helper(obj0);
1417 if (arg1 == NULL) SWIG_fail;
1418 temp1 = True;
1419 }
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 {
1428 #if wxUSE_UNICODE
1429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1430 #else
1431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1432 #endif
1433 }
1434 {
1435 if (temp1)
1436 delete arg1;
1437 }
1438 return resultobj;
1439 fail:
1440 {
1441 if (temp1)
1442 delete arg1;
1443 }
1444 return NULL;
1445 }
1446
1447
1448 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxString *arg1 = 0 ;
1451 int result;
1452 bool temp1 = False ;
1453 PyObject * obj0 = 0 ;
1454 char *kwnames[] = {
1455 (char *) "name", NULL
1456 };
1457
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1459 {
1460 arg1 = wxString_in_helper(obj0);
1461 if (arg1 == NULL) SWIG_fail;
1462 temp1 = True;
1463 }
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 resultobj = PyInt_FromLong((long)result);
1472 {
1473 if (temp1)
1474 delete arg1;
1475 }
1476 return resultobj;
1477 fail:
1478 {
1479 if (temp1)
1480 delete arg1;
1481 }
1482 return NULL;
1483 }
1484
1485
1486 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1487 PyObject *resultobj;
1488 wxString *arg1 = 0 ;
1489 bool result;
1490 bool temp1 = False ;
1491 PyObject * obj0 = 0 ;
1492 char *kwnames[] = {
1493 (char *) "name", NULL
1494 };
1495
1496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1497 {
1498 arg1 = wxString_in_helper(obj0);
1499 if (arg1 == NULL) SWIG_fail;
1500 temp1 = True;
1501 }
1502 {
1503 PyThreadState* __tstate = wxPyBeginAllowThreads();
1504 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1505
1506 wxPyEndAllowThreads(__tstate);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 }
1509 resultobj = PyInt_FromLong((long)result);
1510 {
1511 if (temp1)
1512 delete arg1;
1513 }
1514 return resultobj;
1515 fail:
1516 {
1517 if (temp1)
1518 delete arg1;
1519 }
1520 return NULL;
1521 }
1522
1523
1524 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1525 PyObject *obj;
1526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1527 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1528 Py_INCREF(obj);
1529 return Py_BuildValue((char *)"");
1530 }
1531 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject *resultobj;
1533 long result;
1534 char *kwnames[] = {
1535 NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 result = (long)wxNewId();
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 resultobj = PyInt_FromLong((long)result);
1547 return resultobj;
1548 fail:
1549 return NULL;
1550 }
1551
1552
1553 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 long arg1 ;
1556 char *kwnames[] = {
1557 (char *) "id", NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1561 {
1562 PyThreadState* __tstate = wxPyBeginAllowThreads();
1563 wxRegisterId(arg1);
1564
1565 wxPyEndAllowThreads(__tstate);
1566 if (PyErr_Occurred()) SWIG_fail;
1567 }
1568 Py_INCREF(Py_None); resultobj = Py_None;
1569 return resultobj;
1570 fail:
1571 return NULL;
1572 }
1573
1574
1575 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1576 PyObject *resultobj;
1577 long result;
1578 char *kwnames[] = {
1579 NULL
1580 };
1581
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 result = (long)wxGetCurrentId();
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 resultobj = PyInt_FromLong((long)result);
1591 return resultobj;
1592 fail:
1593 return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 char *kwnames[] = {
1600 NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1604 {
1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
1606 wxBell();
1607
1608 wxPyEndAllowThreads(__tstate);
1609 if (PyErr_Occurred()) SWIG_fail;
1610 }
1611 Py_INCREF(Py_None); resultobj = Py_None;
1612 return resultobj;
1613 fail:
1614 return NULL;
1615 }
1616
1617
1618 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1619 PyObject *resultobj;
1620 char *kwnames[] = {
1621 NULL
1622 };
1623
1624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1625 {
1626 PyThreadState* __tstate = wxPyBeginAllowThreads();
1627 wxEndBusyCursor();
1628
1629 wxPyEndAllowThreads(__tstate);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
1632 Py_INCREF(Py_None); resultobj = Py_None;
1633 return resultobj;
1634 fail:
1635 return NULL;
1636 }
1637
1638
1639 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject *resultobj;
1641 bool arg1 = (bool) True ;
1642 long result;
1643 PyObject * obj0 = 0 ;
1644 char *kwnames[] = {
1645 (char *) "resetTimer", NULL
1646 };
1647
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1649 if (obj0) {
1650 arg1 = PyInt_AsLong(obj0) ? true : false;
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 result = (long)wxGetElapsedTime(arg1);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 resultobj = PyInt_FromLong((long)result);
1661 return resultobj;
1662 fail:
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 int *arg1 = (int *) 0 ;
1670 int *arg2 = (int *) 0 ;
1671 int temp1 ;
1672 int temp2 ;
1673 char *kwnames[] = {
1674 NULL
1675 };
1676
1677 arg1 = &temp1;
1678 arg2 = &temp2;
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1680 {
1681 PyThreadState* __tstate = wxPyBeginAllowThreads();
1682 wxGetMousePosition(arg1,arg2);
1683
1684 wxPyEndAllowThreads(__tstate);
1685 if (PyErr_Occurred()) SWIG_fail;
1686 }
1687 Py_INCREF(Py_None); resultobj = Py_None;
1688 {
1689 PyObject *o = PyInt_FromLong((long) (*arg1));
1690 resultobj = t_output_helper(resultobj,o);
1691 }
1692 {
1693 PyObject *o = PyInt_FromLong((long) (*arg2));
1694 resultobj = t_output_helper(resultobj,o);
1695 }
1696 return resultobj;
1697 fail:
1698 return NULL;
1699 }
1700
1701
1702 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject *resultobj;
1704 bool result;
1705 char *kwnames[] = {
1706 NULL
1707 };
1708
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1710 {
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
1712 result = (bool)wxIsBusy();
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 resultobj = PyInt_FromLong((long)result);
1718 return resultobj;
1719 fail:
1720 return NULL;
1721 }
1722
1723
1724 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1725 PyObject *resultobj;
1726 wxString result;
1727 char *kwnames[] = {
1728 NULL
1729 };
1730
1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1732 {
1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
1734 result = wxNow();
1735
1736 wxPyEndAllowThreads(__tstate);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 }
1739 {
1740 #if wxUSE_UNICODE
1741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1742 #else
1743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1744 #endif
1745 }
1746 return resultobj;
1747 fail:
1748 return NULL;
1749 }
1750
1751
1752 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject *resultobj;
1754 wxString const &arg1_defvalue = wxPyEmptyString ;
1755 wxString *arg1 = (wxString *) &arg1_defvalue ;
1756 bool result;
1757 bool temp1 = False ;
1758 PyObject * obj0 = 0 ;
1759 char *kwnames[] = {
1760 (char *) "command", NULL
1761 };
1762
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1764 if (obj0) {
1765 {
1766 arg1 = wxString_in_helper(obj0);
1767 if (arg1 == NULL) SWIG_fail;
1768 temp1 = True;
1769 }
1770 }
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 result = (bool)wxShell((wxString const &)*arg1);
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 resultobj = PyInt_FromLong((long)result);
1779 {
1780 if (temp1)
1781 delete arg1;
1782 }
1783 return resultobj;
1784 fail:
1785 {
1786 if (temp1)
1787 delete arg1;
1788 }
1789 return NULL;
1790 }
1791
1792
1793 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject *resultobj;
1795 char *kwnames[] = {
1796 NULL
1797 };
1798
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 wxStartTimer();
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 Py_INCREF(Py_None); resultobj = Py_None;
1808 return resultobj;
1809 fail:
1810 return NULL;
1811 }
1812
1813
1814 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 int *arg1 = (int *) 0 ;
1817 int *arg2 = (int *) 0 ;
1818 int result;
1819 int temp1 ;
1820 int temp2 ;
1821 char *kwnames[] = {
1822 NULL
1823 };
1824
1825 arg1 = &temp1;
1826 arg2 = &temp2;
1827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 result = (int)wxGetOsVersion(arg1,arg2);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 resultobj = PyInt_FromLong((long)result);
1836 {
1837 PyObject *o = PyInt_FromLong((long) (*arg1));
1838 resultobj = t_output_helper(resultobj,o);
1839 }
1840 {
1841 PyObject *o = PyInt_FromLong((long) (*arg2));
1842 resultobj = t_output_helper(resultobj,o);
1843 }
1844 return resultobj;
1845 fail:
1846 return NULL;
1847 }
1848
1849
1850 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject *resultobj;
1852 wxString result;
1853 char *kwnames[] = {
1854 NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 result = wxGetOsDescription();
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 {
1866 #if wxUSE_UNICODE
1867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1868 #else
1869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1870 #endif
1871 }
1872 return resultobj;
1873 fail:
1874 return NULL;
1875 }
1876
1877
1878 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1879 PyObject *resultobj;
1880 long result;
1881 char *kwnames[] = {
1882 NULL
1883 };
1884
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 result = (long)wxGetFreeMemory();
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 resultobj = PyInt_FromLong((long)result);
1894 return resultobj;
1895 fail:
1896 return NULL;
1897 }
1898
1899
1900 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject *resultobj;
1902 int arg1 ;
1903 bool result;
1904 char *kwnames[] = {
1905 (char *) "wFlags", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 resultobj = PyInt_FromLong((long)result);
1917 return resultobj;
1918 fail:
1919 return NULL;
1920 }
1921
1922
1923 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject *resultobj;
1925 int arg1 ;
1926 char *kwnames[] = {
1927 (char *) "secs", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 wxSleep(arg1);
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 Py_INCREF(Py_None); resultobj = Py_None;
1939 return resultobj;
1940 fail:
1941 return NULL;
1942 }
1943
1944
1945 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 unsigned long arg1 ;
1948 PyObject * obj0 = 0 ;
1949 char *kwnames[] = {
1950 (char *) "milliseconds", NULL
1951 };
1952
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
1954 arg1 = (unsigned long) PyInt_AsLong(obj0);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 {
1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
1958 wxUsleep(arg1);
1959
1960 wxPyEndAllowThreads(__tstate);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 }
1963 Py_INCREF(Py_None); resultobj = Py_None;
1964 return resultobj;
1965 fail:
1966 return NULL;
1967 }
1968
1969
1970 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject *resultobj;
1972 bool arg1 ;
1973 PyObject * obj0 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "enable", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
1979 arg1 = PyInt_AsLong(obj0) ? true : false;
1980 if (PyErr_Occurred()) SWIG_fail;
1981 {
1982 PyThreadState* __tstate = wxPyBeginAllowThreads();
1983 wxEnableTopLevelWindows(arg1);
1984
1985 wxPyEndAllowThreads(__tstate);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 }
1988 Py_INCREF(Py_None); resultobj = Py_None;
1989 return resultobj;
1990 fail:
1991 return NULL;
1992 }
1993
1994
1995 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
1996 PyObject *resultobj;
1997 wxString *arg1 = 0 ;
1998 wxString result;
1999 bool temp1 = False ;
2000 PyObject * obj0 = 0 ;
2001 char *kwnames[] = {
2002 (char *) "in", NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2006 {
2007 arg1 = wxString_in_helper(obj0);
2008 if (arg1 == NULL) SWIG_fail;
2009 temp1 = True;
2010 }
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = wxStripMenuCodes((wxString const &)*arg1);
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 {
2019 #if wxUSE_UNICODE
2020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2021 #else
2022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2023 #endif
2024 }
2025 {
2026 if (temp1)
2027 delete arg1;
2028 }
2029 return resultobj;
2030 fail:
2031 {
2032 if (temp1)
2033 delete arg1;
2034 }
2035 return NULL;
2036 }
2037
2038
2039 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject *resultobj;
2041 wxString result;
2042 char *kwnames[] = {
2043 NULL
2044 };
2045
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2047 {
2048 PyThreadState* __tstate = wxPyBeginAllowThreads();
2049 result = wxGetEmailAddress();
2050
2051 wxPyEndAllowThreads(__tstate);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 {
2055 #if wxUSE_UNICODE
2056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2057 #else
2058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2059 #endif
2060 }
2061 return resultobj;
2062 fail:
2063 return NULL;
2064 }
2065
2066
2067 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject *resultobj;
2069 wxString result;
2070 char *kwnames[] = {
2071 NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2075 {
2076 PyThreadState* __tstate = wxPyBeginAllowThreads();
2077 result = wxGetHostName();
2078
2079 wxPyEndAllowThreads(__tstate);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 }
2082 {
2083 #if wxUSE_UNICODE
2084 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2085 #else
2086 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2087 #endif
2088 }
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxString result;
2098 char *kwnames[] = {
2099 NULL
2100 };
2101
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = wxGetFullHostName();
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111 #if wxUSE_UNICODE
2112 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2113 #else
2114 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2115 #endif
2116 }
2117 return resultobj;
2118 fail:
2119 return NULL;
2120 }
2121
2122
2123 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2124 PyObject *resultobj;
2125 wxString result;
2126 char *kwnames[] = {
2127 NULL
2128 };
2129
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2131 {
2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
2133 result = wxGetUserId();
2134
2135 wxPyEndAllowThreads(__tstate);
2136 if (PyErr_Occurred()) SWIG_fail;
2137 }
2138 {
2139 #if wxUSE_UNICODE
2140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2141 #else
2142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2143 #endif
2144 }
2145 return resultobj;
2146 fail:
2147 return NULL;
2148 }
2149
2150
2151 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject *resultobj;
2153 wxString result;
2154 char *kwnames[] = {
2155 NULL
2156 };
2157
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 result = wxGetUserName();
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 {
2167 #if wxUSE_UNICODE
2168 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2169 #else
2170 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2171 #endif
2172 }
2173 return resultobj;
2174 fail:
2175 return NULL;
2176 }
2177
2178
2179 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2180 PyObject *resultobj;
2181 wxString result;
2182 char *kwnames[] = {
2183 NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2187 {
2188 PyThreadState* __tstate = wxPyBeginAllowThreads();
2189 result = wxGetHomeDir();
2190
2191 wxPyEndAllowThreads(__tstate);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 }
2194 {
2195 #if wxUSE_UNICODE
2196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2197 #else
2198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2199 #endif
2200 }
2201 return resultobj;
2202 fail:
2203 return NULL;
2204 }
2205
2206
2207 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2208 PyObject *resultobj;
2209 wxString const &arg1_defvalue = wxPyEmptyString ;
2210 wxString *arg1 = (wxString *) &arg1_defvalue ;
2211 wxString result;
2212 bool temp1 = False ;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "user", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2219 if (obj0) {
2220 {
2221 arg1 = wxString_in_helper(obj0);
2222 if (arg1 == NULL) SWIG_fail;
2223 temp1 = True;
2224 }
2225 }
2226 {
2227 PyThreadState* __tstate = wxPyBeginAllowThreads();
2228 result = wxGetUserHome((wxString const &)*arg1);
2229
2230 wxPyEndAllowThreads(__tstate);
2231 if (PyErr_Occurred()) SWIG_fail;
2232 }
2233 {
2234 #if wxUSE_UNICODE
2235 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2236 #else
2237 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2238 #endif
2239 }
2240 {
2241 if (temp1)
2242 delete arg1;
2243 }
2244 return resultobj;
2245 fail:
2246 {
2247 if (temp1)
2248 delete arg1;
2249 }
2250 return NULL;
2251 }
2252
2253
2254 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2255 PyObject *resultobj;
2256 unsigned long result;
2257 char *kwnames[] = {
2258 NULL
2259 };
2260
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 result = (unsigned long)wxGetProcessId();
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 resultobj = PyInt_FromLong((long)result);
2270 return resultobj;
2271 fail:
2272 return NULL;
2273 }
2274
2275
2276 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject *resultobj;
2278 char *kwnames[] = {
2279 NULL
2280 };
2281
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 wxTrap();
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
2290 Py_INCREF(Py_None); resultobj = Py_None;
2291 return resultobj;
2292 fail:
2293 return NULL;
2294 }
2295
2296
2297 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2300 wxString *arg1 = (wxString *) &arg1_defvalue ;
2301 wxString const &arg2_defvalue = wxPyEmptyString ;
2302 wxString *arg2 = (wxString *) &arg2_defvalue ;
2303 wxString const &arg3_defvalue = wxPyEmptyString ;
2304 wxString *arg3 = (wxString *) &arg3_defvalue ;
2305 wxString const &arg4_defvalue = wxPyEmptyString ;
2306 wxString *arg4 = (wxString *) &arg4_defvalue ;
2307 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2308 wxString *arg5 = (wxString *) &arg5_defvalue ;
2309 int arg6 = (int) 0 ;
2310 wxWindow *arg7 = (wxWindow *) NULL ;
2311 int arg8 = (int) -1 ;
2312 int arg9 = (int) -1 ;
2313 wxString result;
2314 bool temp1 = False ;
2315 bool temp2 = False ;
2316 bool temp3 = False ;
2317 bool temp4 = False ;
2318 bool temp5 = False ;
2319 PyObject * obj0 = 0 ;
2320 PyObject * obj1 = 0 ;
2321 PyObject * obj2 = 0 ;
2322 PyObject * obj3 = 0 ;
2323 PyObject * obj4 = 0 ;
2324 PyObject * obj6 = 0 ;
2325 char *kwnames[] = {
2326 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2327 };
2328
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2330 if (obj0) {
2331 {
2332 arg1 = wxString_in_helper(obj0);
2333 if (arg1 == NULL) SWIG_fail;
2334 temp1 = True;
2335 }
2336 }
2337 if (obj1) {
2338 {
2339 arg2 = wxString_in_helper(obj1);
2340 if (arg2 == NULL) SWIG_fail;
2341 temp2 = True;
2342 }
2343 }
2344 if (obj2) {
2345 {
2346 arg3 = wxString_in_helper(obj2);
2347 if (arg3 == NULL) SWIG_fail;
2348 temp3 = True;
2349 }
2350 }
2351 if (obj3) {
2352 {
2353 arg4 = wxString_in_helper(obj3);
2354 if (arg4 == NULL) SWIG_fail;
2355 temp4 = True;
2356 }
2357 }
2358 if (obj4) {
2359 {
2360 arg5 = wxString_in_helper(obj4);
2361 if (arg5 == NULL) SWIG_fail;
2362 temp5 = True;
2363 }
2364 }
2365 if (obj6) {
2366 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2367 }
2368 {
2369 PyThreadState* __tstate = wxPyBeginAllowThreads();
2370 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2371
2372 wxPyEndAllowThreads(__tstate);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 }
2375 {
2376 #if wxUSE_UNICODE
2377 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2378 #else
2379 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2380 #endif
2381 }
2382 {
2383 if (temp1)
2384 delete arg1;
2385 }
2386 {
2387 if (temp2)
2388 delete arg2;
2389 }
2390 {
2391 if (temp3)
2392 delete arg3;
2393 }
2394 {
2395 if (temp4)
2396 delete arg4;
2397 }
2398 {
2399 if (temp5)
2400 delete arg5;
2401 }
2402 return resultobj;
2403 fail:
2404 {
2405 if (temp1)
2406 delete arg1;
2407 }
2408 {
2409 if (temp2)
2410 delete arg2;
2411 }
2412 {
2413 if (temp3)
2414 delete arg3;
2415 }
2416 {
2417 if (temp4)
2418 delete arg4;
2419 }
2420 {
2421 if (temp5)
2422 delete arg5;
2423 }
2424 return NULL;
2425 }
2426
2427
2428 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2429 PyObject *resultobj;
2430 wxString *arg1 = 0 ;
2431 wxString *arg2 = 0 ;
2432 wxString const &arg3_defvalue = wxPyEmptyString ;
2433 wxString *arg3 = (wxString *) &arg3_defvalue ;
2434 wxWindow *arg4 = (wxWindow *) NULL ;
2435 wxString result;
2436 bool temp1 = False ;
2437 bool temp2 = False ;
2438 bool temp3 = False ;
2439 PyObject * obj0 = 0 ;
2440 PyObject * obj1 = 0 ;
2441 PyObject * obj2 = 0 ;
2442 PyObject * obj3 = 0 ;
2443 char *kwnames[] = {
2444 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2445 };
2446
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2448 {
2449 arg1 = wxString_in_helper(obj0);
2450 if (arg1 == NULL) SWIG_fail;
2451 temp1 = True;
2452 }
2453 {
2454 arg2 = wxString_in_helper(obj1);
2455 if (arg2 == NULL) SWIG_fail;
2456 temp2 = True;
2457 }
2458 if (obj2) {
2459 {
2460 arg3 = wxString_in_helper(obj2);
2461 if (arg3 == NULL) SWIG_fail;
2462 temp3 = True;
2463 }
2464 }
2465 if (obj3) {
2466 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 }
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 {
2476 #if wxUSE_UNICODE
2477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2478 #else
2479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2480 #endif
2481 }
2482 {
2483 if (temp1)
2484 delete arg1;
2485 }
2486 {
2487 if (temp2)
2488 delete arg2;
2489 }
2490 {
2491 if (temp3)
2492 delete arg3;
2493 }
2494 return resultobj;
2495 fail:
2496 {
2497 if (temp1)
2498 delete arg1;
2499 }
2500 {
2501 if (temp2)
2502 delete arg2;
2503 }
2504 {
2505 if (temp3)
2506 delete arg3;
2507 }
2508 return NULL;
2509 }
2510
2511
2512 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2513 PyObject *resultobj;
2514 wxString *arg1 = 0 ;
2515 wxString *arg2 = 0 ;
2516 wxString const &arg3_defvalue = wxPyEmptyString ;
2517 wxString *arg3 = (wxString *) &arg3_defvalue ;
2518 wxWindow *arg4 = (wxWindow *) NULL ;
2519 wxString result;
2520 bool temp1 = False ;
2521 bool temp2 = False ;
2522 bool temp3 = False ;
2523 PyObject * obj0 = 0 ;
2524 PyObject * obj1 = 0 ;
2525 PyObject * obj2 = 0 ;
2526 PyObject * obj3 = 0 ;
2527 char *kwnames[] = {
2528 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2529 };
2530
2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2532 {
2533 arg1 = wxString_in_helper(obj0);
2534 if (arg1 == NULL) SWIG_fail;
2535 temp1 = True;
2536 }
2537 {
2538 arg2 = wxString_in_helper(obj1);
2539 if (arg2 == NULL) SWIG_fail;
2540 temp2 = True;
2541 }
2542 if (obj2) {
2543 {
2544 arg3 = wxString_in_helper(obj2);
2545 if (arg3 == NULL) SWIG_fail;
2546 temp3 = True;
2547 }
2548 }
2549 if (obj3) {
2550 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2551 }
2552 {
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 {
2560 #if wxUSE_UNICODE
2561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2562 #else
2563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2564 #endif
2565 }
2566 {
2567 if (temp1)
2568 delete arg1;
2569 }
2570 {
2571 if (temp2)
2572 delete arg2;
2573 }
2574 {
2575 if (temp3)
2576 delete arg3;
2577 }
2578 return resultobj;
2579 fail:
2580 {
2581 if (temp1)
2582 delete arg1;
2583 }
2584 {
2585 if (temp2)
2586 delete arg2;
2587 }
2588 {
2589 if (temp3)
2590 delete arg3;
2591 }
2592 return NULL;
2593 }
2594
2595
2596 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2597 PyObject *resultobj;
2598 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2599 wxString *arg1 = (wxString *) &arg1_defvalue ;
2600 wxString const &arg2_defvalue = wxPyEmptyString ;
2601 wxString *arg2 = (wxString *) &arg2_defvalue ;
2602 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2603 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2604 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2605 wxWindow *arg5 = (wxWindow *) NULL ;
2606 wxString result;
2607 bool temp1 = False ;
2608 bool temp2 = False ;
2609 wxPoint temp4 ;
2610 PyObject * obj0 = 0 ;
2611 PyObject * obj1 = 0 ;
2612 PyObject * obj3 = 0 ;
2613 PyObject * obj4 = 0 ;
2614 char *kwnames[] = {
2615 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2616 };
2617
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2619 if (obj0) {
2620 {
2621 arg1 = wxString_in_helper(obj0);
2622 if (arg1 == NULL) SWIG_fail;
2623 temp1 = True;
2624 }
2625 }
2626 if (obj1) {
2627 {
2628 arg2 = wxString_in_helper(obj1);
2629 if (arg2 == NULL) SWIG_fail;
2630 temp2 = True;
2631 }
2632 }
2633 if (obj3) {
2634 {
2635 arg4 = &temp4;
2636 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2637 }
2638 }
2639 if (obj4) {
2640 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2641 }
2642 {
2643 PyThreadState* __tstate = wxPyBeginAllowThreads();
2644 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2645
2646 wxPyEndAllowThreads(__tstate);
2647 if (PyErr_Occurred()) SWIG_fail;
2648 }
2649 {
2650 #if wxUSE_UNICODE
2651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2652 #else
2653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2654 #endif
2655 }
2656 {
2657 if (temp1)
2658 delete arg1;
2659 }
2660 {
2661 if (temp2)
2662 delete arg2;
2663 }
2664 return resultobj;
2665 fail:
2666 {
2667 if (temp1)
2668 delete arg1;
2669 }
2670 {
2671 if (temp2)
2672 delete arg2;
2673 }
2674 return NULL;
2675 }
2676
2677
2678 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxString *arg1 = 0 ;
2681 wxString const &arg2_defvalue = wxPyEmptyString ;
2682 wxString *arg2 = (wxString *) &arg2_defvalue ;
2683 wxString const &arg3_defvalue = wxPyEmptyString ;
2684 wxString *arg3 = (wxString *) &arg3_defvalue ;
2685 wxWindow *arg4 = (wxWindow *) NULL ;
2686 int arg5 = (int) -1 ;
2687 int arg6 = (int) -1 ;
2688 bool arg7 = (bool) True ;
2689 wxString result;
2690 bool temp1 = False ;
2691 bool temp2 = False ;
2692 bool temp3 = False ;
2693 PyObject * obj0 = 0 ;
2694 PyObject * obj1 = 0 ;
2695 PyObject * obj2 = 0 ;
2696 PyObject * obj3 = 0 ;
2697 PyObject * obj6 = 0 ;
2698 char *kwnames[] = {
2699 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2700 };
2701
2702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2703 {
2704 arg1 = wxString_in_helper(obj0);
2705 if (arg1 == NULL) SWIG_fail;
2706 temp1 = True;
2707 }
2708 if (obj1) {
2709 {
2710 arg2 = wxString_in_helper(obj1);
2711 if (arg2 == NULL) SWIG_fail;
2712 temp2 = True;
2713 }
2714 }
2715 if (obj2) {
2716 {
2717 arg3 = wxString_in_helper(obj2);
2718 if (arg3 == NULL) SWIG_fail;
2719 temp3 = True;
2720 }
2721 }
2722 if (obj3) {
2723 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2724 }
2725 if (obj6) {
2726 arg7 = PyInt_AsLong(obj6) ? true : false;
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 {
2737 #if wxUSE_UNICODE
2738 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2739 #else
2740 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2741 #endif
2742 }
2743 {
2744 if (temp1)
2745 delete arg1;
2746 }
2747 {
2748 if (temp2)
2749 delete arg2;
2750 }
2751 {
2752 if (temp3)
2753 delete arg3;
2754 }
2755 return resultobj;
2756 fail:
2757 {
2758 if (temp1)
2759 delete arg1;
2760 }
2761 {
2762 if (temp2)
2763 delete arg2;
2764 }
2765 {
2766 if (temp3)
2767 delete arg3;
2768 }
2769 return NULL;
2770 }
2771
2772
2773 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2774 PyObject *resultobj;
2775 wxString *arg1 = 0 ;
2776 wxString const &arg2_defvalue = wxPyEmptyString ;
2777 wxString *arg2 = (wxString *) &arg2_defvalue ;
2778 wxString const &arg3_defvalue = wxPyEmptyString ;
2779 wxString *arg3 = (wxString *) &arg3_defvalue ;
2780 wxWindow *arg4 = (wxWindow *) NULL ;
2781 wxString result;
2782 bool temp1 = False ;
2783 bool temp2 = False ;
2784 bool temp3 = False ;
2785 PyObject * obj0 = 0 ;
2786 PyObject * obj1 = 0 ;
2787 PyObject * obj2 = 0 ;
2788 PyObject * obj3 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2794 {
2795 arg1 = wxString_in_helper(obj0);
2796 if (arg1 == NULL) SWIG_fail;
2797 temp1 = True;
2798 }
2799 if (obj1) {
2800 {
2801 arg2 = wxString_in_helper(obj1);
2802 if (arg2 == NULL) SWIG_fail;
2803 temp2 = True;
2804 }
2805 }
2806 if (obj2) {
2807 {
2808 arg3 = wxString_in_helper(obj2);
2809 if (arg3 == NULL) SWIG_fail;
2810 temp3 = True;
2811 }
2812 }
2813 if (obj3) {
2814 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2815 }
2816 {
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 {
2824 #if wxUSE_UNICODE
2825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2826 #else
2827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2828 #endif
2829 }
2830 {
2831 if (temp1)
2832 delete arg1;
2833 }
2834 {
2835 if (temp2)
2836 delete arg2;
2837 }
2838 {
2839 if (temp3)
2840 delete arg3;
2841 }
2842 return resultobj;
2843 fail:
2844 {
2845 if (temp1)
2846 delete arg1;
2847 }
2848 {
2849 if (temp2)
2850 delete arg2;
2851 }
2852 {
2853 if (temp3)
2854 delete arg3;
2855 }
2856 return NULL;
2857 }
2858
2859
2860 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 wxString *arg1 = 0 ;
2863 wxString *arg2 = 0 ;
2864 int arg3 ;
2865 wxString *arg4 = (wxString *) 0 ;
2866 wxWindow *arg5 = (wxWindow *) NULL ;
2867 int arg6 = (int) -1 ;
2868 int arg7 = (int) -1 ;
2869 bool arg8 = (bool) True ;
2870 int arg9 = (int) 150 ;
2871 int arg10 = (int) 200 ;
2872 wxString result;
2873 bool temp1 = False ;
2874 bool temp2 = False ;
2875 PyObject * obj0 = 0 ;
2876 PyObject * obj1 = 0 ;
2877 PyObject * obj2 = 0 ;
2878 PyObject * obj3 = 0 ;
2879 PyObject * obj6 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2885 {
2886 arg1 = wxString_in_helper(obj0);
2887 if (arg1 == NULL) SWIG_fail;
2888 temp1 = True;
2889 }
2890 {
2891 arg2 = wxString_in_helper(obj1);
2892 if (arg2 == NULL) SWIG_fail;
2893 temp2 = True;
2894 }
2895 {
2896 arg3 = PyList_Size(obj2);
2897 arg4 = wxString_LIST_helper(obj2);
2898 if (arg4 == NULL) SWIG_fail;
2899 }
2900 if (obj3) {
2901 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 }
2903 if (obj6) {
2904 arg8 = PyInt_AsLong(obj6) ? true : false;
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 {
2915 #if wxUSE_UNICODE
2916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2917 #else
2918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2919 #endif
2920 }
2921 {
2922 if (temp1)
2923 delete arg1;
2924 }
2925 {
2926 if (temp2)
2927 delete arg2;
2928 }
2929 {
2930 if (arg4) delete [] arg4;
2931 }
2932 return resultobj;
2933 fail:
2934 {
2935 if (temp1)
2936 delete arg1;
2937 }
2938 {
2939 if (temp2)
2940 delete arg2;
2941 }
2942 {
2943 if (arg4) delete [] arg4;
2944 }
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxString *arg1 = 0 ;
2952 wxString *arg2 = 0 ;
2953 int arg3 ;
2954 wxString *arg4 = (wxString *) 0 ;
2955 wxWindow *arg5 = (wxWindow *) NULL ;
2956 int arg6 = (int) -1 ;
2957 int arg7 = (int) -1 ;
2958 bool arg8 = (bool) True ;
2959 int arg9 = (int) 150 ;
2960 int arg10 = (int) 200 ;
2961 int result;
2962 bool temp1 = False ;
2963 bool temp2 = False ;
2964 PyObject * obj0 = 0 ;
2965 PyObject * obj1 = 0 ;
2966 PyObject * obj2 = 0 ;
2967 PyObject * obj3 = 0 ;
2968 PyObject * obj6 = 0 ;
2969 char *kwnames[] = {
2970 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2971 };
2972
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2974 {
2975 arg1 = wxString_in_helper(obj0);
2976 if (arg1 == NULL) SWIG_fail;
2977 temp1 = True;
2978 }
2979 {
2980 arg2 = wxString_in_helper(obj1);
2981 if (arg2 == NULL) SWIG_fail;
2982 temp2 = True;
2983 }
2984 {
2985 arg3 = PyList_Size(obj2);
2986 arg4 = wxString_LIST_helper(obj2);
2987 if (arg4 == NULL) SWIG_fail;
2988 }
2989 if (obj3) {
2990 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2991 }
2992 if (obj6) {
2993 arg8 = PyInt_AsLong(obj6) ? true : false;
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 resultobj = PyInt_FromLong((long)result);
3004 {
3005 if (temp1)
3006 delete arg1;
3007 }
3008 {
3009 if (temp2)
3010 delete arg2;
3011 }
3012 {
3013 if (arg4) delete [] arg4;
3014 }
3015 return resultobj;
3016 fail:
3017 {
3018 if (temp1)
3019 delete arg1;
3020 }
3021 {
3022 if (temp2)
3023 delete arg2;
3024 }
3025 {
3026 if (arg4) delete [] arg4;
3027 }
3028 return NULL;
3029 }
3030
3031
3032 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3033 PyObject *resultobj;
3034 wxString *arg1 = 0 ;
3035 wxString const &arg2_defvalue = wxPyEmptyString ;
3036 wxString *arg2 = (wxString *) &arg2_defvalue ;
3037 int arg3 = (int) wxOK|wxCENTRE ;
3038 wxWindow *arg4 = (wxWindow *) NULL ;
3039 int arg5 = (int) -1 ;
3040 int arg6 = (int) -1 ;
3041 int result;
3042 bool temp1 = False ;
3043 bool temp2 = False ;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj3 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3052 {
3053 arg1 = wxString_in_helper(obj0);
3054 if (arg1 == NULL) SWIG_fail;
3055 temp1 = True;
3056 }
3057 if (obj1) {
3058 {
3059 arg2 = wxString_in_helper(obj1);
3060 if (arg2 == NULL) SWIG_fail;
3061 temp2 = True;
3062 }
3063 }
3064 if (obj3) {
3065 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3066 }
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 resultobj = PyInt_FromLong((long)result);
3075 {
3076 if (temp1)
3077 delete arg1;
3078 }
3079 {
3080 if (temp2)
3081 delete arg2;
3082 }
3083 return resultobj;
3084 fail:
3085 {
3086 if (temp1)
3087 delete arg1;
3088 }
3089 {
3090 if (temp2)
3091 delete arg2;
3092 }
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxString *arg1 = 0 ;
3100 wxString *arg2 = 0 ;
3101 wxString *arg3 = 0 ;
3102 long arg4 ;
3103 long arg5 = (long) 0 ;
3104 long arg6 = (long) 100 ;
3105 wxWindow *arg7 = (wxWindow *) NULL ;
3106 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3107 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3108 long result;
3109 bool temp1 = False ;
3110 bool temp2 = False ;
3111 bool temp3 = False ;
3112 wxPoint temp8 ;
3113 PyObject * obj0 = 0 ;
3114 PyObject * obj1 = 0 ;
3115 PyObject * obj2 = 0 ;
3116 PyObject * obj6 = 0 ;
3117 PyObject * obj7 = 0 ;
3118 char *kwnames[] = {
3119 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3123 {
3124 arg1 = wxString_in_helper(obj0);
3125 if (arg1 == NULL) SWIG_fail;
3126 temp1 = True;
3127 }
3128 {
3129 arg2 = wxString_in_helper(obj1);
3130 if (arg2 == NULL) SWIG_fail;
3131 temp2 = True;
3132 }
3133 {
3134 arg3 = wxString_in_helper(obj2);
3135 if (arg3 == NULL) SWIG_fail;
3136 temp3 = True;
3137 }
3138 if (obj6) {
3139 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3140 }
3141 if (obj7) {
3142 {
3143 arg8 = &temp8;
3144 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3145 }
3146 }
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 resultobj = PyInt_FromLong((long)result);
3155 {
3156 if (temp1)
3157 delete arg1;
3158 }
3159 {
3160 if (temp2)
3161 delete arg2;
3162 }
3163 {
3164 if (temp3)
3165 delete arg3;
3166 }
3167 return resultobj;
3168 fail:
3169 {
3170 if (temp1)
3171 delete arg1;
3172 }
3173 {
3174 if (temp2)
3175 delete arg2;
3176 }
3177 {
3178 if (temp3)
3179 delete arg3;
3180 }
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 bool result;
3188 char *kwnames[] = {
3189 NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 result = (bool)wxColourDisplay();
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 resultobj = PyInt_FromLong((long)result);
3201 return resultobj;
3202 fail:
3203 return NULL;
3204 }
3205
3206
3207 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 int result;
3210 char *kwnames[] = {
3211 NULL
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 result = (int)wxDisplayDepth();
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 resultobj = PyInt_FromLong((long)result);
3223 return resultobj;
3224 fail:
3225 return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 int result;
3232 char *kwnames[] = {
3233 NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 result = (int)wxGetDisplayDepth();
3240
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 resultobj = PyInt_FromLong((long)result);
3245 return resultobj;
3246 fail:
3247 return NULL;
3248 }
3249
3250
3251 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 int *arg1 = (int *) 0 ;
3254 int *arg2 = (int *) 0 ;
3255 int temp1 ;
3256 int temp2 ;
3257 char *kwnames[] = {
3258 NULL
3259 };
3260
3261 arg1 = &temp1;
3262 arg2 = &temp2;
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 wxDisplaySize(arg1,arg2);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
3272 {
3273 PyObject *o = PyInt_FromLong((long) (*arg1));
3274 resultobj = t_output_helper(resultobj,o);
3275 }
3276 {
3277 PyObject *o = PyInt_FromLong((long) (*arg2));
3278 resultobj = t_output_helper(resultobj,o);
3279 }
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxSize result;
3289 char *kwnames[] = {
3290 NULL
3291 };
3292
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 result = wxGetDisplaySize();
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 {
3302 wxSize * resultptr;
3303 resultptr = new wxSize((wxSize &) result);
3304 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3305 }
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 int *arg1 = (int *) 0 ;
3315 int *arg2 = (int *) 0 ;
3316 int temp1 ;
3317 int temp2 ;
3318 char *kwnames[] = {
3319 NULL
3320 };
3321
3322 arg1 = &temp1;
3323 arg2 = &temp2;
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 wxDisplaySizeMM(arg1,arg2);
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 Py_INCREF(Py_None); resultobj = Py_None;
3333 {
3334 PyObject *o = PyInt_FromLong((long) (*arg1));
3335 resultobj = t_output_helper(resultobj,o);
3336 }
3337 {
3338 PyObject *o = PyInt_FromLong((long) (*arg2));
3339 resultobj = t_output_helper(resultobj,o);
3340 }
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxSize result;
3350 char *kwnames[] = {
3351 NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 result = wxGetDisplaySizeMM();
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 {
3363 wxSize * resultptr;
3364 resultptr = new wxSize((wxSize &) result);
3365 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3366 }
3367 return resultobj;
3368 fail:
3369 return NULL;
3370 }
3371
3372
3373 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject *resultobj;
3375 int *arg1 = (int *) 0 ;
3376 int *arg2 = (int *) 0 ;
3377 int *arg3 = (int *) 0 ;
3378 int *arg4 = (int *) 0 ;
3379 int temp1 ;
3380 int temp2 ;
3381 int temp3 ;
3382 int temp4 ;
3383 char *kwnames[] = {
3384 NULL
3385 };
3386
3387 arg1 = &temp1;
3388 arg2 = &temp2;
3389 arg3 = &temp3;
3390 arg4 = &temp4;
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 Py_INCREF(Py_None); resultobj = Py_None;
3400 {
3401 PyObject *o = PyInt_FromLong((long) (*arg1));
3402 resultobj = t_output_helper(resultobj,o);
3403 }
3404 {
3405 PyObject *o = PyInt_FromLong((long) (*arg2));
3406 resultobj = t_output_helper(resultobj,o);
3407 }
3408 {
3409 PyObject *o = PyInt_FromLong((long) (*arg3));
3410 resultobj = t_output_helper(resultobj,o);
3411 }
3412 {
3413 PyObject *o = PyInt_FromLong((long) (*arg4));
3414 resultobj = t_output_helper(resultobj,o);
3415 }
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxRect result;
3425 char *kwnames[] = {
3426 NULL
3427 };
3428
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3430 {
3431 PyThreadState* __tstate = wxPyBeginAllowThreads();
3432 result = wxGetClientDisplayRect();
3433
3434 wxPyEndAllowThreads(__tstate);
3435 if (PyErr_Occurred()) SWIG_fail;
3436 }
3437 {
3438 wxRect * resultptr;
3439 resultptr = new wxRect((wxRect &) result);
3440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3441 }
3442 return resultobj;
3443 fail:
3444 return NULL;
3445 }
3446
3447
3448 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3449 PyObject *resultobj;
3450 wxCursor *arg1 = 0 ;
3451 PyObject * obj0 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "cursor", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3458 if (arg1 == NULL) {
3459 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3460 }
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 wxSetCursor(*arg1);
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 Py_INCREF(Py_None); resultobj = Py_None;
3469 return resultobj;
3470 fail:
3471 return NULL;
3472 }
3473
3474
3475 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3478 PyObject * obj0 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "cursor", NULL
3481 };
3482
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3484 if (obj0) {
3485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3486 }
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 wxBeginBusyCursor(arg1);
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 Py_INCREF(Py_None); resultobj = Py_None;
3495 return resultobj;
3496 fail:
3497 return NULL;
3498 }
3499
3500
3501 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3502 PyObject *resultobj;
3503 wxWindow *result;
3504 char *kwnames[] = {
3505 NULL
3506 };
3507
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 result = (wxWindow *)wxGetActiveWindow();
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 {
3517 resultobj = wxPyMake_wxObject(result);
3518 }
3519 return resultobj;
3520 fail:
3521 return NULL;
3522 }
3523
3524
3525 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3526 PyObject *resultobj;
3527 wxPoint *arg1 = 0 ;
3528 wxWindow *result;
3529 wxPoint temp1 ;
3530 PyObject * obj0 = 0 ;
3531 char *kwnames[] = {
3532 (char *) "pt", NULL
3533 };
3534
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3536 {
3537 arg1 = &temp1;
3538 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3539 }
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = wxPyMake_wxObject(result);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxPoint *arg1 = 0 ;
3559 wxWindow *result;
3560 wxPoint temp1 ;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "pt", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3567 {
3568 arg1 = &temp1;
3569 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3570 }
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 {
3579 resultobj = wxPyMake_wxObject(result);
3580 }
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxWindow *arg1 = (wxWindow *) 0 ;
3590 wxWindow *result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "win", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (wxWindow *)wxGetTopLevelParent(arg1);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 {
3606 resultobj = wxPyMake_wxObject(result);
3607 }
3608 return resultobj;
3609 fail:
3610 return NULL;
3611 }
3612
3613
3614 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 char *kwnames[] = {
3617 NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 wxWakeUpMainThread();
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 Py_INCREF(Py_None); resultobj = Py_None;
3629 return resultobj;
3630 fail:
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 char *kwnames[] = {
3638 NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 wxMutexGuiEnter();
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 char *kwnames[] = {
3659 NULL
3660 };
3661
3662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 wxMutexGuiLeave();
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 return resultobj;
3672 fail:
3673 return NULL;
3674 }
3675
3676
3677 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxMutexGuiLocker *result;
3680 char *kwnames[] = {
3681 NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3702 PyObject * obj0 = 0 ;
3703 char *kwnames[] = {
3704 (char *) "self", NULL
3705 };
3706
3707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 delete arg1;
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 }
3716 Py_INCREF(Py_None); resultobj = Py_None;
3717 return resultobj;
3718 fail:
3719 return NULL;
3720 }
3721
3722
3723 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3724 PyObject *obj;
3725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3726 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3727 Py_INCREF(obj);
3728 return Py_BuildValue((char *)"");
3729 }
3730 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 bool result;
3733 char *kwnames[] = {
3734 NULL
3735 };
3736
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 result = (bool)wxThread_IsMain();
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 resultobj = PyInt_FromLong((long)result);
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj;
3754 wxString *arg1 = 0 ;
3755 wxToolTip *result;
3756 bool temp1 = False ;
3757 PyObject * obj0 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "tip", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3763 {
3764 arg1 = wxString_in_helper(obj0);
3765 if (arg1 == NULL) SWIG_fail;
3766 temp1 = True;
3767 }
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 {
3776 resultobj = wxPyMake_wxObject(result);
3777 }
3778 {
3779 if (temp1)
3780 delete arg1;
3781 }
3782 return resultobj;
3783 fail:
3784 {
3785 if (temp1)
3786 delete arg1;
3787 }
3788 return NULL;
3789 }
3790
3791
3792 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxToolTip *arg1 = (wxToolTip *) 0 ;
3795 wxString *arg2 = 0 ;
3796 bool temp2 = False ;
3797 PyObject * obj0 = 0 ;
3798 PyObject * obj1 = 0 ;
3799 char *kwnames[] = {
3800 (char *) "self",(char *) "tip", NULL
3801 };
3802
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3805 {
3806 arg2 = wxString_in_helper(obj1);
3807 if (arg2 == NULL) SWIG_fail;
3808 temp2 = True;
3809 }
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 (arg1)->SetTip((wxString const &)*arg2);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 Py_INCREF(Py_None); resultobj = Py_None;
3818 {
3819 if (temp2)
3820 delete arg2;
3821 }
3822 return resultobj;
3823 fail:
3824 {
3825 if (temp2)
3826 delete arg2;
3827 }
3828 return NULL;
3829 }
3830
3831
3832 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3833 PyObject *resultobj;
3834 wxToolTip *arg1 = (wxToolTip *) 0 ;
3835 wxString result;
3836 PyObject * obj0 = 0 ;
3837 char *kwnames[] = {
3838 (char *) "self", NULL
3839 };
3840
3841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3843 {
3844 PyThreadState* __tstate = wxPyBeginAllowThreads();
3845 result = (arg1)->GetTip();
3846
3847 wxPyEndAllowThreads(__tstate);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 {
3851 #if wxUSE_UNICODE
3852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3853 #else
3854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3855 #endif
3856 }
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxToolTip *arg1 = (wxToolTip *) 0 ;
3866 wxWindow *result;
3867 PyObject * obj0 = 0 ;
3868 char *kwnames[] = {
3869 (char *) "self", NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 result = (wxWindow *)(arg1)->GetWindow();
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 {
3882 resultobj = wxPyMake_wxObject(result);
3883 }
3884 return resultobj;
3885 fail:
3886 return NULL;
3887 }
3888
3889
3890 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj;
3892 bool arg1 ;
3893 PyObject * obj0 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "flag", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3899 arg1 = PyInt_AsLong(obj0) ? true : false;
3900 if (PyErr_Occurred()) SWIG_fail;
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 wxToolTip::Enable(arg1);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 Py_INCREF(Py_None); resultobj = Py_None;
3909 return resultobj;
3910 fail:
3911 return NULL;
3912 }
3913
3914
3915 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 long arg1 ;
3918 char *kwnames[] = {
3919 (char *) "milliseconds", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 wxToolTip::SetDelay(arg1);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 Py_INCREF(Py_None); resultobj = Py_None;
3931 return resultobj;
3932 fail:
3933 return NULL;
3934 }
3935
3936
3937 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
3938 PyObject *obj;
3939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3940 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
3941 Py_INCREF(obj);
3942 return Py_BuildValue((char *)"");
3943 }
3944 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxWindow *arg1 = (wxWindow *) 0 ;
3947 wxSize *arg2 = 0 ;
3948 wxCaret *result;
3949 wxSize temp2 ;
3950 PyObject * obj0 = 0 ;
3951 PyObject * obj1 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "window",(char *) "size", NULL
3954 };
3955
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3958 {
3959 arg2 = &temp2;
3960 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3961 }
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
3970 return resultobj;
3971 fail:
3972 return NULL;
3973 }
3974
3975
3976 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 wxCaret *arg1 = (wxCaret *) 0 ;
3979 PyObject * obj0 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 delete arg1;
3989
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 Py_INCREF(Py_None); resultobj = Py_None;
3994 return resultobj;
3995 fail:
3996 return NULL;
3997 }
3998
3999
4000 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4001 PyObject *resultobj;
4002 wxCaret *arg1 = (wxCaret *) 0 ;
4003 bool result;
4004 PyObject * obj0 = 0 ;
4005 char *kwnames[] = {
4006 (char *) "self", NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = (bool)(arg1)->IsOk();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = PyInt_FromLong((long)result);
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxCaret *arg1 = (wxCaret *) 0 ;
4028 bool result;
4029 PyObject * obj0 = 0 ;
4030 char *kwnames[] = {
4031 (char *) "self", NULL
4032 };
4033
4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 result = (bool)(arg1)->IsVisible();
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 resultobj = PyInt_FromLong((long)result);
4044 return resultobj;
4045 fail:
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxCaret *arg1 = (wxCaret *) 0 ;
4053 wxPoint result;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 result = (arg1)->GetPosition();
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 {
4069 wxPoint * resultptr;
4070 resultptr = new wxPoint((wxPoint &) result);
4071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4072 }
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxCaret *arg1 = (wxCaret *) 0 ;
4082 int *arg2 = (int *) 0 ;
4083 int *arg3 = (int *) 0 ;
4084 int temp2 ;
4085 int temp3 ;
4086 PyObject * obj0 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self", NULL
4089 };
4090
4091 arg2 = &temp2;
4092 arg3 = &temp3;
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->GetPosition(arg2,arg3);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 Py_INCREF(Py_None); resultobj = Py_None;
4103 {
4104 PyObject *o = PyInt_FromLong((long) (*arg2));
4105 resultobj = t_output_helper(resultobj,o);
4106 }
4107 {
4108 PyObject *o = PyInt_FromLong((long) (*arg3));
4109 resultobj = t_output_helper(resultobj,o);
4110 }
4111 return resultobj;
4112 fail:
4113 return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxCaret *arg1 = (wxCaret *) 0 ;
4120 wxSize result;
4121 PyObject * obj0 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (arg1)->GetSize();
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 {
4136 wxSize * resultptr;
4137 resultptr = new wxSize((wxSize &) result);
4138 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4139 }
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxCaret *arg1 = (wxCaret *) 0 ;
4149 int *arg2 = (int *) 0 ;
4150 int *arg3 = (int *) 0 ;
4151 int temp2 ;
4152 int temp3 ;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 arg2 = &temp2;
4159 arg3 = &temp3;
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 (arg1)->GetSize(arg2,arg3);
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 Py_INCREF(Py_None); resultobj = Py_None;
4170 {
4171 PyObject *o = PyInt_FromLong((long) (*arg2));
4172 resultobj = t_output_helper(resultobj,o);
4173 }
4174 {
4175 PyObject *o = PyInt_FromLong((long) (*arg3));
4176 resultobj = t_output_helper(resultobj,o);
4177 }
4178 return resultobj;
4179 fail:
4180 return NULL;
4181 }
4182
4183
4184 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxCaret *arg1 = (wxCaret *) 0 ;
4187 wxWindow *result;
4188 PyObject * obj0 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 result = (wxWindow *)(arg1)->GetWindow();
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 {
4203 resultobj = wxPyMake_wxObject(result);
4204 }
4205 return resultobj;
4206 fail:
4207 return NULL;
4208 }
4209
4210
4211 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4212 PyObject *resultobj;
4213 wxCaret *arg1 = (wxCaret *) 0 ;
4214 int arg2 ;
4215 int arg3 ;
4216 PyObject * obj0 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "self",(char *) "x",(char *) "y", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 (arg1)->Move(arg2,arg3);
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 Py_INCREF(Py_None); resultobj = Py_None;
4231 return resultobj;
4232 fail:
4233 return NULL;
4234 }
4235
4236
4237 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxCaret *arg1 = (wxCaret *) 0 ;
4240 wxPoint *arg2 = 0 ;
4241 wxPoint temp2 ;
4242 PyObject * obj0 = 0 ;
4243 PyObject * obj1 = 0 ;
4244 char *kwnames[] = {
4245 (char *) "self",(char *) "pt", NULL
4246 };
4247
4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4250 {
4251 arg2 = &temp2;
4252 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4253 }
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 (arg1)->Move((wxPoint const &)*arg2);
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 Py_INCREF(Py_None); resultobj = Py_None;
4262 return resultobj;
4263 fail:
4264 return NULL;
4265 }
4266
4267
4268 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject *resultobj;
4270 wxCaret *arg1 = (wxCaret *) 0 ;
4271 int arg2 ;
4272 int arg3 ;
4273 PyObject * obj0 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self",(char *) "width",(char *) "height", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4280 {
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 (arg1)->SetSize(arg2,arg3);
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 Py_INCREF(Py_None); resultobj = Py_None;
4288 return resultobj;
4289 fail:
4290 return NULL;
4291 }
4292
4293
4294 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 wxCaret *arg1 = (wxCaret *) 0 ;
4297 wxSize *arg2 = 0 ;
4298 wxSize temp2 ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "size", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4307 {
4308 arg2 = &temp2;
4309 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4310 }
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 (arg1)->SetSize((wxSize const &)*arg2);
4314
4315 wxPyEndAllowThreads(__tstate);
4316 if (PyErr_Occurred()) SWIG_fail;
4317 }
4318 Py_INCREF(Py_None); resultobj = Py_None;
4319 return resultobj;
4320 fail:
4321 return NULL;
4322 }
4323
4324
4325 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4326 PyObject *resultobj;
4327 wxCaret *arg1 = (wxCaret *) 0 ;
4328 int arg2 = (int) True ;
4329 PyObject * obj0 = 0 ;
4330 char *kwnames[] = {
4331 (char *) "self",(char *) "show", NULL
4332 };
4333
4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 (arg1)->Show(arg2);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 Py_INCREF(Py_None); resultobj = Py_None;
4344 return resultobj;
4345 fail:
4346 return NULL;
4347 }
4348
4349
4350 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj;
4352 wxCaret *arg1 = (wxCaret *) 0 ;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 (arg1)->Hide();
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 Py_INCREF(Py_None); resultobj = Py_None;
4368 return resultobj;
4369 fail:
4370 return NULL;
4371 }
4372
4373
4374 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4375 PyObject *obj;
4376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4377 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4378 Py_INCREF(obj);
4379 return Py_BuildValue((char *)"");
4380 }
4381 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj;
4383 int result;
4384 char *kwnames[] = {
4385 NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (int)wxCaret_GetBlinkTime();
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 resultobj = PyInt_FromLong((long)result);
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4404 PyObject *resultobj;
4405 int arg1 ;
4406 char *kwnames[] = {
4407 (char *) "milliseconds", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 wxCaret_SetBlinkTime(arg1);
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 Py_INCREF(Py_None); resultobj = Py_None;
4419 return resultobj;
4420 fail:
4421 return NULL;
4422 }
4423
4424
4425 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4426 PyObject *resultobj;
4427 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4428 wxBusyCursor *result;
4429 PyObject * obj0 = 0 ;
4430 char *kwnames[] = {
4431 (char *) "cursor", NULL
4432 };
4433
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4435 if (obj0) {
4436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4437 }
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4446 return resultobj;
4447 fail:
4448 return NULL;
4449 }
4450
4451
4452 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4455 PyObject * obj0 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 delete arg1;
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 Py_INCREF(Py_None); resultobj = Py_None;
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4477 PyObject *obj;
4478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4479 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4480 Py_INCREF(obj);
4481 return Py_BuildValue((char *)"");
4482 }
4483 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4484 PyObject *resultobj;
4485 wxWindow *arg1 = (wxWindow *) NULL ;
4486 wxWindowDisabler *result;
4487 PyObject * obj0 = 0 ;
4488 char *kwnames[] = {
4489 (char *) "winToSkip", NULL
4490 };
4491
4492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4493 if (obj0) {
4494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4495 }
4496 {
4497 PyThreadState* __tstate = wxPyBeginAllowThreads();
4498 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4499
4500 wxPyEndAllowThreads(__tstate);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 }
4503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4504 return resultobj;
4505 fail:
4506 return NULL;
4507 }
4508
4509
4510 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4511 PyObject *resultobj;
4512 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4513 PyObject * obj0 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "self", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 delete arg1;
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 Py_INCREF(Py_None); resultobj = Py_None;
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4535 PyObject *obj;
4536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4537 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4538 Py_INCREF(obj);
4539 return Py_BuildValue((char *)"");
4540 }
4541 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4542 PyObject *resultobj;
4543 wxString *arg1 = 0 ;
4544 wxBusyInfo *result;
4545 bool temp1 = False ;
4546 PyObject * obj0 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "message", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4552 {
4553 arg1 = wxString_in_helper(obj0);
4554 if (arg1 == NULL) SWIG_fail;
4555 temp1 = True;
4556 }
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4565 {
4566 if (temp1)
4567 delete arg1;
4568 }
4569 return resultobj;
4570 fail:
4571 {
4572 if (temp1)
4573 delete arg1;
4574 }
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4582 PyObject * obj0 = 0 ;
4583 char *kwnames[] = {
4584 (char *) "self", NULL
4585 };
4586
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 delete arg1;
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600 }
4601
4602
4603 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4604 PyObject *obj;
4605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4606 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4607 Py_INCREF(obj);
4608 return Py_BuildValue((char *)"");
4609 }
4610 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4611 PyObject *resultobj;
4612 wxStopWatch *result;
4613 char *kwnames[] = {
4614 NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4618 {
4619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4620 result = (wxStopWatch *)new wxStopWatch();
4621
4622 wxPyEndAllowThreads(__tstate);
4623 if (PyErr_Occurred()) SWIG_fail;
4624 }
4625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4626 return resultobj;
4627 fail:
4628 return NULL;
4629 }
4630
4631
4632 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4635 long arg2 = (long) 0 ;
4636 PyObject * obj0 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "self",(char *) "t0", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 (arg1)->Start(arg2);
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 Py_INCREF(Py_None); resultobj = Py_None;
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj;
4659 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4660 PyObject * obj0 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 (arg1)->Pause();
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 Py_INCREF(Py_None); resultobj = Py_None;
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4684 PyObject * obj0 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "self", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 (arg1)->Resume();
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 Py_INCREF(Py_None); resultobj = Py_None;
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4708 long result;
4709 PyObject * obj0 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "self", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (long)((wxStopWatch const *)arg1)->Time();
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = PyInt_FromLong((long)result);
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4731 PyObject *obj;
4732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4733 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4734 Py_INCREF(obj);
4735 return Py_BuildValue((char *)"");
4736 }
4737 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 int arg1 = (int) 9 ;
4740 wxFileHistory *result;
4741 char *kwnames[] = {
4742 (char *) "maxFiles", NULL
4743 };
4744
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (wxFileHistory *)new wxFileHistory(arg1);
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4761 PyObject *resultobj;
4762 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4763 PyObject * obj0 = 0 ;
4764 char *kwnames[] = {
4765 (char *) "self", NULL
4766 };
4767
4768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 delete arg1;
4773
4774 wxPyEndAllowThreads(__tstate);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 Py_INCREF(Py_None); resultobj = Py_None;
4778 return resultobj;
4779 fail:
4780 return NULL;
4781 }
4782
4783
4784 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj;
4786 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4787 wxString *arg2 = 0 ;
4788 bool temp2 = False ;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self",(char *) "file", NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4797 {
4798 arg2 = wxString_in_helper(obj1);
4799 if (arg2 == NULL) SWIG_fail;
4800 temp2 = True;
4801 }
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 (arg1)->AddFileToHistory((wxString const &)*arg2);
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 Py_INCREF(Py_None); resultobj = Py_None;
4810 {
4811 if (temp2)
4812 delete arg2;
4813 }
4814 return resultobj;
4815 fail:
4816 {
4817 if (temp2)
4818 delete arg2;
4819 }
4820 return NULL;
4821 }
4822
4823
4824 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4827 int arg2 ;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "i", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) 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 (arg1)->RemoveFileFromHistory(arg2);
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_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4852 int result;
4853 PyObject * obj0 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 resultobj = PyInt_FromLong((long)result);
4868 return resultobj;
4869 fail:
4870 return NULL;
4871 }
4872
4873
4874 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject *resultobj;
4876 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4877 wxMenu *arg2 = (wxMenu *) 0 ;
4878 PyObject * obj0 = 0 ;
4879 PyObject * obj1 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "menu", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->UseMenu(arg2);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 return resultobj;
4896 fail:
4897 return NULL;
4898 }
4899
4900
4901 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4902 PyObject *resultobj;
4903 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4904 wxMenu *arg2 = (wxMenu *) 0 ;
4905 PyObject * obj0 = 0 ;
4906 PyObject * obj1 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self",(char *) "menu", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4913 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 (arg1)->RemoveMenu(arg2);
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 Py_INCREF(Py_None); resultobj = Py_None;
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4931 wxConfigBase *arg2 = 0 ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self",(char *) "config", NULL
4936 };
4937
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
4939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 if (arg2 == NULL) {
4942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4943 }
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 (arg1)->Load(*arg2);
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 Py_INCREF(Py_None); resultobj = Py_None;
4952 return resultobj;
4953 fail:
4954 return NULL;
4955 }
4956
4957
4958 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
4959 PyObject *resultobj;
4960 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4961 wxConfigBase *arg2 = 0 ;
4962 PyObject * obj0 = 0 ;
4963 PyObject * obj1 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self",(char *) "config", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
4969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4971 if (arg2 == NULL) {
4972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4973 }
4974 {
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 (arg1)->Save(*arg2);
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
4981 Py_INCREF(Py_None); resultobj = Py_None;
4982 return resultobj;
4983 fail:
4984 return NULL;
4985 }
4986
4987
4988 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4989 PyObject *resultobj;
4990 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4991 PyObject * obj0 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
4997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 (arg1)->AddFilesToMenu();
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 Py_INCREF(Py_None); resultobj = Py_None;
5006 return resultobj;
5007 fail:
5008 return NULL;
5009 }
5010
5011
5012 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5015 wxMenu *arg2 = (wxMenu *) 0 ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "self",(char *) "menu", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->AddFilesToMenu(arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 return resultobj;
5034 fail:
5035 return NULL;
5036 }
5037
5038
5039 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5042 int arg2 ;
5043 wxString result;
5044 PyObject * obj0 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "i", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 {
5059 #if wxUSE_UNICODE
5060 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5061 #else
5062 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5063 #endif
5064 }
5065 return resultobj;
5066 fail:
5067 return NULL;
5068 }
5069
5070
5071 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj;
5073 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5074 int result;
5075 PyObject * obj0 = 0 ;
5076 char *kwnames[] = {
5077 (char *) "self", NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 result = (int)((wxFileHistory const *)arg1)->GetCount();
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 resultobj = PyInt_FromLong((long)result);
5090 return resultobj;
5091 fail:
5092 return NULL;
5093 }
5094
5095
5096 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5097 PyObject *obj;
5098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5099 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5100 Py_INCREF(obj);
5101 return Py_BuildValue((char *)"");
5102 }
5103 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxString *arg1 = 0 ;
5106 wxString const &arg2_defvalue = wxPyEmptyString ;
5107 wxString *arg2 = (wxString *) &arg2_defvalue ;
5108 wxSingleInstanceChecker *result;
5109 bool temp1 = False ;
5110 bool temp2 = False ;
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj1 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "name",(char *) "path", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5118 {
5119 arg1 = wxString_in_helper(obj0);
5120 if (arg1 == NULL) SWIG_fail;
5121 temp1 = True;
5122 }
5123 if (obj1) {
5124 {
5125 arg2 = wxString_in_helper(obj1);
5126 if (arg2 == NULL) SWIG_fail;
5127 temp2 = True;
5128 }
5129 }
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5138 {
5139 if (temp1)
5140 delete arg1;
5141 }
5142 {
5143 if (temp2)
5144 delete arg2;
5145 }
5146 return resultobj;
5147 fail:
5148 {
5149 if (temp1)
5150 delete arg1;
5151 }
5152 {
5153 if (temp2)
5154 delete arg2;
5155 }
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxSingleInstanceChecker *result;
5163 char *kwnames[] = {
5164 NULL
5165 };
5166
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5185 PyObject * obj0 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 delete arg1;
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 Py_INCREF(Py_None); resultobj = Py_None;
5200 return resultobj;
5201 fail:
5202 return NULL;
5203 }
5204
5205
5206 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5209 wxString *arg2 = 0 ;
5210 wxString const &arg3_defvalue = wxPyEmptyString ;
5211 wxString *arg3 = (wxString *) &arg3_defvalue ;
5212 bool result;
5213 bool temp2 = False ;
5214 bool temp3 = False ;
5215 PyObject * obj0 = 0 ;
5216 PyObject * obj1 = 0 ;
5217 PyObject * obj2 = 0 ;
5218 char *kwnames[] = {
5219 (char *) "self",(char *) "name",(char *) "path", NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5224 {
5225 arg2 = wxString_in_helper(obj1);
5226 if (arg2 == NULL) SWIG_fail;
5227 temp2 = True;
5228 }
5229 if (obj2) {
5230 {
5231 arg3 = wxString_in_helper(obj2);
5232 if (arg3 == NULL) SWIG_fail;
5233 temp3 = True;
5234 }
5235 }
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = PyInt_FromLong((long)result);
5244 {
5245 if (temp2)
5246 delete arg2;
5247 }
5248 {
5249 if (temp3)
5250 delete arg3;
5251 }
5252 return resultobj;
5253 fail:
5254 {
5255 if (temp2)
5256 delete arg2;
5257 }
5258 {
5259 if (temp3)
5260 delete arg3;
5261 }
5262 return NULL;
5263 }
5264
5265
5266 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5267 PyObject *resultobj;
5268 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5269 bool result;
5270 PyObject * obj0 = 0 ;
5271 char *kwnames[] = {
5272 (char *) "self", NULL
5273 };
5274
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 resultobj = PyInt_FromLong((long)result);
5285 return resultobj;
5286 fail:
5287 return NULL;
5288 }
5289
5290
5291 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5292 PyObject *obj;
5293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5294 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5295 Py_INCREF(obj);
5296 return Py_BuildValue((char *)"");
5297 }
5298 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxWindow *arg1 = (wxWindow *) 0 ;
5301 wxDC *arg2 = 0 ;
5302 int arg3 ;
5303 PyObject * obj0 = 0 ;
5304 PyObject * obj1 = 0 ;
5305 char *kwnames[] = {
5306 (char *) "window",(char *) "dc",(char *) "method", NULL
5307 };
5308
5309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 if (arg2 == NULL) {
5313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 return resultobj;
5324 fail:
5325 return NULL;
5326 }
5327
5328
5329 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj;
5331 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5332 PyObject * obj0 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 delete arg1;
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 Py_INCREF(Py_None); resultobj = Py_None;
5347 return resultobj;
5348 fail:
5349 return NULL;
5350 }
5351
5352
5353 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5356 wxString result;
5357 PyObject * obj0 = 0 ;
5358 char *kwnames[] = {
5359 (char *) "self", NULL
5360 };
5361
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 result = (arg1)->GetTip();
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 {
5372 #if wxUSE_UNICODE
5373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5374 #else
5375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5376 #endif
5377 }
5378 return resultobj;
5379 fail:
5380 return NULL;
5381 }
5382
5383
5384 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5387 size_t result;
5388 PyObject * obj0 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 result = (size_t)(arg1)->GetCurrentTip();
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 resultobj = PyInt_FromLong((long)result);
5403 return resultobj;
5404 fail:
5405 return NULL;
5406 }
5407
5408
5409 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject *resultobj;
5411 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5412 wxString *arg2 = 0 ;
5413 wxString result;
5414 bool temp2 = False ;
5415 PyObject * obj0 = 0 ;
5416 PyObject * obj1 = 0 ;
5417 char *kwnames[] = {
5418 (char *) "self",(char *) "tip", NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5423 {
5424 arg2 = wxString_in_helper(obj1);
5425 if (arg2 == NULL) SWIG_fail;
5426 temp2 = True;
5427 }
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 {
5436 #if wxUSE_UNICODE
5437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5438 #else
5439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5440 #endif
5441 }
5442 {
5443 if (temp2)
5444 delete arg2;
5445 }
5446 return resultobj;
5447 fail:
5448 {
5449 if (temp2)
5450 delete arg2;
5451 }
5452 return NULL;
5453 }
5454
5455
5456 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5457 PyObject *obj;
5458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5459 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5460 Py_INCREF(obj);
5461 return Py_BuildValue((char *)"");
5462 }
5463 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject *resultobj;
5465 size_t arg1 ;
5466 wxPyTipProvider *result;
5467 PyObject * obj0 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "currentTip", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5473 arg1 = (size_t) PyInt_AsLong(obj0);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5483 return resultobj;
5484 fail:
5485 return NULL;
5486 }
5487
5488
5489 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj;
5491 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5492 PyObject *arg2 = (PyObject *) 0 ;
5493 PyObject *arg3 = (PyObject *) 0 ;
5494 PyObject * obj0 = 0 ;
5495 PyObject * obj1 = 0 ;
5496 PyObject * obj2 = 0 ;
5497 char *kwnames[] = {
5498 (char *) "self",(char *) "self",(char *) "_class", NULL
5499 };
5500
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5503 arg2 = obj1;
5504 arg3 = obj2;
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->_setCallbackInfo(arg2,arg3);
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 Py_INCREF(Py_None); resultobj = Py_None;
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5520 PyObject *obj;
5521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5522 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5523 Py_INCREF(obj);
5524 return Py_BuildValue((char *)"");
5525 }
5526 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxWindow *arg1 = (wxWindow *) 0 ;
5529 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5530 bool arg3 = (bool) True ;
5531 bool result;
5532 PyObject * obj0 = 0 ;
5533 PyObject * obj1 = 0 ;
5534 PyObject * obj2 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 if (obj2) {
5543 arg3 = PyInt_AsLong(obj2) ? true : false;
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (bool)wxShowTip(arg1,arg2,arg3);
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 resultobj = PyInt_FromLong((long)result);
5554 return resultobj;
5555 fail:
5556 return NULL;
5557 }
5558
5559
5560 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxString *arg1 = 0 ;
5563 size_t arg2 ;
5564 wxTipProvider *result;
5565 bool temp1 = False ;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "filename",(char *) "currentTip", NULL
5570 };
5571
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5573 {
5574 arg1 = wxString_in_helper(obj0);
5575 if (arg1 == NULL) SWIG_fail;
5576 temp1 = True;
5577 }
5578 arg2 = (size_t) PyInt_AsLong(obj1);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5588 {
5589 if (temp1)
5590 delete arg1;
5591 }
5592 return resultobj;
5593 fail:
5594 {
5595 if (temp1)
5596 delete arg1;
5597 }
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5605 int arg2 = (int) -1 ;
5606 wxPyTimer *result;
5607 PyObject * obj0 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "owner",(char *) "id", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5613 if (obj0) {
5614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5615 }
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5633 PyObject * obj0 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 delete arg1;
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 Py_INCREF(Py_None); resultobj = Py_None;
5648 return resultobj;
5649 fail:
5650 return NULL;
5651 }
5652
5653
5654 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj;
5656 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5657 PyObject *arg2 = (PyObject *) 0 ;
5658 PyObject *arg3 = (PyObject *) 0 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 PyObject * obj2 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self",(char *) "self",(char *) "_class", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5668 arg2 = obj1;
5669 arg3 = obj2;
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->_setCallbackInfo(arg2,arg3);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 Py_INCREF(Py_None); resultobj = Py_None;
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5687 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5688 int arg3 = (int) -1 ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self",(char *) "owner",(char *) "id", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 (arg1)->SetOwner(arg2,arg3);
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 Py_INCREF(Py_None); resultobj = Py_None;
5706 return resultobj;
5707 fail:
5708 return NULL;
5709 }
5710
5711
5712 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5715 int arg2 = (int) -1 ;
5716 bool arg3 = (bool) False ;
5717 bool result;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj2 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5726 if (obj2) {
5727 arg3 = PyInt_AsLong(obj2) ? true : false;
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (bool)(arg1)->Start(arg2,arg3);
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 resultobj = PyInt_FromLong((long)result);
5738 return resultobj;
5739 fail:
5740 return NULL;
5741 }
5742
5743
5744 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5745 PyObject *resultobj;
5746 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5747 PyObject * obj0 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 (arg1)->Stop();
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 Py_INCREF(Py_None); resultobj = Py_None;
5762 return resultobj;
5763 fail:
5764 return NULL;
5765 }
5766
5767
5768 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject *resultobj;
5770 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5771 bool result;
5772 PyObject * obj0 = 0 ;
5773 char *kwnames[] = {
5774 (char *) "self", NULL
5775 };
5776
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 resultobj = PyInt_FromLong((long)result);
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5796 int result;
5797 PyObject * obj0 = 0 ;
5798 char *kwnames[] = {
5799 (char *) "self", NULL
5800 };
5801
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 resultobj = PyInt_FromLong((long)result);
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5821 bool result;
5822 PyObject * obj0 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 resultobj = PyInt_FromLong((long)result);
5837 return resultobj;
5838 fail:
5839 return NULL;
5840 }
5841
5842
5843 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5844 PyObject *obj;
5845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5846 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5847 Py_INCREF(obj);
5848 return Py_BuildValue((char *)"");
5849 }
5850 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5851 PyObject *resultobj;
5852 int arg1 = (int) 0 ;
5853 int arg2 = (int) 0 ;
5854 wxTimerEvent *result;
5855 char *kwnames[] = {
5856 (char *) "timerid",(char *) "interval", NULL
5857 };
5858
5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5868 return resultobj;
5869 fail:
5870 return NULL;
5871 }
5872
5873
5874 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj;
5876 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5877 int result;
5878 PyObject * obj0 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = PyInt_FromLong((long)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5900 PyObject *obj;
5901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5902 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5903 Py_INCREF(obj);
5904 return Py_BuildValue((char *)"");
5905 }
5906 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5907 PyObject *resultobj;
5908 wxTimer *arg1 = 0 ;
5909 wxTimerRunner *result;
5910 PyObject * obj0 = 0 ;
5911
5912 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
5913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5914 if (arg1 == NULL) {
5915 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5916 }
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5925 return resultobj;
5926 fail:
5927 return NULL;
5928 }
5929
5930
5931 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
5932 PyObject *resultobj;
5933 wxTimer *arg1 = 0 ;
5934 int arg2 ;
5935 bool arg3 = (bool) False ;
5936 wxTimerRunner *result;
5937 PyObject * obj0 = 0 ;
5938 PyObject * obj2 = 0 ;
5939
5940 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
5941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5942 if (arg1 == NULL) {
5943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5944 }
5945 if (obj2) {
5946 arg3 = PyInt_AsLong(obj2) ? true : false;
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5957 return resultobj;
5958 fail:
5959 return NULL;
5960 }
5961
5962
5963 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
5964 int argc;
5965 PyObject *argv[4];
5966 int ii;
5967
5968 argc = PyObject_Length(args);
5969 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5970 argv[ii] = PyTuple_GetItem(args,ii);
5971 }
5972 if (argc == 1) {
5973 int _v;
5974 {
5975 void *ptr;
5976 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
5977 _v = 0;
5978 PyErr_Clear();
5979 } else {
5980 _v = 1;
5981 }
5982 }
5983 if (_v) {
5984 return _wrap_new_TimerRunner__SWIG_0(self,args);
5985 }
5986 }
5987 if ((argc >= 2) && (argc <= 3)) {
5988 int _v;
5989 {
5990 void *ptr;
5991 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
5992 _v = 0;
5993 PyErr_Clear();
5994 } else {
5995 _v = 1;
5996 }
5997 }
5998 if (_v) {
5999 {
6000 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6001 }
6002 if (_v) {
6003 if (argc <= 2) {
6004 return _wrap_new_TimerRunner__SWIG_1(self,args);
6005 }
6006 {
6007 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6008 }
6009 if (_v) {
6010 return _wrap_new_TimerRunner__SWIG_1(self,args);
6011 }
6012 }
6013 }
6014 }
6015
6016 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6017 return NULL;
6018 }
6019
6020
6021 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject *resultobj;
6023 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6024 PyObject * obj0 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 delete arg1;
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 Py_INCREF(Py_None); resultobj = Py_None;
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj;
6047 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6048 int arg2 ;
6049 bool arg3 = (bool) False ;
6050 PyObject * obj0 = 0 ;
6051 PyObject * obj2 = 0 ;
6052 char *kwnames[] = {
6053 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6054 };
6055
6056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6058 if (obj2) {
6059 arg3 = PyInt_AsLong(obj2) ? true : false;
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 (arg1)->Start(arg2,arg3);
6065
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 Py_INCREF(Py_None); resultobj = Py_None;
6070 return resultobj;
6071 fail:
6072 return NULL;
6073 }
6074
6075
6076 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6077 PyObject *obj;
6078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6079 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6080 Py_INCREF(obj);
6081 return Py_BuildValue((char *)"");
6082 }
6083 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxLog *result;
6086 char *kwnames[] = {
6087 NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (wxLog *)new wxLog();
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 bool result;
6108 char *kwnames[] = {
6109 NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (bool)wxLog::IsEnabled();
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 resultobj = PyInt_FromLong((long)result);
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 bool arg1 = (bool) True ;
6130 bool result;
6131 PyObject * obj0 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "doIt", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6137 if (obj0) {
6138 arg1 = PyInt_AsLong(obj0) ? true : false;
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (bool)wxLog::EnableLogging(arg1);
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 resultobj = PyInt_FromLong((long)result);
6149 return resultobj;
6150 fail:
6151 return NULL;
6152 }
6153
6154
6155 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxLogLevel arg1 ;
6158 wxChar *arg2 = (wxChar *) 0 ;
6159 time_t arg3 ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
6162 PyObject * obj2 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "level",(char *) "szString",(char *) "t", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6168 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6171 arg3 = (time_t) PyInt_AsLong(obj2);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 Py_INCREF(Py_None); resultobj = Py_None;
6181 return resultobj;
6182 fail:
6183 return NULL;
6184 }
6185
6186
6187 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxLog *arg1 = (wxLog *) 0 ;
6190 PyObject * obj0 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 (arg1)->Flush();
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 Py_INCREF(Py_None); resultobj = Py_None;
6205 return resultobj;
6206 fail:
6207 return NULL;
6208 }
6209
6210
6211 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj;
6213 char *kwnames[] = {
6214 NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 wxLog::FlushActive();
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 Py_INCREF(Py_None); resultobj = Py_None;
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj;
6234 wxLog *result;
6235 char *kwnames[] = {
6236 NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 result = (wxLog *)wxLog::GetActiveTarget();
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxLog *arg1 = (wxLog *) 0 ;
6257 wxLog *result;
6258 PyObject * obj0 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "pLogger", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6265 {
6266 PyThreadState* __tstate = wxPyBeginAllowThreads();
6267 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6268
6269 wxPyEndAllowThreads(__tstate);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6273 return resultobj;
6274 fail:
6275 return NULL;
6276 }
6277
6278
6279 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject *resultobj;
6281 char *kwnames[] = {
6282 NULL
6283 };
6284
6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 wxLog::Suspend();
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 Py_INCREF(Py_None); resultobj = Py_None;
6294 return resultobj;
6295 fail:
6296 return NULL;
6297 }
6298
6299
6300 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj;
6302 char *kwnames[] = {
6303 NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 wxLog::Resume();
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 Py_INCREF(Py_None); resultobj = Py_None;
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
6323 bool arg1 = (bool) True ;
6324 PyObject * obj0 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "bVerbose", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6330 if (obj0) {
6331 arg1 = PyInt_AsLong(obj0) ? true : false;
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 wxLog::SetVerbose(arg1);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 Py_INCREF(Py_None); resultobj = Py_None;
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxLogLevel arg1 ;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "logLevel", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6357 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 wxLog::SetLogLevel(arg1);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 Py_INCREF(Py_None); resultobj = Py_None;
6367 return resultobj;
6368 fail:
6369 return NULL;
6370 }
6371
6372
6373 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 char *kwnames[] = {
6376 NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 wxLog::DontCreateOnDemand();
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 Py_INCREF(Py_None); resultobj = Py_None;
6388 return resultobj;
6389 fail:
6390 return NULL;
6391 }
6392
6393
6394 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6395 PyObject *resultobj;
6396 wxTraceMask arg1 ;
6397 PyObject * obj0 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "ulMask", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6403 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 {
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 wxLog::SetTraceMask(arg1);
6408
6409 wxPyEndAllowThreads(__tstate);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 }
6412 Py_INCREF(Py_None); resultobj = Py_None;
6413 return resultobj;
6414 fail:
6415 return NULL;
6416 }
6417
6418
6419 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj;
6421 wxString *arg1 = 0 ;
6422 bool temp1 = False ;
6423 PyObject * obj0 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "str", NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6429 {
6430 arg1 = wxString_in_helper(obj0);
6431 if (arg1 == NULL) SWIG_fail;
6432 temp1 = True;
6433 }
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 wxLog::AddTraceMask((wxString const &)*arg1);
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 Py_INCREF(Py_None); resultobj = Py_None;
6442 {
6443 if (temp1)
6444 delete arg1;
6445 }
6446 return resultobj;
6447 fail:
6448 {
6449 if (temp1)
6450 delete arg1;
6451 }
6452 return NULL;
6453 }
6454
6455
6456 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxString *arg1 = 0 ;
6459 bool temp1 = False ;
6460 PyObject * obj0 = 0 ;
6461 char *kwnames[] = {
6462 (char *) "str", NULL
6463 };
6464
6465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6466 {
6467 arg1 = wxString_in_helper(obj0);
6468 if (arg1 == NULL) SWIG_fail;
6469 temp1 = True;
6470 }
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 wxLog::RemoveTraceMask((wxString const &)*arg1);
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 Py_INCREF(Py_None); resultobj = Py_None;
6479 {
6480 if (temp1)
6481 delete arg1;
6482 }
6483 return resultobj;
6484 fail:
6485 {
6486 if (temp1)
6487 delete arg1;
6488 }
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 char *kwnames[] = {
6496 NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 wxLog::ClearTraceMasks();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 Py_INCREF(Py_None); resultobj = Py_None;
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxArrayString *result;
6517 char *kwnames[] = {
6518 NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 {
6525 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6526 result = (wxArrayString *) &_result_ref;
6527 }
6528
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 {
6533 resultobj = wxArrayString2PyList_helper(*result);
6534 }
6535 return resultobj;
6536 fail:
6537 return NULL;
6538 }
6539
6540
6541 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxChar *arg1 = (wxChar *) 0 ;
6544 PyObject * obj0 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "ts", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 wxLog::SetTimestamp((wxChar const *)arg1);
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 Py_INCREF(Py_None); resultobj = Py_None;
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 bool result;
6568 char *kwnames[] = {
6569 NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 result = (bool)wxLog::GetVerbose();
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 resultobj = PyInt_FromLong((long)result);
6581 return resultobj;
6582 fail:
6583 return NULL;
6584 }
6585
6586
6587 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6588 PyObject *resultobj;
6589 wxTraceMask result;
6590 char *kwnames[] = {
6591 NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (wxTraceMask)wxLog::GetTraceMask();
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 resultobj = PyInt_FromLong((long)result);
6603 return resultobj;
6604 fail:
6605 return NULL;
6606 }
6607
6608
6609 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxChar *arg1 = (wxChar *) 0 ;
6612 bool result;
6613 PyObject * obj0 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "mask", NULL
6616 };
6617
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 resultobj = PyInt_FromLong((long)result);
6628 return resultobj;
6629 fail:
6630 return NULL;
6631 }
6632
6633
6634 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxLogLevel result;
6637 char *kwnames[] = {
6638 NULL
6639 };
6640
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 result = (wxLogLevel)wxLog::GetLogLevel();
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 resultobj = PyInt_FromLong((long)result);
6650 return resultobj;
6651 fail:
6652 return NULL;
6653 }
6654
6655
6656 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxChar *result;
6659 char *kwnames[] = {
6660 NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 result = (wxChar *)wxLog::GetTimestamp();
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6672 return resultobj;
6673 fail:
6674 return NULL;
6675 }
6676
6677
6678 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6679 PyObject *resultobj;
6680 wxString result;
6681 char *kwnames[] = {
6682 NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = Log_TimeStamp();
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 {
6694 #if wxUSE_UNICODE
6695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6696 #else
6697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6698 #endif
6699 }
6700 return resultobj;
6701 fail:
6702 return NULL;
6703 }
6704
6705
6706 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj;
6708 wxLog *arg1 = (wxLog *) 0 ;
6709 PyObject * obj0 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "self", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 wxLog_Destroy(arg1);
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 Py_INCREF(Py_None); resultobj = Py_None;
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6731 PyObject *obj;
6732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6733 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6734 Py_INCREF(obj);
6735 return Py_BuildValue((char *)"");
6736 }
6737 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6738 PyObject *resultobj;
6739 wxLogStderr *result;
6740 char *kwnames[] = {
6741 NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = (wxLogStderr *)new wxLogStderr();
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6760 PyObject *obj;
6761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6762 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6763 Py_INCREF(obj);
6764 return Py_BuildValue((char *)"");
6765 }
6766 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6767 PyObject *resultobj;
6768 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6769 wxLogTextCtrl *result;
6770 PyObject * obj0 = 0 ;
6771 char *kwnames[] = {
6772 (char *) "pTextCtrl", NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6785 return resultobj;
6786 fail:
6787 return NULL;
6788 }
6789
6790
6791 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6792 PyObject *obj;
6793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6794 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6795 Py_INCREF(obj);
6796 return Py_BuildValue((char *)"");
6797 }
6798 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxLogGui *result;
6801 char *kwnames[] = {
6802 NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 result = (wxLogGui *)new wxLogGui();
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6821 PyObject *obj;
6822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6823 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6824 Py_INCREF(obj);
6825 return Py_BuildValue((char *)"");
6826 }
6827 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxFrame *arg1 = (wxFrame *) 0 ;
6830 wxString *arg2 = 0 ;
6831 bool arg3 = (bool) True ;
6832 bool arg4 = (bool) True ;
6833 wxLogWindow *result;
6834 bool temp2 = False ;
6835 PyObject * obj0 = 0 ;
6836 PyObject * obj1 = 0 ;
6837 PyObject * obj2 = 0 ;
6838 PyObject * obj3 = 0 ;
6839 char *kwnames[] = {
6840 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6845 {
6846 arg2 = wxString_in_helper(obj1);
6847 if (arg2 == NULL) SWIG_fail;
6848 temp2 = True;
6849 }
6850 if (obj2) {
6851 arg3 = PyInt_AsLong(obj2) ? true : false;
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 if (obj3) {
6855 arg4 = PyInt_AsLong(obj3) ? true : false;
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6866 {
6867 if (temp2)
6868 delete arg2;
6869 }
6870 return resultobj;
6871 fail:
6872 {
6873 if (temp2)
6874 delete arg2;
6875 }
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6883 bool arg2 = (bool) True ;
6884 PyObject * obj0 = 0 ;
6885 PyObject * obj1 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "bShow", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6892 if (obj1) {
6893 arg2 = PyInt_AsLong(obj1) ? true : false;
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 (arg1)->Show(arg2);
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 Py_INCREF(Py_None); resultobj = Py_None;
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6913 wxFrame *result;
6914 PyObject * obj0 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "self", NULL
6917 };
6918
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 {
6929 resultobj = wxPyMake_wxObject(result);
6930 }
6931 return resultobj;
6932 fail:
6933 return NULL;
6934 }
6935
6936
6937 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj;
6939 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6940 wxLog *result;
6941 PyObject * obj0 = 0 ;
6942 char *kwnames[] = {
6943 (char *) "self", NULL
6944 };
6945
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
6947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6956 return resultobj;
6957 fail:
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6965 bool result;
6966 PyObject * obj0 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
6972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 resultobj = PyInt_FromLong((long)result);
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6990 bool arg2 ;
6991 PyObject * obj0 = 0 ;
6992 PyObject * obj1 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self",(char *) "bDoPass", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 arg2 = PyInt_AsLong(obj1) ? true : false;
7000 if (PyErr_Occurred()) SWIG_fail;
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 (arg1)->PassMessages(arg2);
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 Py_INCREF(Py_None); resultobj = Py_None;
7009 return resultobj;
7010 fail:
7011 return NULL;
7012 }
7013
7014
7015 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7016 PyObject *obj;
7017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7018 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7019 Py_INCREF(obj);
7020 return Py_BuildValue((char *)"");
7021 }
7022 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxLog *arg1 = (wxLog *) 0 ;
7025 wxLogChain *result;
7026 PyObject * obj0 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "logger", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (wxLogChain *)new wxLogChain(arg1);
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7041 return resultobj;
7042 fail:
7043 return NULL;
7044 }
7045
7046
7047 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxLogChain *arg1 = (wxLogChain *) 0 ;
7050 wxLog *arg2 = (wxLog *) 0 ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "logger", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 (arg1)->SetLog(arg2);
7063
7064 wxPyEndAllowThreads(__tstate);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 }
7067 Py_INCREF(Py_None); resultobj = Py_None;
7068 return resultobj;
7069 fail:
7070 return NULL;
7071 }
7072
7073
7074 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxLogChain *arg1 = (wxLogChain *) 0 ;
7077 bool arg2 ;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 char *kwnames[] = {
7081 (char *) "self",(char *) "bDoPass", NULL
7082 };
7083
7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7086 arg2 = PyInt_AsLong(obj1) ? true : false;
7087 if (PyErr_Occurred()) SWIG_fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 (arg1)->PassMessages(arg2);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 Py_INCREF(Py_None); resultobj = Py_None;
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxLogChain *arg1 = (wxLogChain *) 0 ;
7105 bool result;
7106 PyObject * obj0 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "self", NULL
7109 };
7110
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (bool)(arg1)->IsPassingMessages();
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 resultobj = PyInt_FromLong((long)result);
7121 return resultobj;
7122 fail:
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxLogChain *arg1 = (wxLogChain *) 0 ;
7130 wxLog *result;
7131 PyObject * obj0 = 0 ;
7132 char *kwnames[] = {
7133 (char *) "self", NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7138 {
7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
7140 result = (wxLog *)(arg1)->GetOldLog();
7141
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7153 PyObject *obj;
7154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7155 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7156 Py_INCREF(obj);
7157 return Py_BuildValue((char *)"");
7158 }
7159 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj;
7161 unsigned long result;
7162 char *kwnames[] = {
7163 NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7167 {
7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
7169 result = (unsigned long)wxSysErrorCode();
7170
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 resultobj = PyInt_FromLong((long)result);
7175 return resultobj;
7176 fail:
7177 return NULL;
7178 }
7179
7180
7181 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7182 PyObject *resultobj;
7183 unsigned long arg1 = (unsigned long) 0 ;
7184 wxString result;
7185 PyObject * obj0 = 0 ;
7186 char *kwnames[] = {
7187 (char *) "nErrCode", NULL
7188 };
7189
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7191 if (obj0) {
7192 arg1 = (unsigned long) PyInt_AsLong(obj0);
7193 if (PyErr_Occurred()) SWIG_fail;
7194 }
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 result = wxSysErrorMsg(arg1);
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 {
7203 #if wxUSE_UNICODE
7204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7205 #else
7206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7207 #endif
7208 }
7209 return resultobj;
7210 fail:
7211 return NULL;
7212 }
7213
7214
7215 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxString *arg1 = 0 ;
7218 bool temp1 = False ;
7219 PyObject * obj0 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "msg", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7225 {
7226 arg1 = wxString_in_helper(obj0);
7227 if (arg1 == NULL) SWIG_fail;
7228 temp1 = True;
7229 }
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 wxLogFatalError((wxString const &)*arg1);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 Py_INCREF(Py_None); resultobj = Py_None;
7238 {
7239 if (temp1)
7240 delete arg1;
7241 }
7242 return resultobj;
7243 fail:
7244 {
7245 if (temp1)
7246 delete arg1;
7247 }
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxString *arg1 = 0 ;
7255 bool temp1 = False ;
7256 PyObject * obj0 = 0 ;
7257 char *kwnames[] = {
7258 (char *) "msg", NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7262 {
7263 arg1 = wxString_in_helper(obj0);
7264 if (arg1 == NULL) SWIG_fail;
7265 temp1 = True;
7266 }
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 wxLogError((wxString const &)*arg1);
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 Py_INCREF(Py_None); resultobj = Py_None;
7275 {
7276 if (temp1)
7277 delete arg1;
7278 }
7279 return resultobj;
7280 fail:
7281 {
7282 if (temp1)
7283 delete arg1;
7284 }
7285 return NULL;
7286 }
7287
7288
7289 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7290 PyObject *resultobj;
7291 wxString *arg1 = 0 ;
7292 bool temp1 = False ;
7293 PyObject * obj0 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "msg", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7299 {
7300 arg1 = wxString_in_helper(obj0);
7301 if (arg1 == NULL) SWIG_fail;
7302 temp1 = True;
7303 }
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 wxLogWarning((wxString const &)*arg1);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 Py_INCREF(Py_None); resultobj = Py_None;
7312 {
7313 if (temp1)
7314 delete arg1;
7315 }
7316 return resultobj;
7317 fail:
7318 {
7319 if (temp1)
7320 delete arg1;
7321 }
7322 return NULL;
7323 }
7324
7325
7326 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj;
7328 wxString *arg1 = 0 ;
7329 bool temp1 = False ;
7330 PyObject * obj0 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "msg", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7336 {
7337 arg1 = wxString_in_helper(obj0);
7338 if (arg1 == NULL) SWIG_fail;
7339 temp1 = True;
7340 }
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 wxLogMessage((wxString const &)*arg1);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 Py_INCREF(Py_None); resultobj = Py_None;
7349 {
7350 if (temp1)
7351 delete arg1;
7352 }
7353 return resultobj;
7354 fail:
7355 {
7356 if (temp1)
7357 delete arg1;
7358 }
7359 return NULL;
7360 }
7361
7362
7363 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj;
7365 wxString *arg1 = 0 ;
7366 bool temp1 = False ;
7367 PyObject * obj0 = 0 ;
7368 char *kwnames[] = {
7369 (char *) "msg", NULL
7370 };
7371
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7373 {
7374 arg1 = wxString_in_helper(obj0);
7375 if (arg1 == NULL) SWIG_fail;
7376 temp1 = True;
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 wxLogInfo((wxString const &)*arg1);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 Py_INCREF(Py_None); resultobj = Py_None;
7386 {
7387 if (temp1)
7388 delete arg1;
7389 }
7390 return resultobj;
7391 fail:
7392 {
7393 if (temp1)
7394 delete arg1;
7395 }
7396 return NULL;
7397 }
7398
7399
7400 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj;
7402 wxString *arg1 = 0 ;
7403 bool temp1 = False ;
7404 PyObject * obj0 = 0 ;
7405 char *kwnames[] = {
7406 (char *) "msg", NULL
7407 };
7408
7409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7410 {
7411 arg1 = wxString_in_helper(obj0);
7412 if (arg1 == NULL) SWIG_fail;
7413 temp1 = True;
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 wxLogDebug((wxString const &)*arg1);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 {
7424 if (temp1)
7425 delete arg1;
7426 }
7427 return resultobj;
7428 fail:
7429 {
7430 if (temp1)
7431 delete arg1;
7432 }
7433 return NULL;
7434 }
7435
7436
7437 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7438 PyObject *resultobj;
7439 wxString *arg1 = 0 ;
7440 bool temp1 = False ;
7441 PyObject * obj0 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "msg", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7447 {
7448 arg1 = wxString_in_helper(obj0);
7449 if (arg1 == NULL) SWIG_fail;
7450 temp1 = True;
7451 }
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 wxLogVerbose((wxString const &)*arg1);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 Py_INCREF(Py_None); resultobj = Py_None;
7460 {
7461 if (temp1)
7462 delete arg1;
7463 }
7464 return resultobj;
7465 fail:
7466 {
7467 if (temp1)
7468 delete arg1;
7469 }
7470 return NULL;
7471 }
7472
7473
7474 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj;
7476 wxString *arg1 = 0 ;
7477 bool temp1 = False ;
7478 PyObject * obj0 = 0 ;
7479 char *kwnames[] = {
7480 (char *) "msg", NULL
7481 };
7482
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7484 {
7485 arg1 = wxString_in_helper(obj0);
7486 if (arg1 == NULL) SWIG_fail;
7487 temp1 = True;
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 wxLogStatus((wxString const &)*arg1);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 Py_INCREF(Py_None); resultobj = Py_None;
7497 {
7498 if (temp1)
7499 delete arg1;
7500 }
7501 return resultobj;
7502 fail:
7503 {
7504 if (temp1)
7505 delete arg1;
7506 }
7507 return NULL;
7508 }
7509
7510
7511 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7512 PyObject *resultobj;
7513 wxFrame *arg1 = (wxFrame *) 0 ;
7514 wxString *arg2 = 0 ;
7515 bool temp2 = False ;
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj1 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "pFrame",(char *) "msg", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 {
7525 arg2 = wxString_in_helper(obj1);
7526 if (arg2 == NULL) SWIG_fail;
7527 temp2 = True;
7528 }
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 wxLogStatus(arg1,(wxString const &)*arg2);
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 Py_INCREF(Py_None); resultobj = Py_None;
7537 {
7538 if (temp2)
7539 delete arg2;
7540 }
7541 return resultobj;
7542 fail:
7543 {
7544 if (temp2)
7545 delete arg2;
7546 }
7547 return NULL;
7548 }
7549
7550
7551 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxString *arg1 = 0 ;
7554 bool temp1 = False ;
7555 PyObject * obj0 = 0 ;
7556 char *kwnames[] = {
7557 (char *) "msg", NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7561 {
7562 arg1 = wxString_in_helper(obj0);
7563 if (arg1 == NULL) SWIG_fail;
7564 temp1 = True;
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 wxLogSysError((wxString const &)*arg1);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 Py_INCREF(Py_None); resultobj = Py_None;
7574 {
7575 if (temp1)
7576 delete arg1;
7577 }
7578 return resultobj;
7579 fail:
7580 {
7581 if (temp1)
7582 delete arg1;
7583 }
7584 return NULL;
7585 }
7586
7587
7588 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxString *arg1 = 0 ;
7591 bool temp1 = False ;
7592 PyObject * obj0 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "msg", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogTrace",kwnames,&obj0)) goto fail;
7598 {
7599 arg1 = wxString_in_helper(obj0);
7600 if (arg1 == NULL) SWIG_fail;
7601 temp1 = True;
7602 }
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 wxLogTrace((wxString const &)*arg1);
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 Py_INCREF(Py_None); resultobj = Py_None;
7611 {
7612 if (temp1)
7613 delete arg1;
7614 }
7615 return resultobj;
7616 fail:
7617 {
7618 if (temp1)
7619 delete arg1;
7620 }
7621 return NULL;
7622 }
7623
7624
7625 static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj;
7627 wxString *arg1 = 0 ;
7628 wxString *arg2 = 0 ;
7629 bool temp1 = False ;
7630 bool temp2 = False ;
7631 PyObject * obj0 = 0 ;
7632 PyObject * obj1 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "mask",(char *) "msg", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogTraceMask",kwnames,&obj0,&obj1)) goto fail;
7638 {
7639 arg1 = wxString_in_helper(obj0);
7640 if (arg1 == NULL) SWIG_fail;
7641 temp1 = True;
7642 }
7643 {
7644 arg2 = wxString_in_helper(obj1);
7645 if (arg2 == NULL) SWIG_fail;
7646 temp2 = True;
7647 }
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 Py_INCREF(Py_None); resultobj = Py_None;
7656 {
7657 if (temp1)
7658 delete arg1;
7659 }
7660 {
7661 if (temp2)
7662 delete arg2;
7663 }
7664 return resultobj;
7665 fail:
7666 {
7667 if (temp1)
7668 delete arg1;
7669 }
7670 {
7671 if (temp2)
7672 delete arg2;
7673 }
7674 return NULL;
7675 }
7676
7677
7678 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 unsigned long arg1 ;
7681 wxString *arg2 = 0 ;
7682 bool temp2 = False ;
7683 PyObject * obj0 = 0 ;
7684 PyObject * obj1 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "level",(char *) "msg", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7690 arg1 = (unsigned long) PyInt_AsLong(obj0);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 {
7693 arg2 = wxString_in_helper(obj1);
7694 if (arg2 == NULL) SWIG_fail;
7695 temp2 = True;
7696 }
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 wxLogGeneric(arg1,(wxString const &)*arg2);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 {
7706 if (temp2)
7707 delete arg2;
7708 }
7709 return resultobj;
7710 fail:
7711 {
7712 if (temp2)
7713 delete arg2;
7714 }
7715 return NULL;
7716 }
7717
7718
7719 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxString *arg1 = 0 ;
7722 wxString *arg2 = 0 ;
7723 bool temp1 = False ;
7724 bool temp2 = False ;
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "title",(char *) "text", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7732 {
7733 arg1 = wxString_in_helper(obj0);
7734 if (arg1 == NULL) SWIG_fail;
7735 temp1 = True;
7736 }
7737 {
7738 arg2 = wxString_in_helper(obj1);
7739 if (arg2 == NULL) SWIG_fail;
7740 temp2 = True;
7741 }
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 Py_INCREF(Py_None); resultobj = Py_None;
7750 {
7751 if (temp1)
7752 delete arg1;
7753 }
7754 {
7755 if (temp2)
7756 delete arg2;
7757 }
7758 return resultobj;
7759 fail:
7760 {
7761 if (temp1)
7762 delete arg1;
7763 }
7764 {
7765 if (temp2)
7766 delete arg2;
7767 }
7768 return NULL;
7769 }
7770
7771
7772 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxLogNull *result;
7775 char *kwnames[] = {
7776 NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 result = (wxLogNull *)new wxLogNull();
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 }
7787 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7788 return resultobj;
7789 fail:
7790 return NULL;
7791 }
7792
7793
7794 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 wxLogNull *arg1 = (wxLogNull *) 0 ;
7797 PyObject * obj0 = 0 ;
7798 char *kwnames[] = {
7799 (char *) "self", NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 delete arg1;
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
7812 return resultobj;
7813 fail:
7814 return NULL;
7815 }
7816
7817
7818 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7819 PyObject *obj;
7820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7821 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7822 Py_INCREF(obj);
7823 return Py_BuildValue((char *)"");
7824 }
7825 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 wxPyLog *result;
7828 char *kwnames[] = {
7829 NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = (wxPyLog *)new wxPyLog();
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
7840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7841 return resultobj;
7842 fail:
7843 return NULL;
7844 }
7845
7846
7847 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj;
7849 wxPyLog *arg1 = (wxPyLog *) 0 ;
7850 PyObject *arg2 = (PyObject *) 0 ;
7851 PyObject *arg3 = (PyObject *) 0 ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 PyObject * obj2 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "self",(char *) "_class", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7861 arg2 = obj1;
7862 arg3 = obj2;
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 (arg1)->_setCallbackInfo(arg2,arg3);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 Py_INCREF(Py_None); resultobj = Py_None;
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
7878 PyObject *obj;
7879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7880 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
7881 Py_INCREF(obj);
7882 return Py_BuildValue((char *)"");
7883 }
7884 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 int arg1 ;
7887 int arg2 = (int) wxSIGTERM ;
7888 int result;
7889 char *kwnames[] = {
7890 (char *) "pid",(char *) "sig", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = PyInt_FromLong((long)result);
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 int arg1 ;
7911 bool result;
7912 char *kwnames[] = {
7913 (char *) "pid", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (bool)wxPyProcess::Exists(arg1);
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 resultobj = PyInt_FromLong((long)result);
7925 return resultobj;
7926 fail:
7927 return NULL;
7928 }
7929
7930
7931 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxString *arg1 = 0 ;
7934 int arg2 = (int) wxEXEC_ASYNC ;
7935 wxPyProcess *result;
7936 bool temp1 = False ;
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "cmd",(char *) "flags", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
7943 {
7944 arg1 = wxString_in_helper(obj0);
7945 if (arg1 == NULL) SWIG_fail;
7946 temp1 = True;
7947 }
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
7956 {
7957 if (temp1)
7958 delete arg1;
7959 }
7960 return resultobj;
7961 fail:
7962 {
7963 if (temp1)
7964 delete arg1;
7965 }
7966 return NULL;
7967 }
7968
7969
7970 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
7973 int arg2 = (int) -1 ;
7974 wxPyProcess *result;
7975 PyObject * obj0 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "parent",(char *) "id", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
7981 if (obj0) {
7982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983 }
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8001 PyObject *arg2 = (PyObject *) 0 ;
8002 PyObject *arg3 = (PyObject *) 0 ;
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 PyObject * obj2 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "self",(char *) "_class", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8012 arg2 = obj1;
8013 arg3 = obj2;
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 (arg1)->_setCallbackInfo(arg2,arg3);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 Py_INCREF(Py_None); resultobj = Py_None;
8022 return resultobj;
8023 fail:
8024 return NULL;
8025 }
8026
8027
8028 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj;
8030 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8031 int arg2 ;
8032 int arg3 ;
8033 PyObject * obj0 = 0 ;
8034 char *kwnames[] = {
8035 (char *) "self",(char *) "pid",(char *) "status", NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 (arg1)->base_OnTerminate(arg2,arg3);
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 Py_INCREF(Py_None); resultobj = Py_None;
8048 return resultobj;
8049 fail:
8050 return NULL;
8051 }
8052
8053
8054 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8057 PyObject * obj0 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->Redirect();
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8081 bool result;
8082 PyObject * obj0 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (bool)(arg1)->IsRedirected();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 resultobj = PyInt_FromLong((long)result);
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8106 PyObject * obj0 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 (arg1)->Detach();
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 Py_INCREF(Py_None); resultobj = Py_None;
8121 return resultobj;
8122 fail:
8123 return NULL;
8124 }
8125
8126
8127 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj;
8129 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8130 wxInputStream *result;
8131 PyObject * obj0 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 result = (wxInputStream *)(arg1)->GetInputStream();
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 {
8146 wxPyInputStream * _ptr = NULL;
8147
8148 if (result) {
8149 _ptr = new wxPyInputStream(result);
8150 }
8151 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8152 }
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8162 wxInputStream *result;
8163 PyObject * obj0 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 result = (wxInputStream *)(arg1)->GetErrorStream();
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 {
8178 wxPyInputStream * _ptr = NULL;
8179
8180 if (result) {
8181 _ptr = new wxPyInputStream(result);
8182 }
8183 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8184 }
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8194 wxOutputStream *result;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 result = (wxOutputStream *)(arg1)->GetOutputStream();
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8210 return resultobj;
8211 fail:
8212 return NULL;
8213 }
8214
8215
8216 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8219 PyObject * obj0 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 (arg1)->CloseOutput();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 Py_INCREF(Py_None); resultobj = Py_None;
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8243 bool result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = PyInt_FromLong((long)result);
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8268 bool result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = PyInt_FromLong((long)result);
8284 return resultobj;
8285 fail:
8286 return NULL;
8287 }
8288
8289
8290 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8293 bool result;
8294 PyObject * obj0 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 resultobj = PyInt_FromLong((long)result);
8309 return resultobj;
8310 fail:
8311 return NULL;
8312 }
8313
8314
8315 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8316 PyObject *obj;
8317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8318 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8319 Py_INCREF(obj);
8320 return Py_BuildValue((char *)"");
8321 }
8322 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject *resultobj;
8324 int arg1 = (int) 0 ;
8325 int arg2 = (int) 0 ;
8326 int arg3 = (int) 0 ;
8327 wxProcessEvent *result;
8328 char *kwnames[] = {
8329 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8341 return resultobj;
8342 fail:
8343 return NULL;
8344 }
8345
8346
8347 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8350 int result;
8351 PyObject * obj0 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "self", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (int)(arg1)->GetPid();
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 resultobj = PyInt_FromLong((long)result);
8366 return resultobj;
8367 fail:
8368 return NULL;
8369 }
8370
8371
8372 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8375 int result;
8376 PyObject * obj0 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 result = (int)(arg1)->GetExitCode();
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 resultobj = PyInt_FromLong((long)result);
8391 return resultobj;
8392 fail:
8393 return NULL;
8394 }
8395
8396
8397 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8400 int arg2 ;
8401 PyObject * obj0 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self",(char *) "m_pid", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8408 if (arg1) (arg1)->m_pid = arg2;
8409
8410 Py_INCREF(Py_None); resultobj = Py_None;
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8420 int result;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8428 result = (int) ((arg1)->m_pid);
8429
8430 resultobj = PyInt_FromLong((long)result);
8431 return resultobj;
8432 fail:
8433 return NULL;
8434 }
8435
8436
8437 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8438 PyObject *resultobj;
8439 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8440 int arg2 ;
8441 PyObject * obj0 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "m_exitcode", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 if (arg1) (arg1)->m_exitcode = arg2;
8449
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8460 int result;
8461 PyObject * obj0 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "self", NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8468 result = (int) ((arg1)->m_exitcode);
8469
8470 resultobj = PyInt_FromLong((long)result);
8471 return resultobj;
8472 fail:
8473 return NULL;
8474 }
8475
8476
8477 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8478 PyObject *obj;
8479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8480 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8481 Py_INCREF(obj);
8482 return Py_BuildValue((char *)"");
8483 }
8484 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxString *arg1 = 0 ;
8487 int arg2 = (int) wxEXEC_ASYNC ;
8488 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8489 long result;
8490 bool temp1 = False ;
8491 PyObject * obj0 = 0 ;
8492 PyObject * obj2 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "command",(char *) "flags",(char *) "process", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8498 {
8499 arg1 = wxString_in_helper(obj0);
8500 if (arg1 == NULL) SWIG_fail;
8501 temp1 = True;
8502 }
8503 if (obj2) {
8504 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = PyInt_FromLong((long)result);
8514 {
8515 if (temp1)
8516 delete arg1;
8517 }
8518 return resultobj;
8519 fail:
8520 {
8521 if (temp1)
8522 delete arg1;
8523 }
8524 return NULL;
8525 }
8526
8527
8528 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 int arg1 = (int) wxJOYSTICK1 ;
8531 wxJoystick *result;
8532 char *kwnames[] = {
8533 (char *) "joystick", NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = (wxJoystick *)new wxJoystick(arg1);
8540
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8552 PyObject *resultobj;
8553 wxJoystick *arg1 = (wxJoystick *) 0 ;
8554 PyObject * obj0 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "self", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 delete arg1;
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 Py_INCREF(Py_None); resultobj = Py_None;
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxJoystick *arg1 = (wxJoystick *) 0 ;
8578 wxPoint result;
8579 PyObject * obj0 = 0 ;
8580 char *kwnames[] = {
8581 (char *) "self", NULL
8582 };
8583
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (arg1)->GetPosition();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 {
8594 wxPoint * resultptr;
8595 resultptr = new wxPoint((wxPoint &) result);
8596 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8597 }
8598 return resultobj;
8599 fail:
8600 return NULL;
8601 }
8602
8603
8604 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8605 PyObject *resultobj;
8606 wxJoystick *arg1 = (wxJoystick *) 0 ;
8607 int result;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (int)(arg1)->GetZPosition();
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 resultobj = PyInt_FromLong((long)result);
8623 return resultobj;
8624 fail:
8625 return NULL;
8626 }
8627
8628
8629 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxJoystick *arg1 = (wxJoystick *) 0 ;
8632 int result;
8633 PyObject * obj0 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (int)(arg1)->GetButtonState();
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 resultobj = PyInt_FromLong((long)result);
8648 return resultobj;
8649 fail:
8650 return NULL;
8651 }
8652
8653
8654 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj;
8656 wxJoystick *arg1 = (wxJoystick *) 0 ;
8657 int result;
8658 PyObject * obj0 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "self", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (int)(arg1)->GetPOVPosition();
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 resultobj = PyInt_FromLong((long)result);
8673 return resultobj;
8674 fail:
8675 return NULL;
8676 }
8677
8678
8679 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxJoystick *arg1 = (wxJoystick *) 0 ;
8682 int result;
8683 PyObject * obj0 = 0 ;
8684 char *kwnames[] = {
8685 (char *) "self", NULL
8686 };
8687
8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 result = (int)(arg1)->GetPOVCTSPosition();
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 resultobj = PyInt_FromLong((long)result);
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxJoystick *arg1 = (wxJoystick *) 0 ;
8707 int result;
8708 PyObject * obj0 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 result = (int)(arg1)->GetRudderPosition();
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 resultobj = PyInt_FromLong((long)result);
8723 return resultobj;
8724 fail:
8725 return NULL;
8726 }
8727
8728
8729 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8730 PyObject *resultobj;
8731 wxJoystick *arg1 = (wxJoystick *) 0 ;
8732 int result;
8733 PyObject * obj0 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8740 {
8741 PyThreadState* __tstate = wxPyBeginAllowThreads();
8742 result = (int)(arg1)->GetUPosition();
8743
8744 wxPyEndAllowThreads(__tstate);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 resultobj = PyInt_FromLong((long)result);
8748 return resultobj;
8749 fail:
8750 return NULL;
8751 }
8752
8753
8754 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8755 PyObject *resultobj;
8756 wxJoystick *arg1 = (wxJoystick *) 0 ;
8757 int result;
8758 PyObject * obj0 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (int)(arg1)->GetVPosition();
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 resultobj = PyInt_FromLong((long)result);
8773 return resultobj;
8774 fail:
8775 return NULL;
8776 }
8777
8778
8779 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxJoystick *arg1 = (wxJoystick *) 0 ;
8782 int result;
8783 PyObject * obj0 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 result = (int)(arg1)->GetMovementThreshold();
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 resultobj = PyInt_FromLong((long)result);
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxJoystick *arg1 = (wxJoystick *) 0 ;
8807 int arg2 ;
8808 PyObject * obj0 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self",(char *) "threshold", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->SetMovementThreshold(arg2);
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 return resultobj;
8824 fail:
8825 return NULL;
8826 }
8827
8828
8829 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxJoystick *arg1 = (wxJoystick *) 0 ;
8832 bool result;
8833 PyObject * obj0 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8840 {
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 result = (bool)(arg1)->IsOk();
8843
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 resultobj = PyInt_FromLong((long)result);
8848 return resultobj;
8849 fail:
8850 return NULL;
8851 }
8852
8853
8854 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj;
8856 wxJoystick *arg1 = (wxJoystick *) 0 ;
8857 int result;
8858 PyObject * obj0 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
8864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 result = (int)(arg1)->GetNumberJoysticks();
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 resultobj = PyInt_FromLong((long)result);
8873 return resultobj;
8874 fail:
8875 return NULL;
8876 }
8877
8878
8879 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxJoystick *arg1 = (wxJoystick *) 0 ;
8882 int result;
8883 PyObject * obj0 = 0 ;
8884 char *kwnames[] = {
8885 (char *) "self", NULL
8886 };
8887
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
8889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 result = (int)(arg1)->GetManufacturerId();
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 resultobj = PyInt_FromLong((long)result);
8898 return resultobj;
8899 fail:
8900 return NULL;
8901 }
8902
8903
8904 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
8905 PyObject *resultobj;
8906 wxJoystick *arg1 = (wxJoystick *) 0 ;
8907 int result;
8908 PyObject * obj0 = 0 ;
8909 char *kwnames[] = {
8910 (char *) "self", NULL
8911 };
8912
8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
8914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (int)(arg1)->GetProductId();
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 resultobj = PyInt_FromLong((long)result);
8923 return resultobj;
8924 fail:
8925 return NULL;
8926 }
8927
8928
8929 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxJoystick *arg1 = (wxJoystick *) 0 ;
8932 wxString result;
8933 PyObject * obj0 = 0 ;
8934 char *kwnames[] = {
8935 (char *) "self", NULL
8936 };
8937
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
8939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 result = (arg1)->GetProductName();
8943
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 }
8947 {
8948 #if wxUSE_UNICODE
8949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8950 #else
8951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8952 #endif
8953 }
8954 return resultobj;
8955 fail:
8956 return NULL;
8957 }
8958
8959
8960 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8961 PyObject *resultobj;
8962 wxJoystick *arg1 = (wxJoystick *) 0 ;
8963 int result;
8964 PyObject * obj0 = 0 ;
8965 char *kwnames[] = {
8966 (char *) "self", NULL
8967 };
8968
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
8970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 result = (int)(arg1)->GetXMin();
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 resultobj = PyInt_FromLong((long)result);
8979 return resultobj;
8980 fail:
8981 return NULL;
8982 }
8983
8984
8985 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj;
8987 wxJoystick *arg1 = (wxJoystick *) 0 ;
8988 int result;
8989 PyObject * obj0 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
8995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 result = (int)(arg1)->GetYMin();
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 resultobj = PyInt_FromLong((long)result);
9004 return resultobj;
9005 fail:
9006 return NULL;
9007 }
9008
9009
9010 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxJoystick *arg1 = (wxJoystick *) 0 ;
9013 int result;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 result = (int)(arg1)->GetZMin();
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 resultobj = PyInt_FromLong((long)result);
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxJoystick *arg1 = (wxJoystick *) 0 ;
9038 int result;
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (int)(arg1)->GetXMax();
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 resultobj = PyInt_FromLong((long)result);
9054 return resultobj;
9055 fail:
9056 return NULL;
9057 }
9058
9059
9060 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9061 PyObject *resultobj;
9062 wxJoystick *arg1 = (wxJoystick *) 0 ;
9063 int result;
9064 PyObject * obj0 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (int)(arg1)->GetYMax();
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 resultobj = PyInt_FromLong((long)result);
9079 return resultobj;
9080 fail:
9081 return NULL;
9082 }
9083
9084
9085 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxJoystick *arg1 = (wxJoystick *) 0 ;
9088 int result;
9089 PyObject * obj0 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 result = (int)(arg1)->GetZMax();
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 resultobj = PyInt_FromLong((long)result);
9104 return resultobj;
9105 fail:
9106 return NULL;
9107 }
9108
9109
9110 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj;
9112 wxJoystick *arg1 = (wxJoystick *) 0 ;
9113 int result;
9114 PyObject * obj0 = 0 ;
9115 char *kwnames[] = {
9116 (char *) "self", NULL
9117 };
9118
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 result = (int)(arg1)->GetNumberButtons();
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 resultobj = PyInt_FromLong((long)result);
9129 return resultobj;
9130 fail:
9131 return NULL;
9132 }
9133
9134
9135 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj;
9137 wxJoystick *arg1 = (wxJoystick *) 0 ;
9138 int result;
9139 PyObject * obj0 = 0 ;
9140 char *kwnames[] = {
9141 (char *) "self", NULL
9142 };
9143
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 result = (int)(arg1)->GetNumberAxes();
9149
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 resultobj = PyInt_FromLong((long)result);
9154 return resultobj;
9155 fail:
9156 return NULL;
9157 }
9158
9159
9160 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj;
9162 wxJoystick *arg1 = (wxJoystick *) 0 ;
9163 int result;
9164 PyObject * obj0 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (int)(arg1)->GetMaxButtons();
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 resultobj = PyInt_FromLong((long)result);
9179 return resultobj;
9180 fail:
9181 return NULL;
9182 }
9183
9184
9185 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 wxJoystick *arg1 = (wxJoystick *) 0 ;
9188 int result;
9189 PyObject * obj0 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (int)(arg1)->GetMaxAxes();
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 resultobj = PyInt_FromLong((long)result);
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxJoystick *arg1 = (wxJoystick *) 0 ;
9213 int result;
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 result = (int)(arg1)->GetPollingMin();
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = PyInt_FromLong((long)result);
9229 return resultobj;
9230 fail:
9231 return NULL;
9232 }
9233
9234
9235 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxJoystick *arg1 = (wxJoystick *) 0 ;
9238 int result;
9239 PyObject * obj0 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 result = (int)(arg1)->GetPollingMax();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 resultobj = PyInt_FromLong((long)result);
9254 return resultobj;
9255 fail:
9256 return NULL;
9257 }
9258
9259
9260 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj;
9262 wxJoystick *arg1 = (wxJoystick *) 0 ;
9263 int result;
9264 PyObject * obj0 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 result = (int)(arg1)->GetRudderMin();
9274
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 resultobj = PyInt_FromLong((long)result);
9279 return resultobj;
9280 fail:
9281 return NULL;
9282 }
9283
9284
9285 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9286 PyObject *resultobj;
9287 wxJoystick *arg1 = (wxJoystick *) 0 ;
9288 int result;
9289 PyObject * obj0 = 0 ;
9290 char *kwnames[] = {
9291 (char *) "self", NULL
9292 };
9293
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (int)(arg1)->GetRudderMax();
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = PyInt_FromLong((long)result);
9304 return resultobj;
9305 fail:
9306 return NULL;
9307 }
9308
9309
9310 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxJoystick *arg1 = (wxJoystick *) 0 ;
9313 int result;
9314 PyObject * obj0 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (int)(arg1)->GetUMin();
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 resultobj = PyInt_FromLong((long)result);
9329 return resultobj;
9330 fail:
9331 return NULL;
9332 }
9333
9334
9335 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxJoystick *arg1 = (wxJoystick *) 0 ;
9338 int result;
9339 PyObject * obj0 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (int)(arg1)->GetUMax();
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 resultobj = PyInt_FromLong((long)result);
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj;
9362 wxJoystick *arg1 = (wxJoystick *) 0 ;
9363 int result;
9364 PyObject * obj0 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9371 {
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 result = (int)(arg1)->GetVMin();
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
9378 resultobj = PyInt_FromLong((long)result);
9379 return resultobj;
9380 fail:
9381 return NULL;
9382 }
9383
9384
9385 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9386 PyObject *resultobj;
9387 wxJoystick *arg1 = (wxJoystick *) 0 ;
9388 int result;
9389 PyObject * obj0 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (int)(arg1)->GetVMax();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 resultobj = PyInt_FromLong((long)result);
9404 return resultobj;
9405 fail:
9406 return NULL;
9407 }
9408
9409
9410 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj;
9412 wxJoystick *arg1 = (wxJoystick *) 0 ;
9413 bool result;
9414 PyObject * obj0 = 0 ;
9415 char *kwnames[] = {
9416 (char *) "self", NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 result = (bool)(arg1)->HasRudder();
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = PyInt_FromLong((long)result);
9429 return resultobj;
9430 fail:
9431 return NULL;
9432 }
9433
9434
9435 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj;
9437 wxJoystick *arg1 = (wxJoystick *) 0 ;
9438 bool result;
9439 PyObject * obj0 = 0 ;
9440 char *kwnames[] = {
9441 (char *) "self", NULL
9442 };
9443
9444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = (bool)(arg1)->HasZ();
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 resultobj = PyInt_FromLong((long)result);
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj;
9462 wxJoystick *arg1 = (wxJoystick *) 0 ;
9463 bool result;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (bool)(arg1)->HasU();
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = PyInt_FromLong((long)result);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxJoystick *arg1 = (wxJoystick *) 0 ;
9488 bool result;
9489 PyObject * obj0 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "self", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (bool)(arg1)->HasV();
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 resultobj = PyInt_FromLong((long)result);
9504 return resultobj;
9505 fail:
9506 return NULL;
9507 }
9508
9509
9510 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxJoystick *arg1 = (wxJoystick *) 0 ;
9513 bool result;
9514 PyObject * obj0 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (bool)(arg1)->HasPOV();
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 resultobj = PyInt_FromLong((long)result);
9529 return resultobj;
9530 fail:
9531 return NULL;
9532 }
9533
9534
9535 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxJoystick *arg1 = (wxJoystick *) 0 ;
9538 bool result;
9539 PyObject * obj0 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (bool)(arg1)->HasPOV4Dir();
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 resultobj = PyInt_FromLong((long)result);
9554 return resultobj;
9555 fail:
9556 return NULL;
9557 }
9558
9559
9560 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxJoystick *arg1 = (wxJoystick *) 0 ;
9563 bool result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 result = (bool)(arg1)->HasPOVCTS();
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 resultobj = PyInt_FromLong((long)result);
9579 return resultobj;
9580 fail:
9581 return NULL;
9582 }
9583
9584
9585 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxJoystick *arg1 = (wxJoystick *) 0 ;
9588 wxWindow *arg2 = (wxWindow *) 0 ;
9589 int arg3 = (int) 0 ;
9590 bool result;
9591 PyObject * obj0 = 0 ;
9592 PyObject * obj1 = 0 ;
9593 char *kwnames[] = {
9594 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9595 };
9596
9597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (bool)(arg1)->SetCapture(arg2,arg3);
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 }
9607 resultobj = PyInt_FromLong((long)result);
9608 return resultobj;
9609 fail:
9610 return NULL;
9611 }
9612
9613
9614 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9615 PyObject *resultobj;
9616 wxJoystick *arg1 = (wxJoystick *) 0 ;
9617 bool result;
9618 PyObject * obj0 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (bool)(arg1)->ReleaseCapture();
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 resultobj = PyInt_FromLong((long)result);
9633 return resultobj;
9634 fail:
9635 return NULL;
9636 }
9637
9638
9639 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9640 PyObject *obj;
9641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9642 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9643 Py_INCREF(obj);
9644 return Py_BuildValue((char *)"");
9645 }
9646 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9649 wxPoint *arg2 = (wxPoint *) 0 ;
9650 PyObject * obj0 = 0 ;
9651 PyObject * obj1 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "self",(char *) "m_pos", NULL
9654 };
9655
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9659 if (arg1) (arg1)->m_pos = *arg2;
9660
9661 Py_INCREF(Py_None); resultobj = Py_None;
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9671 wxPoint *result;
9672 PyObject * obj0 = 0 ;
9673 char *kwnames[] = {
9674 (char *) "self", NULL
9675 };
9676
9677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9679 result = (wxPoint *)& ((arg1)->m_pos);
9680
9681 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9691 int arg2 ;
9692 PyObject * obj0 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self",(char *) "m_zPosition", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9699 if (arg1) (arg1)->m_zPosition = arg2;
9700
9701 Py_INCREF(Py_None); resultobj = Py_None;
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9711 int result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 result = (int) ((arg1)->m_zPosition);
9720
9721 resultobj = PyInt_FromLong((long)result);
9722 return resultobj;
9723 fail:
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9731 int arg2 ;
9732 PyObject * obj0 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "m_buttonChange", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9739 if (arg1) (arg1)->m_buttonChange = arg2;
9740
9741 Py_INCREF(Py_None); resultobj = Py_None;
9742 return resultobj;
9743 fail:
9744 return NULL;
9745 }
9746
9747
9748 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9749 PyObject *resultobj;
9750 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9751 int result;
9752 PyObject * obj0 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 result = (int) ((arg1)->m_buttonChange);
9760
9761 resultobj = PyInt_FromLong((long)result);
9762 return resultobj;
9763 fail:
9764 return NULL;
9765 }
9766
9767
9768 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9769 PyObject *resultobj;
9770 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9771 int arg2 ;
9772 PyObject * obj0 = 0 ;
9773 char *kwnames[] = {
9774 (char *) "self",(char *) "m_buttonState", NULL
9775 };
9776
9777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9779 if (arg1) (arg1)->m_buttonState = arg2;
9780
9781 Py_INCREF(Py_None); resultobj = Py_None;
9782 return resultobj;
9783 fail:
9784 return NULL;
9785 }
9786
9787
9788 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9791 int result;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9799 result = (int) ((arg1)->m_buttonState);
9800
9801 resultobj = PyInt_FromLong((long)result);
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj;
9810 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9811 int arg2 ;
9812 PyObject * obj0 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self",(char *) "m_joyStick", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9819 if (arg1) (arg1)->m_joyStick = arg2;
9820
9821 Py_INCREF(Py_None); resultobj = Py_None;
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9831 int result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "self", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9839 result = (int) ((arg1)->m_joyStick);
9840
9841 resultobj = PyInt_FromLong((long)result);
9842 return resultobj;
9843 fail:
9844 return NULL;
9845 }
9846
9847
9848 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj;
9850 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9851 int arg2 = (int) 0 ;
9852 int arg3 = (int) wxJOYSTICK1 ;
9853 int arg4 = (int) 0 ;
9854 wxJoystickEvent *result;
9855 char *kwnames[] = {
9856 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
9868 return resultobj;
9869 fail:
9870 return NULL;
9871 }
9872
9873
9874 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj;
9876 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9877 wxPoint result;
9878 PyObject * obj0 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
9884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = ((wxJoystickEvent const *)arg1)->GetPosition();
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 wxPoint * resultptr;
9894 resultptr = new wxPoint((wxPoint &) result);
9895 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9896 }
9897 return resultobj;
9898 fail:
9899 return NULL;
9900 }
9901
9902
9903 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9906 int result;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = PyInt_FromLong((long)result);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9931 int result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = PyInt_FromLong((long)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9956 int result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = PyInt_FromLong((long)result);
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9981 int result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
9992
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 resultobj = PyInt_FromLong((long)result);
9997 return resultobj;
9998 fail:
9999 return NULL;
10000 }
10001
10002
10003 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10004 PyObject *resultobj;
10005 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10006 int arg2 ;
10007 PyObject * obj0 = 0 ;
10008 char *kwnames[] = {
10009 (char *) "self",(char *) "stick", NULL
10010 };
10011
10012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 (arg1)->SetJoystick(arg2);
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 Py_INCREF(Py_None); resultobj = Py_None;
10022 return resultobj;
10023 fail:
10024 return NULL;
10025 }
10026
10027
10028 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj;
10030 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10031 int arg2 ;
10032 PyObject * obj0 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self",(char *) "state", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 (arg1)->SetButtonState(arg2);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 Py_INCREF(Py_None); resultobj = Py_None;
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10056 int arg2 ;
10057 PyObject * obj0 = 0 ;
10058 char *kwnames[] = {
10059 (char *) "self",(char *) "change", NULL
10060 };
10061
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 (arg1)->SetButtonChange(arg2);
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 Py_INCREF(Py_None); resultobj = Py_None;
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10081 wxPoint *arg2 = 0 ;
10082 wxPoint temp2 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "pos", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10091 {
10092 arg2 = &temp2;
10093 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10094 }
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 (arg1)->SetPosition((wxPoint const &)*arg2);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 Py_INCREF(Py_None); resultobj = Py_None;
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10112 int arg2 ;
10113 PyObject * obj0 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self",(char *) "zPos", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 (arg1)->SetZPosition(arg2);
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 Py_INCREF(Py_None); resultobj = Py_None;
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj;
10136 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10137 bool result;
10138 PyObject * obj0 = 0 ;
10139 char *kwnames[] = {
10140 (char *) "self", NULL
10141 };
10142
10143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = PyInt_FromLong((long)result);
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10162 bool result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 resultobj = PyInt_FromLong((long)result);
10178 return resultobj;
10179 fail:
10180 return NULL;
10181 }
10182
10183
10184 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10185 PyObject *resultobj;
10186 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10187 bool result;
10188 PyObject * obj0 = 0 ;
10189 char *kwnames[] = {
10190 (char *) "self", NULL
10191 };
10192
10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 resultobj = PyInt_FromLong((long)result);
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10212 int arg2 = (int) wxJOY_BUTTON_ANY ;
10213 bool result;
10214 PyObject * obj0 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "self",(char *) "but", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 resultobj = PyInt_FromLong((long)result);
10229 return resultobj;
10230 fail:
10231 return NULL;
10232 }
10233
10234
10235 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj;
10237 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10238 int arg2 = (int) wxJOY_BUTTON_ANY ;
10239 bool result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self",(char *) "but", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 resultobj = PyInt_FromLong((long)result);
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10264 int arg2 = (int) wxJOY_BUTTON_ANY ;
10265 bool result;
10266 PyObject * obj0 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self",(char *) "but", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 resultobj = PyInt_FromLong((long)result);
10281 return resultobj;
10282 fail:
10283 return NULL;
10284 }
10285
10286
10287 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10288 PyObject *obj;
10289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10290 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10291 Py_INCREF(obj);
10292 return Py_BuildValue((char *)"");
10293 }
10294 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxString *arg1 = 0 ;
10297 bool arg2 = (bool) False ;
10298 wxWave *result;
10299 bool temp1 = False ;
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "fileName",(char *) "isResource", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10307 {
10308 arg1 = wxString_in_helper(obj0);
10309 if (arg1 == NULL) SWIG_fail;
10310 temp1 = True;
10311 }
10312 if (obj1) {
10313 arg2 = PyInt_AsLong(obj1) ? true : false;
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10324 {
10325 if (temp1)
10326 delete arg1;
10327 }
10328 return resultobj;
10329 fail:
10330 {
10331 if (temp1)
10332 delete arg1;
10333 }
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxString *arg1 = 0 ;
10341 wxWave *result;
10342 bool temp1 = False ;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "data", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10349 {
10350 arg1 = wxString_in_helper(obj0);
10351 if (arg1 == NULL) SWIG_fail;
10352 temp1 = True;
10353 }
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10362 {
10363 if (temp1)
10364 delete arg1;
10365 }
10366 return resultobj;
10367 fail:
10368 {
10369 if (temp1)
10370 delete arg1;
10371 }
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxWave *arg1 = (wxWave *) 0 ;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 delete arg1;
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 Py_INCREF(Py_None); resultobj = Py_None;
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxWave *arg1 = (wxWave *) 0 ;
10403 bool result;
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 result = (bool)((wxWave const *)arg1)->IsOk();
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 resultobj = PyInt_FromLong((long)result);
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxWave *arg1 = (wxWave *) 0 ;
10428 bool arg2 = (bool) True ;
10429 bool arg3 = (bool) False ;
10430 bool result;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 PyObject * obj2 = 0 ;
10434 char *kwnames[] = {
10435 (char *) "self",(char *) "async",(char *) "looped", NULL
10436 };
10437
10438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10440 if (obj1) {
10441 arg2 = PyInt_AsLong(obj1) ? true : false;
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 if (obj2) {
10445 arg3 = PyInt_AsLong(obj2) ? true : false;
10446 if (PyErr_Occurred()) SWIG_fail;
10447 }
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 result = (bool)(arg1)->Play(arg2,arg3);
10451
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 resultobj = PyInt_FromLong((long)result);
10456 return resultobj;
10457 fail:
10458 return NULL;
10459 }
10460
10461
10462 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10463 PyObject *obj;
10464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10465 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10466 Py_INCREF(obj);
10467 return Py_BuildValue((char *)"");
10468 }
10469 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxString *arg1 = 0 ;
10472 wxString *arg2 = 0 ;
10473 wxString *arg3 = 0 ;
10474 wxString *arg4 = 0 ;
10475 wxFileTypeInfo *result;
10476 bool temp1 = False ;
10477 bool temp2 = False ;
10478 bool temp3 = False ;
10479 bool temp4 = False ;
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482 PyObject * obj2 = 0 ;
10483 PyObject * obj3 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10489 {
10490 arg1 = wxString_in_helper(obj0);
10491 if (arg1 == NULL) SWIG_fail;
10492 temp1 = True;
10493 }
10494 {
10495 arg2 = wxString_in_helper(obj1);
10496 if (arg2 == NULL) SWIG_fail;
10497 temp2 = True;
10498 }
10499 {
10500 arg3 = wxString_in_helper(obj2);
10501 if (arg3 == NULL) SWIG_fail;
10502 temp3 = True;
10503 }
10504 {
10505 arg4 = wxString_in_helper(obj3);
10506 if (arg4 == NULL) SWIG_fail;
10507 temp4 = True;
10508 }
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10517 {
10518 if (temp1)
10519 delete arg1;
10520 }
10521 {
10522 if (temp2)
10523 delete arg2;
10524 }
10525 {
10526 if (temp3)
10527 delete arg3;
10528 }
10529 {
10530 if (temp4)
10531 delete arg4;
10532 }
10533 return resultobj;
10534 fail:
10535 {
10536 if (temp1)
10537 delete arg1;
10538 }
10539 {
10540 if (temp2)
10541 delete arg2;
10542 }
10543 {
10544 if (temp3)
10545 delete arg3;
10546 }
10547 {
10548 if (temp4)
10549 delete arg4;
10550 }
10551 return NULL;
10552 }
10553
10554
10555 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxArrayString *arg1 = 0 ;
10558 wxFileTypeInfo *result;
10559 PyObject * obj0 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "sArray", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10565 {
10566 if (! PySequence_Check(obj0)) {
10567 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10568 SWIG_fail;
10569 }
10570 arg1 = new wxArrayString;
10571 int i, len=PySequence_Length(obj0);
10572 for (i=0; i<len; i++) {
10573 PyObject* item = PySequence_GetItem(obj0, i);
10574 #if wxUSE_UNICODE
10575 PyObject* str = PyObject_Unicode(item);
10576 #else
10577 PyObject* str = PyObject_Str(item);
10578 #endif
10579 arg1->Add(Py2wxString(str));
10580 Py_DECREF(item);
10581 Py_DECREF(str);
10582 }
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10592 {
10593 if (arg1) delete arg1;
10594 }
10595 return resultobj;
10596 fail:
10597 {
10598 if (arg1) delete arg1;
10599 }
10600 return NULL;
10601 }
10602
10603
10604 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxFileTypeInfo *result;
10607 char *kwnames[] = {
10608 NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10620 return resultobj;
10621 fail:
10622 return NULL;
10623 }
10624
10625
10626 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10629 bool result;
10630 PyObject * obj0 = 0 ;
10631 char *kwnames[] = {
10632 (char *) "self", NULL
10633 };
10634
10635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 resultobj = PyInt_FromLong((long)result);
10645 return resultobj;
10646 fail:
10647 return NULL;
10648 }
10649
10650
10651 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10654 wxString *arg2 = 0 ;
10655 int arg3 = (int) 0 ;
10656 bool temp2 = False ;
10657 PyObject * obj0 = 0 ;
10658 PyObject * obj1 = 0 ;
10659 char *kwnames[] = {
10660 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10661 };
10662
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10665 {
10666 arg2 = wxString_in_helper(obj1);
10667 if (arg2 == NULL) SWIG_fail;
10668 temp2 = True;
10669 }
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 Py_INCREF(Py_None); resultobj = Py_None;
10678 {
10679 if (temp2)
10680 delete arg2;
10681 }
10682 return resultobj;
10683 fail:
10684 {
10685 if (temp2)
10686 delete arg2;
10687 }
10688 return NULL;
10689 }
10690
10691
10692 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10693 PyObject *resultobj;
10694 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10695 wxString *arg2 = 0 ;
10696 bool temp2 = False ;
10697 PyObject * obj0 = 0 ;
10698 PyObject * obj1 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self",(char *) "shortDesc", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10705 {
10706 arg2 = wxString_in_helper(obj1);
10707 if (arg2 == NULL) SWIG_fail;
10708 temp2 = True;
10709 }
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->SetShortDesc((wxString const &)*arg2);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 {
10719 if (temp2)
10720 delete arg2;
10721 }
10722 return resultobj;
10723 fail:
10724 {
10725 if (temp2)
10726 delete arg2;
10727 }
10728 return NULL;
10729 }
10730
10731
10732 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10733 PyObject *resultobj;
10734 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10735 wxString *result;
10736 PyObject * obj0 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 {
10746 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10747 result = (wxString *) &_result_ref;
10748 }
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10754 return resultobj;
10755 fail:
10756 return NULL;
10757 }
10758
10759
10760 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10763 wxString *result;
10764 PyObject * obj0 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 {
10774 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10775 result = (wxString *) &_result_ref;
10776 }
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10791 wxString *result;
10792 PyObject * obj0 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 {
10802 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10803 result = (wxString *) &_result_ref;
10804 }
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10819 wxString *result;
10820 PyObject * obj0 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 {
10830 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10831 result = (wxString *) &_result_ref;
10832 }
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10838 return resultobj;
10839 fail:
10840 return NULL;
10841 }
10842
10843
10844 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10847 wxString *result;
10848 PyObject * obj0 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 {
10858 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
10859 result = (wxString *) &_result_ref;
10860 }
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10866 return resultobj;
10867 fail:
10868 return NULL;
10869 }
10870
10871
10872 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
10873 PyObject *resultobj;
10874 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10875 wxArrayString *result;
10876 PyObject * obj0 = 0 ;
10877 char *kwnames[] = {
10878 (char *) "self", NULL
10879 };
10880
10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
10882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 {
10886 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
10887 result = (wxArrayString *) &_result_ref;
10888 }
10889
10890 wxPyEndAllowThreads(__tstate);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 {
10894 resultobj = wxArrayString2PyList_helper(*result);
10895 }
10896 return resultobj;
10897 fail:
10898 return NULL;
10899 }
10900
10901
10902 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10905 int result;
10906 PyObject * obj0 = 0 ;
10907 char *kwnames[] = {
10908 (char *) "self", NULL
10909 };
10910
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
10912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 resultobj = PyInt_FromLong((long)result);
10921 return resultobj;
10922 fail:
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10930 wxString *result;
10931 PyObject * obj0 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
10937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 {
10941 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
10942 result = (wxString *) &_result_ref;
10943 }
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10949 return resultobj;
10950 fail:
10951 return NULL;
10952 }
10953
10954
10955 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10958 int result;
10959 PyObject * obj0 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
10965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 resultobj = PyInt_FromLong((long)result);
10974 return resultobj;
10975 fail:
10976 return NULL;
10977 }
10978
10979
10980 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
10981 PyObject *obj;
10982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10983 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
10984 Py_INCREF(obj);
10985 return Py_BuildValue((char *)"");
10986 }
10987 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxFileTypeInfo *arg1 = 0 ;
10990 wxFileType *result;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "ftInfo", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
10997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10998 if (arg1 == NULL) {
10999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11000 }
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11009 return resultobj;
11010 fail:
11011 return NULL;
11012 }
11013
11014
11015 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj;
11017 wxFileType *arg1 = (wxFileType *) 0 ;
11018 PyObject * obj0 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 delete arg1;
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 Py_INCREF(Py_None); resultobj = Py_None;
11033 return resultobj;
11034 fail:
11035 return NULL;
11036 }
11037
11038
11039 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj;
11041 wxFileType *arg1 = (wxFileType *) 0 ;
11042 PyObject *result;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (PyObject *)wxFileType_GetMimeType(arg1);
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 resultobj = result;
11058 return resultobj;
11059 fail:
11060 return NULL;
11061 }
11062
11063
11064 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11065 PyObject *resultobj;
11066 wxFileType *arg1 = (wxFileType *) 0 ;
11067 PyObject *result;
11068 PyObject * obj0 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "self", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11078
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 resultobj = result;
11083 return resultobj;
11084 fail:
11085 return NULL;
11086 }
11087
11088
11089 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj;
11091 wxFileType *arg1 = (wxFileType *) 0 ;
11092 PyObject *result;
11093 PyObject * obj0 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 result = (PyObject *)wxFileType_GetExtensions(arg1);
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 resultobj = result;
11108 return resultobj;
11109 fail:
11110 return NULL;
11111 }
11112
11113
11114 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxFileType *arg1 = (wxFileType *) 0 ;
11117 wxIcon *result;
11118 PyObject * obj0 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (wxIcon *)wxFileType_GetIcon(arg1);
11128
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11133 return resultobj;
11134 fail:
11135 return NULL;
11136 }
11137
11138
11139 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj;
11141 wxFileType *arg1 = (wxFileType *) 0 ;
11142 PyObject *result;
11143 PyObject * obj0 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "self", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 resultobj = result;
11158 return resultobj;
11159 fail:
11160 return NULL;
11161 }
11162
11163
11164 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj;
11166 wxFileType *arg1 = (wxFileType *) 0 ;
11167 PyObject *result;
11168 PyObject * obj0 = 0 ;
11169 char *kwnames[] = {
11170 (char *) "self", NULL
11171 };
11172
11173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 result = (PyObject *)wxFileType_GetDescription(arg1);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 resultobj = result;
11183 return resultobj;
11184 fail:
11185 return NULL;
11186 }
11187
11188
11189 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxFileType *arg1 = (wxFileType *) 0 ;
11192 wxString *arg2 = 0 ;
11193 wxString const &arg3_defvalue = wxPyEmptyString ;
11194 wxString *arg3 = (wxString *) &arg3_defvalue ;
11195 PyObject *result;
11196 bool temp2 = False ;
11197 bool temp3 = False ;
11198 PyObject * obj0 = 0 ;
11199 PyObject * obj1 = 0 ;
11200 PyObject * obj2 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11207 {
11208 arg2 = wxString_in_helper(obj1);
11209 if (arg2 == NULL) SWIG_fail;
11210 temp2 = True;
11211 }
11212 if (obj2) {
11213 {
11214 arg3 = wxString_in_helper(obj2);
11215 if (arg3 == NULL) SWIG_fail;
11216 temp3 = True;
11217 }
11218 }
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 resultobj = result;
11227 {
11228 if (temp2)
11229 delete arg2;
11230 }
11231 {
11232 if (temp3)
11233 delete arg3;
11234 }
11235 return resultobj;
11236 fail:
11237 {
11238 if (temp2)
11239 delete arg2;
11240 }
11241 {
11242 if (temp3)
11243 delete arg3;
11244 }
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxFileType *arg1 = (wxFileType *) 0 ;
11252 wxString *arg2 = 0 ;
11253 wxString const &arg3_defvalue = wxPyEmptyString ;
11254 wxString *arg3 = (wxString *) &arg3_defvalue ;
11255 PyObject *result;
11256 bool temp2 = False ;
11257 bool temp3 = False ;
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 PyObject * obj2 = 0 ;
11261 char *kwnames[] = {
11262 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11263 };
11264
11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11267 {
11268 arg2 = wxString_in_helper(obj1);
11269 if (arg2 == NULL) SWIG_fail;
11270 temp2 = True;
11271 }
11272 if (obj2) {
11273 {
11274 arg3 = wxString_in_helper(obj2);
11275 if (arg3 == NULL) SWIG_fail;
11276 temp3 = True;
11277 }
11278 }
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
11281 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11282
11283 wxPyEndAllowThreads(__tstate);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 }
11286 resultobj = result;
11287 {
11288 if (temp2)
11289 delete arg2;
11290 }
11291 {
11292 if (temp3)
11293 delete arg3;
11294 }
11295 return resultobj;
11296 fail:
11297 {
11298 if (temp2)
11299 delete arg2;
11300 }
11301 {
11302 if (temp3)
11303 delete arg3;
11304 }
11305 return NULL;
11306 }
11307
11308
11309 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11310 PyObject *resultobj;
11311 wxFileType *arg1 = (wxFileType *) 0 ;
11312 wxString *arg2 = 0 ;
11313 wxString const &arg3_defvalue = wxPyEmptyString ;
11314 wxString *arg3 = (wxString *) &arg3_defvalue ;
11315 PyObject *result;
11316 bool temp2 = False ;
11317 bool temp3 = False ;
11318 PyObject * obj0 = 0 ;
11319 PyObject * obj1 = 0 ;
11320 PyObject * obj2 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11327 {
11328 arg2 = wxString_in_helper(obj1);
11329 if (arg2 == NULL) SWIG_fail;
11330 temp2 = True;
11331 }
11332 if (obj2) {
11333 {
11334 arg3 = wxString_in_helper(obj2);
11335 if (arg3 == NULL) SWIG_fail;
11336 temp3 = True;
11337 }
11338 }
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = result;
11347 {
11348 if (temp2)
11349 delete arg2;
11350 }
11351 {
11352 if (temp3)
11353 delete arg3;
11354 }
11355 return resultobj;
11356 fail:
11357 {
11358 if (temp2)
11359 delete arg2;
11360 }
11361 {
11362 if (temp3)
11363 delete arg3;
11364 }
11365 return NULL;
11366 }
11367
11368
11369 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxFileType *arg1 = (wxFileType *) 0 ;
11372 wxString *arg2 = 0 ;
11373 wxString *arg3 = 0 ;
11374 bool arg4 = (bool) True ;
11375 bool result;
11376 bool temp2 = False ;
11377 bool temp3 = False ;
11378 PyObject * obj0 = 0 ;
11379 PyObject * obj1 = 0 ;
11380 PyObject * obj2 = 0 ;
11381 PyObject * obj3 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11388 {
11389 arg2 = wxString_in_helper(obj1);
11390 if (arg2 == NULL) SWIG_fail;
11391 temp2 = True;
11392 }
11393 {
11394 arg3 = wxString_in_helper(obj2);
11395 if (arg3 == NULL) SWIG_fail;
11396 temp3 = True;
11397 }
11398 if (obj3) {
11399 arg4 = PyInt_AsLong(obj3) ? true : false;
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 {
11403 PyThreadState* __tstate = wxPyBeginAllowThreads();
11404 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11405
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 resultobj = PyInt_FromLong((long)result);
11410 {
11411 if (temp2)
11412 delete arg2;
11413 }
11414 {
11415 if (temp3)
11416 delete arg3;
11417 }
11418 return resultobj;
11419 fail:
11420 {
11421 if (temp2)
11422 delete arg2;
11423 }
11424 {
11425 if (temp3)
11426 delete arg3;
11427 }
11428 return NULL;
11429 }
11430
11431
11432 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11433 PyObject *resultobj;
11434 wxFileType *arg1 = (wxFileType *) 0 ;
11435 wxString const &arg2_defvalue = wxPyEmptyString ;
11436 wxString *arg2 = (wxString *) &arg2_defvalue ;
11437 int arg3 = (int) 0 ;
11438 bool result;
11439 bool temp2 = False ;
11440 PyObject * obj0 = 0 ;
11441 PyObject * obj1 = 0 ;
11442 char *kwnames[] = {
11443 (char *) "self",(char *) "cmd",(char *) "index", NULL
11444 };
11445
11446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11448 if (obj1) {
11449 {
11450 arg2 = wxString_in_helper(obj1);
11451 if (arg2 == NULL) SWIG_fail;
11452 temp2 = True;
11453 }
11454 }
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 resultobj = PyInt_FromLong((long)result);
11463 {
11464 if (temp2)
11465 delete arg2;
11466 }
11467 return resultobj;
11468 fail:
11469 {
11470 if (temp2)
11471 delete arg2;
11472 }
11473 return NULL;
11474 }
11475
11476
11477 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxFileType *arg1 = (wxFileType *) 0 ;
11480 bool result;
11481 PyObject * obj0 = 0 ;
11482 char *kwnames[] = {
11483 (char *) "self", NULL
11484 };
11485
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (bool)(arg1)->Unassociate();
11491
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 resultobj = PyInt_FromLong((long)result);
11496 return resultobj;
11497 fail:
11498 return NULL;
11499 }
11500
11501
11502 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11503 PyObject *resultobj;
11504 wxString *arg1 = 0 ;
11505 wxString *arg2 = 0 ;
11506 wxString const &arg3_defvalue = wxPyEmptyString ;
11507 wxString *arg3 = (wxString *) &arg3_defvalue ;
11508 wxString result;
11509 bool temp1 = False ;
11510 bool temp2 = False ;
11511 bool temp3 = False ;
11512 PyObject * obj0 = 0 ;
11513 PyObject * obj1 = 0 ;
11514 PyObject * obj2 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11520 {
11521 arg1 = wxString_in_helper(obj0);
11522 if (arg1 == NULL) SWIG_fail;
11523 temp1 = True;
11524 }
11525 {
11526 arg2 = wxString_in_helper(obj1);
11527 if (arg2 == NULL) SWIG_fail;
11528 temp2 = True;
11529 }
11530 if (obj2) {
11531 {
11532 arg3 = wxString_in_helper(obj2);
11533 if (arg3 == NULL) SWIG_fail;
11534 temp3 = True;
11535 }
11536 }
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 {
11545 #if wxUSE_UNICODE
11546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11547 #else
11548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11549 #endif
11550 }
11551 {
11552 if (temp1)
11553 delete arg1;
11554 }
11555 {
11556 if (temp2)
11557 delete arg2;
11558 }
11559 {
11560 if (temp3)
11561 delete arg3;
11562 }
11563 return resultobj;
11564 fail:
11565 {
11566 if (temp1)
11567 delete arg1;
11568 }
11569 {
11570 if (temp2)
11571 delete arg2;
11572 }
11573 {
11574 if (temp3)
11575 delete arg3;
11576 }
11577 return NULL;
11578 }
11579
11580
11581 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11582 PyObject *obj;
11583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11584 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11585 Py_INCREF(obj);
11586 return Py_BuildValue((char *)"");
11587 }
11588 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11589 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11590 return 1;
11591 }
11592
11593
11594 static PyObject *_wrap_TheMimeTypesManager_get() {
11595 PyObject *pyobj;
11596
11597 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11598 return pyobj;
11599 }
11600
11601
11602 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11603 PyObject *resultobj;
11604 wxString *arg1 = 0 ;
11605 wxString *arg2 = 0 ;
11606 bool result;
11607 bool temp1 = False ;
11608 bool temp2 = False ;
11609 PyObject * obj0 = 0 ;
11610 PyObject * obj1 = 0 ;
11611 char *kwnames[] = {
11612 (char *) "mimeType",(char *) "wildcard", NULL
11613 };
11614
11615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11616 {
11617 arg1 = wxString_in_helper(obj0);
11618 if (arg1 == NULL) SWIG_fail;
11619 temp1 = True;
11620 }
11621 {
11622 arg2 = wxString_in_helper(obj1);
11623 if (arg2 == NULL) SWIG_fail;
11624 temp2 = True;
11625 }
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 resultobj = PyInt_FromLong((long)result);
11634 {
11635 if (temp1)
11636 delete arg1;
11637 }
11638 {
11639 if (temp2)
11640 delete arg2;
11641 }
11642 return resultobj;
11643 fail:
11644 {
11645 if (temp1)
11646 delete arg1;
11647 }
11648 {
11649 if (temp2)
11650 delete arg2;
11651 }
11652 return NULL;
11653 }
11654
11655
11656 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11657 PyObject *resultobj;
11658 wxMimeTypesManager *result;
11659 char *kwnames[] = {
11660 NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11681 int arg2 = (int) wxMAILCAP_ALL ;
11682 wxString const &arg3_defvalue = wxPyEmptyString ;
11683 wxString *arg3 = (wxString *) &arg3_defvalue ;
11684 bool temp3 = False ;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11693 if (obj2) {
11694 {
11695 arg3 = wxString_in_helper(obj2);
11696 if (arg3 == NULL) SWIG_fail;
11697 temp3 = True;
11698 }
11699 }
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 Py_INCREF(Py_None); resultobj = Py_None;
11708 {
11709 if (temp3)
11710 delete arg3;
11711 }
11712 return resultobj;
11713 fail:
11714 {
11715 if (temp3)
11716 delete arg3;
11717 }
11718 return NULL;
11719 }
11720
11721
11722 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11723 PyObject *resultobj;
11724 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11725 PyObject * obj0 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 (arg1)->ClearData();
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 Py_INCREF(Py_None); resultobj = Py_None;
11740 return resultobj;
11741 fail:
11742 return NULL;
11743 }
11744
11745
11746 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11749 wxString *arg2 = 0 ;
11750 wxFileType *result;
11751 bool temp2 = False ;
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "self",(char *) "ext", NULL
11756 };
11757
11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11760 {
11761 arg2 = wxString_in_helper(obj1);
11762 if (arg2 == NULL) SWIG_fail;
11763 temp2 = True;
11764 }
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11773 {
11774 if (temp2)
11775 delete arg2;
11776 }
11777 return resultobj;
11778 fail:
11779 {
11780 if (temp2)
11781 delete arg2;
11782 }
11783 return NULL;
11784 }
11785
11786
11787 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11790 wxString *arg2 = 0 ;
11791 wxFileType *result;
11792 bool temp2 = False ;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 char *kwnames[] = {
11796 (char *) "self",(char *) "mimeType", NULL
11797 };
11798
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11801 {
11802 arg2 = wxString_in_helper(obj1);
11803 if (arg2 == NULL) SWIG_fail;
11804 temp2 = True;
11805 }
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11814 {
11815 if (temp2)
11816 delete arg2;
11817 }
11818 return resultobj;
11819 fail:
11820 {
11821 if (temp2)
11822 delete arg2;
11823 }
11824 return NULL;
11825 }
11826
11827
11828 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj;
11830 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11831 wxString *arg2 = 0 ;
11832 bool arg3 = (bool) False ;
11833 bool result;
11834 bool temp2 = False ;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 PyObject * obj2 = 0 ;
11838 char *kwnames[] = {
11839 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11840 };
11841
11842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
11843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11844 {
11845 arg2 = wxString_in_helper(obj1);
11846 if (arg2 == NULL) SWIG_fail;
11847 temp2 = True;
11848 }
11849 if (obj2) {
11850 arg3 = PyInt_AsLong(obj2) ? true : false;
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 resultobj = PyInt_FromLong((long)result);
11861 {
11862 if (temp2)
11863 delete arg2;
11864 }
11865 return resultobj;
11866 fail:
11867 {
11868 if (temp2)
11869 delete arg2;
11870 }
11871 return NULL;
11872 }
11873
11874
11875 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11878 wxString *arg2 = 0 ;
11879 bool result;
11880 bool temp2 = False ;
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "filename", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11889 {
11890 arg2 = wxString_in_helper(obj1);
11891 if (arg2 == NULL) SWIG_fail;
11892 temp2 = True;
11893 }
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
11897
11898 wxPyEndAllowThreads(__tstate);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 resultobj = PyInt_FromLong((long)result);
11902 {
11903 if (temp2)
11904 delete arg2;
11905 }
11906 return resultobj;
11907 fail:
11908 {
11909 if (temp2)
11910 delete arg2;
11911 }
11912 return NULL;
11913 }
11914
11915
11916 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj;
11918 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11919 PyObject *result;
11920 PyObject * obj0 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "self", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = result;
11935 return resultobj;
11936 fail:
11937 return NULL;
11938 }
11939
11940
11941 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11944 wxFileTypeInfo *arg2 = 0 ;
11945 PyObject * obj0 = 0 ;
11946 PyObject * obj1 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "self",(char *) "ft", NULL
11949 };
11950
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
11952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11954 if (arg2 == NULL) {
11955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11956 }
11957 {
11958 PyThreadState* __tstate = wxPyBeginAllowThreads();
11959 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
11960
11961 wxPyEndAllowThreads(__tstate);
11962 if (PyErr_Occurred()) SWIG_fail;
11963 }
11964 Py_INCREF(Py_None); resultobj = Py_None;
11965 return resultobj;
11966 fail:
11967 return NULL;
11968 }
11969
11970
11971 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11974 wxFileTypeInfo *arg2 = 0 ;
11975 wxFileType *result;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self",(char *) "ftInfo", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985 if (arg2 == NULL) {
11986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11987 }
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
11991
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
11995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11996 return resultobj;
11997 fail:
11998 return NULL;
11999 }
12000
12001
12002 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12003 PyObject *resultobj;
12004 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12005 wxFileType *arg2 = (wxFileType *) 0 ;
12006 bool result;
12007 PyObject * obj0 = 0 ;
12008 PyObject * obj1 = 0 ;
12009 char *kwnames[] = {
12010 (char *) "self",(char *) "ft", NULL
12011 };
12012
12013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 result = (bool)(arg1)->Unassociate(arg2);
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 resultobj = PyInt_FromLong((long)result);
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12033 PyObject * obj0 = 0 ;
12034 char *kwnames[] = {
12035 (char *) "self", NULL
12036 };
12037
12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 delete arg1;
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 Py_INCREF(Py_None); resultobj = Py_None;
12048 return resultobj;
12049 fail:
12050 return NULL;
12051 }
12052
12053
12054 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12055 PyObject *obj;
12056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12057 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12058 Py_INCREF(obj);
12059 return Py_BuildValue((char *)"");
12060 }
12061 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12062 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12063 return 1;
12064 }
12065
12066
12067 static PyObject *_wrap_ART_TOOLBAR_get() {
12068 PyObject *pyobj;
12069
12070 {
12071 #if wxUSE_UNICODE
12072 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12073 #else
12074 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12075 #endif
12076 }
12077 return pyobj;
12078 }
12079
12080
12081 static int _wrap_ART_MENU_set(PyObject *_val) {
12082 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12083 return 1;
12084 }
12085
12086
12087 static PyObject *_wrap_ART_MENU_get() {
12088 PyObject *pyobj;
12089
12090 {
12091 #if wxUSE_UNICODE
12092 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12093 #else
12094 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12095 #endif
12096 }
12097 return pyobj;
12098 }
12099
12100
12101 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12102 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12103 return 1;
12104 }
12105
12106
12107 static PyObject *_wrap_ART_FRAME_ICON_get() {
12108 PyObject *pyobj;
12109
12110 {
12111 #if wxUSE_UNICODE
12112 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12113 #else
12114 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12115 #endif
12116 }
12117 return pyobj;
12118 }
12119
12120
12121 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12122 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12123 return 1;
12124 }
12125
12126
12127 static PyObject *_wrap_ART_CMN_DIALOG_get() {
12128 PyObject *pyobj;
12129
12130 {
12131 #if wxUSE_UNICODE
12132 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12133 #else
12134 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12135 #endif
12136 }
12137 return pyobj;
12138 }
12139
12140
12141 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12142 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12143 return 1;
12144 }
12145
12146
12147 static PyObject *_wrap_ART_HELP_BROWSER_get() {
12148 PyObject *pyobj;
12149
12150 {
12151 #if wxUSE_UNICODE
12152 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12153 #else
12154 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12155 #endif
12156 }
12157 return pyobj;
12158 }
12159
12160
12161 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12162 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12163 return 1;
12164 }
12165
12166
12167 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12168 PyObject *pyobj;
12169
12170 {
12171 #if wxUSE_UNICODE
12172 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12173 #else
12174 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12175 #endif
12176 }
12177 return pyobj;
12178 }
12179
12180
12181 static int _wrap_ART_OTHER_set(PyObject *_val) {
12182 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12183 return 1;
12184 }
12185
12186
12187 static PyObject *_wrap_ART_OTHER_get() {
12188 PyObject *pyobj;
12189
12190 {
12191 #if wxUSE_UNICODE
12192 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12193 #else
12194 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12195 #endif
12196 }
12197 return pyobj;
12198 }
12199
12200
12201 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12202 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12203 return 1;
12204 }
12205
12206
12207 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12208 PyObject *pyobj;
12209
12210 {
12211 #if wxUSE_UNICODE
12212 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12213 #else
12214 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12215 #endif
12216 }
12217 return pyobj;
12218 }
12219
12220
12221 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12222 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12223 return 1;
12224 }
12225
12226
12227 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12228 PyObject *pyobj;
12229
12230 {
12231 #if wxUSE_UNICODE
12232 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12233 #else
12234 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12235 #endif
12236 }
12237 return pyobj;
12238 }
12239
12240
12241 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12242 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12243 return 1;
12244 }
12245
12246
12247 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12248 PyObject *pyobj;
12249
12250 {
12251 #if wxUSE_UNICODE
12252 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12253 #else
12254 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12255 #endif
12256 }
12257 return pyobj;
12258 }
12259
12260
12261 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12262 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12263 return 1;
12264 }
12265
12266
12267 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12268 PyObject *pyobj;
12269
12270 {
12271 #if wxUSE_UNICODE
12272 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12273 #else
12274 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12275 #endif
12276 }
12277 return pyobj;
12278 }
12279
12280
12281 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12282 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12283 return 1;
12284 }
12285
12286
12287 static PyObject *_wrap_ART_HELP_BOOK_get() {
12288 PyObject *pyobj;
12289
12290 {
12291 #if wxUSE_UNICODE
12292 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12293 #else
12294 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12295 #endif
12296 }
12297 return pyobj;
12298 }
12299
12300
12301 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12302 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12303 return 1;
12304 }
12305
12306
12307 static PyObject *_wrap_ART_HELP_FOLDER_get() {
12308 PyObject *pyobj;
12309
12310 {
12311 #if wxUSE_UNICODE
12312 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12313 #else
12314 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12315 #endif
12316 }
12317 return pyobj;
12318 }
12319
12320
12321 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12322 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12323 return 1;
12324 }
12325
12326
12327 static PyObject *_wrap_ART_HELP_PAGE_get() {
12328 PyObject *pyobj;
12329
12330 {
12331 #if wxUSE_UNICODE
12332 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12333 #else
12334 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12335 #endif
12336 }
12337 return pyobj;
12338 }
12339
12340
12341 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12342 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12343 return 1;
12344 }
12345
12346
12347 static PyObject *_wrap_ART_GO_BACK_get() {
12348 PyObject *pyobj;
12349
12350 {
12351 #if wxUSE_UNICODE
12352 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12353 #else
12354 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12355 #endif
12356 }
12357 return pyobj;
12358 }
12359
12360
12361 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12362 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12363 return 1;
12364 }
12365
12366
12367 static PyObject *_wrap_ART_GO_FORWARD_get() {
12368 PyObject *pyobj;
12369
12370 {
12371 #if wxUSE_UNICODE
12372 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12373 #else
12374 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12375 #endif
12376 }
12377 return pyobj;
12378 }
12379
12380
12381 static int _wrap_ART_GO_UP_set(PyObject *_val) {
12382 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12383 return 1;
12384 }
12385
12386
12387 static PyObject *_wrap_ART_GO_UP_get() {
12388 PyObject *pyobj;
12389
12390 {
12391 #if wxUSE_UNICODE
12392 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12393 #else
12394 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12395 #endif
12396 }
12397 return pyobj;
12398 }
12399
12400
12401 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12402 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12403 return 1;
12404 }
12405
12406
12407 static PyObject *_wrap_ART_GO_DOWN_get() {
12408 PyObject *pyobj;
12409
12410 {
12411 #if wxUSE_UNICODE
12412 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12413 #else
12414 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12415 #endif
12416 }
12417 return pyobj;
12418 }
12419
12420
12421 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12422 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12423 return 1;
12424 }
12425
12426
12427 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12428 PyObject *pyobj;
12429
12430 {
12431 #if wxUSE_UNICODE
12432 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12433 #else
12434 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12435 #endif
12436 }
12437 return pyobj;
12438 }
12439
12440
12441 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12442 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12443 return 1;
12444 }
12445
12446
12447 static PyObject *_wrap_ART_GO_HOME_get() {
12448 PyObject *pyobj;
12449
12450 {
12451 #if wxUSE_UNICODE
12452 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12453 #else
12454 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12455 #endif
12456 }
12457 return pyobj;
12458 }
12459
12460
12461 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12462 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12463 return 1;
12464 }
12465
12466
12467 static PyObject *_wrap_ART_FILE_OPEN_get() {
12468 PyObject *pyobj;
12469
12470 {
12471 #if wxUSE_UNICODE
12472 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12473 #else
12474 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12475 #endif
12476 }
12477 return pyobj;
12478 }
12479
12480
12481 static int _wrap_ART_PRINT_set(PyObject *_val) {
12482 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12483 return 1;
12484 }
12485
12486
12487 static PyObject *_wrap_ART_PRINT_get() {
12488 PyObject *pyobj;
12489
12490 {
12491 #if wxUSE_UNICODE
12492 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12493 #else
12494 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12495 #endif
12496 }
12497 return pyobj;
12498 }
12499
12500
12501 static int _wrap_ART_HELP_set(PyObject *_val) {
12502 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12503 return 1;
12504 }
12505
12506
12507 static PyObject *_wrap_ART_HELP_get() {
12508 PyObject *pyobj;
12509
12510 {
12511 #if wxUSE_UNICODE
12512 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12513 #else
12514 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12515 #endif
12516 }
12517 return pyobj;
12518 }
12519
12520
12521 static int _wrap_ART_TIP_set(PyObject *_val) {
12522 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12523 return 1;
12524 }
12525
12526
12527 static PyObject *_wrap_ART_TIP_get() {
12528 PyObject *pyobj;
12529
12530 {
12531 #if wxUSE_UNICODE
12532 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12533 #else
12534 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12535 #endif
12536 }
12537 return pyobj;
12538 }
12539
12540
12541 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12542 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12543 return 1;
12544 }
12545
12546
12547 static PyObject *_wrap_ART_REPORT_VIEW_get() {
12548 PyObject *pyobj;
12549
12550 {
12551 #if wxUSE_UNICODE
12552 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12553 #else
12554 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12555 #endif
12556 }
12557 return pyobj;
12558 }
12559
12560
12561 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12562 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12563 return 1;
12564 }
12565
12566
12567 static PyObject *_wrap_ART_LIST_VIEW_get() {
12568 PyObject *pyobj;
12569
12570 {
12571 #if wxUSE_UNICODE
12572 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12573 #else
12574 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12575 #endif
12576 }
12577 return pyobj;
12578 }
12579
12580
12581 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12582 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12583 return 1;
12584 }
12585
12586
12587 static PyObject *_wrap_ART_NEW_DIR_get() {
12588 PyObject *pyobj;
12589
12590 {
12591 #if wxUSE_UNICODE
12592 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12593 #else
12594 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12595 #endif
12596 }
12597 return pyobj;
12598 }
12599
12600
12601 static int _wrap_ART_FOLDER_set(PyObject *_val) {
12602 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12603 return 1;
12604 }
12605
12606
12607 static PyObject *_wrap_ART_FOLDER_get() {
12608 PyObject *pyobj;
12609
12610 {
12611 #if wxUSE_UNICODE
12612 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12613 #else
12614 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12615 #endif
12616 }
12617 return pyobj;
12618 }
12619
12620
12621 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12622 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12623 return 1;
12624 }
12625
12626
12627 static PyObject *_wrap_ART_GO_DIR_UP_get() {
12628 PyObject *pyobj;
12629
12630 {
12631 #if wxUSE_UNICODE
12632 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12633 #else
12634 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12635 #endif
12636 }
12637 return pyobj;
12638 }
12639
12640
12641 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12642 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12643 return 1;
12644 }
12645
12646
12647 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12648 PyObject *pyobj;
12649
12650 {
12651 #if wxUSE_UNICODE
12652 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12653 #else
12654 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12655 #endif
12656 }
12657 return pyobj;
12658 }
12659
12660
12661 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12662 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12663 return 1;
12664 }
12665
12666
12667 static PyObject *_wrap_ART_NORMAL_FILE_get() {
12668 PyObject *pyobj;
12669
12670 {
12671 #if wxUSE_UNICODE
12672 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12673 #else
12674 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12675 #endif
12676 }
12677 return pyobj;
12678 }
12679
12680
12681 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12682 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12683 return 1;
12684 }
12685
12686
12687 static PyObject *_wrap_ART_TICK_MARK_get() {
12688 PyObject *pyobj;
12689
12690 {
12691 #if wxUSE_UNICODE
12692 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12693 #else
12694 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12695 #endif
12696 }
12697 return pyobj;
12698 }
12699
12700
12701 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12702 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12703 return 1;
12704 }
12705
12706
12707 static PyObject *_wrap_ART_CROSS_MARK_get() {
12708 PyObject *pyobj;
12709
12710 {
12711 #if wxUSE_UNICODE
12712 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12713 #else
12714 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12715 #endif
12716 }
12717 return pyobj;
12718 }
12719
12720
12721 static int _wrap_ART_ERROR_set(PyObject *_val) {
12722 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12723 return 1;
12724 }
12725
12726
12727 static PyObject *_wrap_ART_ERROR_get() {
12728 PyObject *pyobj;
12729
12730 {
12731 #if wxUSE_UNICODE
12732 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12733 #else
12734 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12735 #endif
12736 }
12737 return pyobj;
12738 }
12739
12740
12741 static int _wrap_ART_QUESTION_set(PyObject *_val) {
12742 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12743 return 1;
12744 }
12745
12746
12747 static PyObject *_wrap_ART_QUESTION_get() {
12748 PyObject *pyobj;
12749
12750 {
12751 #if wxUSE_UNICODE
12752 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12753 #else
12754 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12755 #endif
12756 }
12757 return pyobj;
12758 }
12759
12760
12761 static int _wrap_ART_WARNING_set(PyObject *_val) {
12762 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12763 return 1;
12764 }
12765
12766
12767 static PyObject *_wrap_ART_WARNING_get() {
12768 PyObject *pyobj;
12769
12770 {
12771 #if wxUSE_UNICODE
12772 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12773 #else
12774 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12775 #endif
12776 }
12777 return pyobj;
12778 }
12779
12780
12781 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12782 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12783 return 1;
12784 }
12785
12786
12787 static PyObject *_wrap_ART_INFORMATION_get() {
12788 PyObject *pyobj;
12789
12790 {
12791 #if wxUSE_UNICODE
12792 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12793 #else
12794 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12795 #endif
12796 }
12797 return pyobj;
12798 }
12799
12800
12801 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12802 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12803 return 1;
12804 }
12805
12806
12807 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12808 PyObject *pyobj;
12809
12810 {
12811 #if wxUSE_UNICODE
12812 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12813 #else
12814 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12815 #endif
12816 }
12817 return pyobj;
12818 }
12819
12820
12821 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12822 PyObject *resultobj;
12823 wxPyArtProvider *result;
12824 char *kwnames[] = {
12825 NULL
12826 };
12827
12828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
12829 {
12830 PyThreadState* __tstate = wxPyBeginAllowThreads();
12831 result = (wxPyArtProvider *)new wxPyArtProvider();
12832
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
12837 return resultobj;
12838 fail:
12839 return NULL;
12840 }
12841
12842
12843 static PyObject *_wrap_delete_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj;
12845 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12846 PyObject * obj0 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
12852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12853 {
12854 PyThreadState* __tstate = wxPyBeginAllowThreads();
12855 delete arg1;
12856
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 Py_INCREF(Py_None); resultobj = Py_None;
12861 return resultobj;
12862 fail:
12863 return NULL;
12864 }
12865
12866
12867 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12870 PyObject *arg2 = (PyObject *) 0 ;
12871 PyObject *arg3 = (PyObject *) 0 ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 PyObject * obj2 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self",(char *) "self",(char *) "_class", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12881 arg2 = obj1;
12882 arg3 = obj2;
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->_setCallbackInfo(arg2,arg3);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 Py_INCREF(Py_None); resultobj = Py_None;
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12900 PyObject * obj0 = 0 ;
12901 char *kwnames[] = {
12902 (char *) "provider", NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
12906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 wxPyArtProvider::PushProvider(arg1);
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 Py_INCREF(Py_None); resultobj = Py_None;
12915 return resultobj;
12916 fail:
12917 return NULL;
12918 }
12919
12920
12921 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj;
12923 bool result;
12924 char *kwnames[] = {
12925 NULL
12926 };
12927
12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 result = (bool)wxPyArtProvider::PopProvider();
12932
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 resultobj = PyInt_FromLong((long)result);
12937 return resultobj;
12938 fail:
12939 return NULL;
12940 }
12941
12942
12943 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj;
12945 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12946 bool result;
12947 PyObject * obj0 = 0 ;
12948 char *kwnames[] = {
12949 (char *) "provider", NULL
12950 };
12951
12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
12953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 resultobj = PyInt_FromLong((long)result);
12962 return resultobj;
12963 fail:
12964 return NULL;
12965 }
12966
12967
12968 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj;
12970 wxString *arg1 = 0 ;
12971 wxString const &arg2_defvalue = wxPyART_OTHER ;
12972 wxString *arg2 = (wxString *) &arg2_defvalue ;
12973 wxSize const &arg3_defvalue = wxDefaultSize ;
12974 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
12975 wxBitmap result;
12976 bool temp1 = False ;
12977 bool temp2 = False ;
12978 wxSize temp3 ;
12979 PyObject * obj0 = 0 ;
12980 PyObject * obj1 = 0 ;
12981 PyObject * obj2 = 0 ;
12982 char *kwnames[] = {
12983 (char *) "id",(char *) "client",(char *) "size", NULL
12984 };
12985
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12987 {
12988 arg1 = wxString_in_helper(obj0);
12989 if (arg1 == NULL) SWIG_fail;
12990 temp1 = True;
12991 }
12992 if (obj1) {
12993 {
12994 arg2 = wxString_in_helper(obj1);
12995 if (arg2 == NULL) SWIG_fail;
12996 temp2 = True;
12997 }
12998 }
12999 if (obj2) {
13000 {
13001 arg3 = &temp3;
13002 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13003 }
13004 }
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 {
13013 wxBitmap * resultptr;
13014 resultptr = new wxBitmap((wxBitmap &) result);
13015 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13016 }
13017 {
13018 if (temp1)
13019 delete arg1;
13020 }
13021 {
13022 if (temp2)
13023 delete arg2;
13024 }
13025 return resultobj;
13026 fail:
13027 {
13028 if (temp1)
13029 delete arg1;
13030 }
13031 {
13032 if (temp2)
13033 delete arg2;
13034 }
13035 return NULL;
13036 }
13037
13038
13039 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13040 PyObject *resultobj;
13041 wxString *arg1 = 0 ;
13042 wxString const &arg2_defvalue = wxPyART_OTHER ;
13043 wxString *arg2 = (wxString *) &arg2_defvalue ;
13044 wxSize const &arg3_defvalue = wxDefaultSize ;
13045 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13046 wxIcon result;
13047 bool temp1 = False ;
13048 bool temp2 = False ;
13049 wxSize temp3 ;
13050 PyObject * obj0 = 0 ;
13051 PyObject * obj1 = 0 ;
13052 PyObject * obj2 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "id",(char *) "client",(char *) "size", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13058 {
13059 arg1 = wxString_in_helper(obj0);
13060 if (arg1 == NULL) SWIG_fail;
13061 temp1 = True;
13062 }
13063 if (obj1) {
13064 {
13065 arg2 = wxString_in_helper(obj1);
13066 if (arg2 == NULL) SWIG_fail;
13067 temp2 = True;
13068 }
13069 }
13070 if (obj2) {
13071 {
13072 arg3 = &temp3;
13073 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13074 }
13075 }
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 {
13084 wxIcon * resultptr;
13085 resultptr = new wxIcon((wxIcon &) result);
13086 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13087 }
13088 {
13089 if (temp1)
13090 delete arg1;
13091 }
13092 {
13093 if (temp2)
13094 delete arg2;
13095 }
13096 return resultobj;
13097 fail:
13098 {
13099 if (temp1)
13100 delete arg1;
13101 }
13102 {
13103 if (temp2)
13104 delete arg2;
13105 }
13106 return NULL;
13107 }
13108
13109
13110 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13111 PyObject *obj;
13112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13113 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13114 Py_INCREF(obj);
13115 return Py_BuildValue((char *)"");
13116 }
13117 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj;
13119 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13120 PyObject * obj0 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self", NULL
13123 };
13124
13125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 delete arg1;
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 Py_INCREF(Py_None); resultobj = Py_None;
13135 return resultobj;
13136 fail:
13137 return NULL;
13138 }
13139
13140
13141 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13142 PyObject *resultobj;
13143 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13144 wxConfigBase *result;
13145 PyObject * obj0 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "pConfig", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13152 {
13153 PyThreadState* __tstate = wxPyBeginAllowThreads();
13154 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13155
13156 wxPyEndAllowThreads(__tstate);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13160 return resultobj;
13161 fail:
13162 return NULL;
13163 }
13164
13165
13166 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13167 PyObject *resultobj;
13168 bool arg1 = (bool) True ;
13169 wxConfigBase *result;
13170 PyObject * obj0 = 0 ;
13171 char *kwnames[] = {
13172 (char *) "createOnDemand", NULL
13173 };
13174
13175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13176 if (obj0) {
13177 arg1 = PyInt_AsLong(obj0) ? true : false;
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 {
13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
13182 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13183
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13188 return resultobj;
13189 fail:
13190 return NULL;
13191 }
13192
13193
13194 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13195 PyObject *resultobj;
13196 wxConfigBase *result;
13197 char *kwnames[] = {
13198 NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 result = (wxConfigBase *)wxConfigBase::Create();
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13210 return resultobj;
13211 fail:
13212 return NULL;
13213 }
13214
13215
13216 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 char *kwnames[] = {
13219 NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 wxConfigBase::DontCreateOnDemand();
13226
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 Py_INCREF(Py_None); resultobj = Py_None;
13231 return resultobj;
13232 fail:
13233 return NULL;
13234 }
13235
13236
13237 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13238 PyObject *resultobj;
13239 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13240 wxString *arg2 = 0 ;
13241 bool temp2 = False ;
13242 PyObject * obj0 = 0 ;
13243 PyObject * obj1 = 0 ;
13244 char *kwnames[] = {
13245 (char *) "self",(char *) "strPath", NULL
13246 };
13247
13248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13250 {
13251 arg2 = wxString_in_helper(obj1);
13252 if (arg2 == NULL) SWIG_fail;
13253 temp2 = True;
13254 }
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 (arg1)->SetPath((wxString const &)*arg2);
13258
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 Py_INCREF(Py_None); resultobj = Py_None;
13263 {
13264 if (temp2)
13265 delete arg2;
13266 }
13267 return resultobj;
13268 fail:
13269 {
13270 if (temp2)
13271 delete arg2;
13272 }
13273 return NULL;
13274 }
13275
13276
13277 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13278 PyObject *resultobj;
13279 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13280 wxString *result;
13281 PyObject * obj0 = 0 ;
13282 char *kwnames[] = {
13283 (char *) "self", NULL
13284 };
13285
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 {
13291 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13292 result = (wxString *) &_result_ref;
13293 }
13294
13295 wxPyEndAllowThreads(__tstate);
13296 if (PyErr_Occurred()) SWIG_fail;
13297 }
13298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
13299 return resultobj;
13300 fail:
13301 return NULL;
13302 }
13303
13304
13305 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13306 PyObject *resultobj;
13307 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13308 PyObject *result;
13309 PyObject * obj0 = 0 ;
13310 char *kwnames[] = {
13311 (char *) "self", NULL
13312 };
13313
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 resultobj = result;
13324 return resultobj;
13325 fail:
13326 return NULL;
13327 }
13328
13329
13330 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13333 long arg2 ;
13334 PyObject *result;
13335 PyObject * obj0 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self",(char *) "index", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 resultobj = result;
13350 return resultobj;
13351 fail:
13352 return NULL;
13353 }
13354
13355
13356 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13359 PyObject *result;
13360 PyObject * obj0 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = result;
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13384 long arg2 ;
13385 PyObject *result;
13386 PyObject * obj0 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "self",(char *) "index", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 resultobj = result;
13401 return resultobj;
13402 fail:
13403 return NULL;
13404 }
13405
13406
13407 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13408 PyObject *resultobj;
13409 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13410 bool arg2 = (bool) False ;
13411 size_t result;
13412 PyObject * obj0 = 0 ;
13413 PyObject * obj1 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self",(char *) "bRecursive", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13420 if (obj1) {
13421 arg2 = PyInt_AsLong(obj1) ? true : false;
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 {
13425 PyThreadState* __tstate = wxPyBeginAllowThreads();
13426 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13427
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 resultobj = PyInt_FromLong((long)result);
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj;
13440 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13441 bool arg2 = (bool) False ;
13442 size_t result;
13443 PyObject * obj0 = 0 ;
13444 PyObject * obj1 = 0 ;
13445 char *kwnames[] = {
13446 (char *) "self",(char *) "bRecursive", NULL
13447 };
13448
13449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13451 if (obj1) {
13452 arg2 = PyInt_AsLong(obj1) ? true : false;
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 {
13456 PyThreadState* __tstate = wxPyBeginAllowThreads();
13457 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13458
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
13462 resultobj = PyInt_FromLong((long)result);
13463 return resultobj;
13464 fail:
13465 return NULL;
13466 }
13467
13468
13469 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13470 PyObject *resultobj;
13471 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13472 wxString *arg2 = 0 ;
13473 bool result;
13474 bool temp2 = False ;
13475 PyObject * obj0 = 0 ;
13476 PyObject * obj1 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self",(char *) "strName", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13483 {
13484 arg2 = wxString_in_helper(obj1);
13485 if (arg2 == NULL) SWIG_fail;
13486 temp2 = True;
13487 }
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 resultobj = PyInt_FromLong((long)result);
13496 {
13497 if (temp2)
13498 delete arg2;
13499 }
13500 return resultobj;
13501 fail:
13502 {
13503 if (temp2)
13504 delete arg2;
13505 }
13506 return NULL;
13507 }
13508
13509
13510 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13511 PyObject *resultobj;
13512 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13513 wxString *arg2 = 0 ;
13514 bool result;
13515 bool temp2 = False ;
13516 PyObject * obj0 = 0 ;
13517 PyObject * obj1 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self",(char *) "strName", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13524 {
13525 arg2 = wxString_in_helper(obj1);
13526 if (arg2 == NULL) SWIG_fail;
13527 temp2 = True;
13528 }
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13532
13533 wxPyEndAllowThreads(__tstate);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 resultobj = PyInt_FromLong((long)result);
13537 {
13538 if (temp2)
13539 delete arg2;
13540 }
13541 return resultobj;
13542 fail:
13543 {
13544 if (temp2)
13545 delete arg2;
13546 }
13547 return NULL;
13548 }
13549
13550
13551 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13552 PyObject *resultobj;
13553 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13554 wxString *arg2 = 0 ;
13555 bool result;
13556 bool temp2 = False ;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13559 char *kwnames[] = {
13560 (char *) "self",(char *) "strName", NULL
13561 };
13562
13563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13565 {
13566 arg2 = wxString_in_helper(obj1);
13567 if (arg2 == NULL) SWIG_fail;
13568 temp2 = True;
13569 }
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = PyInt_FromLong((long)result);
13578 {
13579 if (temp2)
13580 delete arg2;
13581 }
13582 return resultobj;
13583 fail:
13584 {
13585 if (temp2)
13586 delete arg2;
13587 }
13588 return NULL;
13589 }
13590
13591
13592 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13593 PyObject *resultobj;
13594 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13595 wxString *arg2 = 0 ;
13596 int result;
13597 bool temp2 = False ;
13598 PyObject * obj0 = 0 ;
13599 PyObject * obj1 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self",(char *) "name", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13606 {
13607 arg2 = wxString_in_helper(obj1);
13608 if (arg2 == NULL) SWIG_fail;
13609 temp2 = True;
13610 }
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 resultobj = PyInt_FromLong((long)result);
13619 {
13620 if (temp2)
13621 delete arg2;
13622 }
13623 return resultobj;
13624 fail:
13625 {
13626 if (temp2)
13627 delete arg2;
13628 }
13629 return NULL;
13630 }
13631
13632
13633 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13634 PyObject *resultobj;
13635 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13636 wxString *arg2 = 0 ;
13637 wxString const &arg3_defvalue = wxPyEmptyString ;
13638 wxString *arg3 = (wxString *) &arg3_defvalue ;
13639 wxString result;
13640 bool temp2 = False ;
13641 bool temp3 = False ;
13642 PyObject * obj0 = 0 ;
13643 PyObject * obj1 = 0 ;
13644 PyObject * obj2 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13651 {
13652 arg2 = wxString_in_helper(obj1);
13653 if (arg2 == NULL) SWIG_fail;
13654 temp2 = True;
13655 }
13656 if (obj2) {
13657 {
13658 arg3 = wxString_in_helper(obj2);
13659 if (arg3 == NULL) SWIG_fail;
13660 temp3 = True;
13661 }
13662 }
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 {
13671 #if wxUSE_UNICODE
13672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13673 #else
13674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13675 #endif
13676 }
13677 {
13678 if (temp2)
13679 delete arg2;
13680 }
13681 {
13682 if (temp3)
13683 delete arg3;
13684 }
13685 return resultobj;
13686 fail:
13687 {
13688 if (temp2)
13689 delete arg2;
13690 }
13691 {
13692 if (temp3)
13693 delete arg3;
13694 }
13695 return NULL;
13696 }
13697
13698
13699 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13700 PyObject *resultobj;
13701 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13702 wxString *arg2 = 0 ;
13703 long arg3 = (long) 0 ;
13704 long result;
13705 bool temp2 = False ;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13714 {
13715 arg2 = wxString_in_helper(obj1);
13716 if (arg2 == NULL) SWIG_fail;
13717 temp2 = True;
13718 }
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13722
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 resultobj = PyInt_FromLong((long)result);
13727 {
13728 if (temp2)
13729 delete arg2;
13730 }
13731 return resultobj;
13732 fail:
13733 {
13734 if (temp2)
13735 delete arg2;
13736 }
13737 return NULL;
13738 }
13739
13740
13741 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13742 PyObject *resultobj;
13743 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13744 wxString *arg2 = 0 ;
13745 double arg3 = (double) 0.0 ;
13746 double result;
13747 bool temp2 = False ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) 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 = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 resultobj = PyFloat_FromDouble(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_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13786 wxString *arg2 = 0 ;
13787 bool arg3 = (bool) False ;
13788 bool result;
13789 bool temp2 = False ;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 PyObject * obj2 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13799 {
13800 arg2 = wxString_in_helper(obj1);
13801 if (arg2 == NULL) SWIG_fail;
13802 temp2 = True;
13803 }
13804 if (obj2) {
13805 arg3 = PyInt_AsLong(obj2) ? true : false;
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 resultobj = PyInt_FromLong((long)result);
13816 {
13817 if (temp2)
13818 delete arg2;
13819 }
13820 return resultobj;
13821 fail:
13822 {
13823 if (temp2)
13824 delete arg2;
13825 }
13826 return NULL;
13827 }
13828
13829
13830 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13833 wxString *arg2 = 0 ;
13834 wxString *arg3 = 0 ;
13835 bool result;
13836 bool temp2 = False ;
13837 bool temp3 = False ;
13838 PyObject * obj0 = 0 ;
13839 PyObject * obj1 = 0 ;
13840 PyObject * obj2 = 0 ;
13841 char *kwnames[] = {
13842 (char *) "self",(char *) "key",(char *) "value", NULL
13843 };
13844
13845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
13846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13847 {
13848 arg2 = wxString_in_helper(obj1);
13849 if (arg2 == NULL) SWIG_fail;
13850 temp2 = True;
13851 }
13852 {
13853 arg3 = wxString_in_helper(obj2);
13854 if (arg3 == NULL) SWIG_fail;
13855 temp3 = True;
13856 }
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 resultobj = PyInt_FromLong((long)result);
13865 {
13866 if (temp2)
13867 delete arg2;
13868 }
13869 {
13870 if (temp3)
13871 delete arg3;
13872 }
13873 return resultobj;
13874 fail:
13875 {
13876 if (temp2)
13877 delete arg2;
13878 }
13879 {
13880 if (temp3)
13881 delete arg3;
13882 }
13883 return NULL;
13884 }
13885
13886
13887 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13890 wxString *arg2 = 0 ;
13891 long arg3 ;
13892 bool result;
13893 bool temp2 = False ;
13894 PyObject * obj0 = 0 ;
13895 PyObject * obj1 = 0 ;
13896 char *kwnames[] = {
13897 (char *) "self",(char *) "key",(char *) "value", NULL
13898 };
13899
13900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13902 {
13903 arg2 = wxString_in_helper(obj1);
13904 if (arg2 == NULL) SWIG_fail;
13905 temp2 = True;
13906 }
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13910
13911 wxPyEndAllowThreads(__tstate);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 }
13914 resultobj = PyInt_FromLong((long)result);
13915 {
13916 if (temp2)
13917 delete arg2;
13918 }
13919 return resultobj;
13920 fail:
13921 {
13922 if (temp2)
13923 delete arg2;
13924 }
13925 return NULL;
13926 }
13927
13928
13929 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13932 wxString *arg2 = 0 ;
13933 double arg3 ;
13934 bool result;
13935 bool temp2 = False ;
13936 PyObject * obj0 = 0 ;
13937 PyObject * obj1 = 0 ;
13938 char *kwnames[] = {
13939 (char *) "self",(char *) "key",(char *) "value", NULL
13940 };
13941
13942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13944 {
13945 arg2 = wxString_in_helper(obj1);
13946 if (arg2 == NULL) SWIG_fail;
13947 temp2 = True;
13948 }
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13952
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 resultobj = PyInt_FromLong((long)result);
13957 {
13958 if (temp2)
13959 delete arg2;
13960 }
13961 return resultobj;
13962 fail:
13963 {
13964 if (temp2)
13965 delete arg2;
13966 }
13967 return NULL;
13968 }
13969
13970
13971 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13972 PyObject *resultobj;
13973 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13974 wxString *arg2 = 0 ;
13975 bool arg3 ;
13976 bool result;
13977 bool temp2 = False ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 PyObject * obj2 = 0 ;
13981 char *kwnames[] = {
13982 (char *) "self",(char *) "key",(char *) "value", NULL
13983 };
13984
13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13987 {
13988 arg2 = wxString_in_helper(obj1);
13989 if (arg2 == NULL) SWIG_fail;
13990 temp2 = True;
13991 }
13992 arg3 = PyInt_AsLong(obj2) ? true : false;
13993 if (PyErr_Occurred()) SWIG_fail;
13994 {
13995 PyThreadState* __tstate = wxPyBeginAllowThreads();
13996 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13997
13998 wxPyEndAllowThreads(__tstate);
13999 if (PyErr_Occurred()) SWIG_fail;
14000 }
14001 resultobj = PyInt_FromLong((long)result);
14002 {
14003 if (temp2)
14004 delete arg2;
14005 }
14006 return resultobj;
14007 fail:
14008 {
14009 if (temp2)
14010 delete arg2;
14011 }
14012 return NULL;
14013 }
14014
14015
14016 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj;
14018 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14019 bool arg2 = (bool) False ;
14020 bool result;
14021 PyObject * obj0 = 0 ;
14022 PyObject * obj1 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "self",(char *) "bCurrentOnly", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14029 if (obj1) {
14030 arg2 = PyInt_AsLong(obj1) ? true : false;
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (bool)(arg1)->Flush(arg2);
14036
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
14040 resultobj = PyInt_FromLong((long)result);
14041 return resultobj;
14042 fail:
14043 return NULL;
14044 }
14045
14046
14047 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14048 PyObject *resultobj;
14049 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14050 wxString *arg2 = 0 ;
14051 wxString *arg3 = 0 ;
14052 bool result;
14053 bool temp2 = False ;
14054 bool temp3 = False ;
14055 PyObject * obj0 = 0 ;
14056 PyObject * obj1 = 0 ;
14057 PyObject * obj2 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14064 {
14065 arg2 = wxString_in_helper(obj1);
14066 if (arg2 == NULL) SWIG_fail;
14067 temp2 = True;
14068 }
14069 {
14070 arg3 = wxString_in_helper(obj2);
14071 if (arg3 == NULL) SWIG_fail;
14072 temp3 = True;
14073 }
14074 {
14075 PyThreadState* __tstate = wxPyBeginAllowThreads();
14076 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14077
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 resultobj = PyInt_FromLong((long)result);
14082 {
14083 if (temp2)
14084 delete arg2;
14085 }
14086 {
14087 if (temp3)
14088 delete arg3;
14089 }
14090 return resultobj;
14091 fail:
14092 {
14093 if (temp2)
14094 delete arg2;
14095 }
14096 {
14097 if (temp3)
14098 delete arg3;
14099 }
14100 return NULL;
14101 }
14102
14103
14104 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14105 PyObject *resultobj;
14106 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14107 wxString *arg2 = 0 ;
14108 wxString *arg3 = 0 ;
14109 bool result;
14110 bool temp2 = False ;
14111 bool temp3 = False ;
14112 PyObject * obj0 = 0 ;
14113 PyObject * obj1 = 0 ;
14114 PyObject * obj2 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14121 {
14122 arg2 = wxString_in_helper(obj1);
14123 if (arg2 == NULL) SWIG_fail;
14124 temp2 = True;
14125 }
14126 {
14127 arg3 = wxString_in_helper(obj2);
14128 if (arg3 == NULL) SWIG_fail;
14129 temp3 = True;
14130 }
14131 {
14132 PyThreadState* __tstate = wxPyBeginAllowThreads();
14133 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14134
14135 wxPyEndAllowThreads(__tstate);
14136 if (PyErr_Occurred()) SWIG_fail;
14137 }
14138 resultobj = PyInt_FromLong((long)result);
14139 {
14140 if (temp2)
14141 delete arg2;
14142 }
14143 {
14144 if (temp3)
14145 delete arg3;
14146 }
14147 return resultobj;
14148 fail:
14149 {
14150 if (temp2)
14151 delete arg2;
14152 }
14153 {
14154 if (temp3)
14155 delete arg3;
14156 }
14157 return NULL;
14158 }
14159
14160
14161 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj;
14163 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14164 wxString *arg2 = 0 ;
14165 bool arg3 = (bool) True ;
14166 bool result;
14167 bool temp2 = False ;
14168 PyObject * obj0 = 0 ;
14169 PyObject * obj1 = 0 ;
14170 PyObject * obj2 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14177 {
14178 arg2 = wxString_in_helper(obj1);
14179 if (arg2 == NULL) SWIG_fail;
14180 temp2 = True;
14181 }
14182 if (obj2) {
14183 arg3 = PyInt_AsLong(obj2) ? true : false;
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 resultobj = PyInt_FromLong((long)result);
14194 {
14195 if (temp2)
14196 delete arg2;
14197 }
14198 return resultobj;
14199 fail:
14200 {
14201 if (temp2)
14202 delete arg2;
14203 }
14204 return NULL;
14205 }
14206
14207
14208 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14211 wxString *arg2 = 0 ;
14212 bool result;
14213 bool temp2 = False ;
14214 PyObject * obj0 = 0 ;
14215 PyObject * obj1 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self",(char *) "key", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14222 {
14223 arg2 = wxString_in_helper(obj1);
14224 if (arg2 == NULL) SWIG_fail;
14225 temp2 = True;
14226 }
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14230
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 resultobj = PyInt_FromLong((long)result);
14235 {
14236 if (temp2)
14237 delete arg2;
14238 }
14239 return resultobj;
14240 fail:
14241 {
14242 if (temp2)
14243 delete arg2;
14244 }
14245 return NULL;
14246 }
14247
14248
14249 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14250 PyObject *resultobj;
14251 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14252 bool result;
14253 PyObject * obj0 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self", NULL
14256 };
14257
14258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 result = (bool)(arg1)->DeleteAll();
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 resultobj = PyInt_FromLong((long)result);
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14277 bool result;
14278 PyObject * obj0 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14285 {
14286 PyThreadState* __tstate = wxPyBeginAllowThreads();
14287 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14288
14289 wxPyEndAllowThreads(__tstate);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 }
14292 resultobj = PyInt_FromLong((long)result);
14293 return resultobj;
14294 fail:
14295 return NULL;
14296 }
14297
14298
14299 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14300 PyObject *resultobj;
14301 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14302 bool arg2 = (bool) True ;
14303 PyObject * obj0 = 0 ;
14304 PyObject * obj1 = 0 ;
14305 char *kwnames[] = {
14306 (char *) "self",(char *) "bDoIt", NULL
14307 };
14308
14309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14311 if (obj1) {
14312 arg2 = PyInt_AsLong(obj1) ? true : false;
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->SetExpandEnvVars(arg2);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14332 bool arg2 = (bool) True ;
14333 PyObject * obj0 = 0 ;
14334 PyObject * obj1 = 0 ;
14335 char *kwnames[] = {
14336 (char *) "self",(char *) "bDoIt", NULL
14337 };
14338
14339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14341 if (obj1) {
14342 arg2 = PyInt_AsLong(obj1) ? true : false;
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 (arg1)->SetRecordDefaults(arg2);
14348
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 Py_INCREF(Py_None); resultobj = Py_None;
14353 return resultobj;
14354 fail:
14355 return NULL;
14356 }
14357
14358
14359 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj;
14361 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14362 bool result;
14363 PyObject * obj0 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 resultobj = PyInt_FromLong((long)result);
14378 return resultobj;
14379 fail:
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14387 wxString *arg2 = 0 ;
14388 wxString result;
14389 bool temp2 = False ;
14390 PyObject * obj0 = 0 ;
14391 PyObject * obj1 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "self",(char *) "str", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14398 {
14399 arg2 = wxString_in_helper(obj1);
14400 if (arg2 == NULL) SWIG_fail;
14401 temp2 = True;
14402 }
14403 {
14404 PyThreadState* __tstate = wxPyBeginAllowThreads();
14405 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14406
14407 wxPyEndAllowThreads(__tstate);
14408 if (PyErr_Occurred()) SWIG_fail;
14409 }
14410 {
14411 #if wxUSE_UNICODE
14412 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14413 #else
14414 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14415 #endif
14416 }
14417 {
14418 if (temp2)
14419 delete arg2;
14420 }
14421 return resultobj;
14422 fail:
14423 {
14424 if (temp2)
14425 delete arg2;
14426 }
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14434 wxString result;
14435 PyObject * obj0 = 0 ;
14436 char *kwnames[] = {
14437 (char *) "self", NULL
14438 };
14439
14440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = ((wxConfigBase const *)arg1)->GetAppName();
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 {
14450 #if wxUSE_UNICODE
14451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14452 #else
14453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14454 #endif
14455 }
14456 return resultobj;
14457 fail:
14458 return NULL;
14459 }
14460
14461
14462 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14463 PyObject *resultobj;
14464 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14465 wxString result;
14466 PyObject * obj0 = 0 ;
14467 char *kwnames[] = {
14468 (char *) "self", NULL
14469 };
14470
14471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 result = ((wxConfigBase const *)arg1)->GetVendorName();
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 {
14481 #if wxUSE_UNICODE
14482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14483 #else
14484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14485 #endif
14486 }
14487 return resultobj;
14488 fail:
14489 return NULL;
14490 }
14491
14492
14493 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14494 PyObject *resultobj;
14495 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14496 wxString *arg2 = 0 ;
14497 bool temp2 = False ;
14498 PyObject * obj0 = 0 ;
14499 PyObject * obj1 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self",(char *) "appName", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14506 {
14507 arg2 = wxString_in_helper(obj1);
14508 if (arg2 == NULL) SWIG_fail;
14509 temp2 = True;
14510 }
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 (arg1)->SetAppName((wxString const &)*arg2);
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 Py_INCREF(Py_None); resultobj = Py_None;
14519 {
14520 if (temp2)
14521 delete arg2;
14522 }
14523 return resultobj;
14524 fail:
14525 {
14526 if (temp2)
14527 delete arg2;
14528 }
14529 return NULL;
14530 }
14531
14532
14533 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14536 wxString *arg2 = 0 ;
14537 bool temp2 = False ;
14538 PyObject * obj0 = 0 ;
14539 PyObject * obj1 = 0 ;
14540 char *kwnames[] = {
14541 (char *) "self",(char *) "vendorName", NULL
14542 };
14543
14544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14546 {
14547 arg2 = wxString_in_helper(obj1);
14548 if (arg2 == NULL) SWIG_fail;
14549 temp2 = True;
14550 }
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 (arg1)->SetVendorName((wxString const &)*arg2);
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 Py_INCREF(Py_None); resultobj = Py_None;
14559 {
14560 if (temp2)
14561 delete arg2;
14562 }
14563 return resultobj;
14564 fail:
14565 {
14566 if (temp2)
14567 delete arg2;
14568 }
14569 return NULL;
14570 }
14571
14572
14573 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14576 long arg2 ;
14577 PyObject * obj0 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self",(char *) "style", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 (arg1)->SetStyle(arg2);
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 Py_INCREF(Py_None); resultobj = Py_None;
14592 return resultobj;
14593 fail:
14594 return NULL;
14595 }
14596
14597
14598 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14599 PyObject *resultobj;
14600 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14601 long result;
14602 PyObject * obj0 = 0 ;
14603 char *kwnames[] = {
14604 (char *) "self", NULL
14605 };
14606
14607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 resultobj = PyInt_FromLong((long)result);
14617 return resultobj;
14618 fail:
14619 return NULL;
14620 }
14621
14622
14623 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14624 PyObject *obj;
14625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14626 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14627 Py_INCREF(obj);
14628 return Py_BuildValue((char *)"");
14629 }
14630 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj;
14632 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14633 wxString *arg2 = 0 ;
14634 wxConfigPathChanger *result;
14635 bool temp2 = False ;
14636 PyObject * obj0 = 0 ;
14637 PyObject * obj1 = 0 ;
14638 char *kwnames[] = {
14639 (char *) "pContainer",(char *) "strEntry", NULL
14640 };
14641
14642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14644 {
14645 arg2 = wxString_in_helper(obj1);
14646 if (arg2 == NULL) SWIG_fail;
14647 temp2 = True;
14648 }
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14652
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14657 {
14658 if (temp2)
14659 delete arg2;
14660 }
14661 return resultobj;
14662 fail:
14663 {
14664 if (temp2)
14665 delete arg2;
14666 }
14667 return NULL;
14668 }
14669
14670
14671 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj;
14673 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14674 PyObject * obj0 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14681 {
14682 PyThreadState* __tstate = wxPyBeginAllowThreads();
14683 delete arg1;
14684
14685 wxPyEndAllowThreads(__tstate);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
14688 Py_INCREF(Py_None); resultobj = Py_None;
14689 return resultobj;
14690 fail:
14691 return NULL;
14692 }
14693
14694
14695 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14696 PyObject *resultobj;
14697 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14698 wxString *result;
14699 PyObject * obj0 = 0 ;
14700 char *kwnames[] = {
14701 (char *) "self", NULL
14702 };
14703
14704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14706 {
14707 PyThreadState* __tstate = wxPyBeginAllowThreads();
14708 {
14709 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14710 result = (wxString *) &_result_ref;
14711 }
14712
14713 wxPyEndAllowThreads(__tstate);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14717 return resultobj;
14718 fail:
14719 return NULL;
14720 }
14721
14722
14723 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14724 PyObject *obj;
14725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14726 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14727 Py_INCREF(obj);
14728 return Py_BuildValue((char *)"");
14729 }
14730 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxString const &arg1_defvalue = wxPyEmptyString ;
14733 wxString *arg1 = (wxString *) &arg1_defvalue ;
14734 wxString const &arg2_defvalue = wxPyEmptyString ;
14735 wxString *arg2 = (wxString *) &arg2_defvalue ;
14736 wxString const &arg3_defvalue = wxPyEmptyString ;
14737 wxString *arg3 = (wxString *) &arg3_defvalue ;
14738 wxString const &arg4_defvalue = wxPyEmptyString ;
14739 wxString *arg4 = (wxString *) &arg4_defvalue ;
14740 long arg5 = (long) 0 ;
14741 wxConfig *result;
14742 bool temp1 = False ;
14743 bool temp2 = False ;
14744 bool temp3 = False ;
14745 bool temp4 = False ;
14746 PyObject * obj0 = 0 ;
14747 PyObject * obj1 = 0 ;
14748 PyObject * obj2 = 0 ;
14749 PyObject * obj3 = 0 ;
14750 char *kwnames[] = {
14751 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14752 };
14753
14754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14755 if (obj0) {
14756 {
14757 arg1 = wxString_in_helper(obj0);
14758 if (arg1 == NULL) SWIG_fail;
14759 temp1 = True;
14760 }
14761 }
14762 if (obj1) {
14763 {
14764 arg2 = wxString_in_helper(obj1);
14765 if (arg2 == NULL) SWIG_fail;
14766 temp2 = True;
14767 }
14768 }
14769 if (obj2) {
14770 {
14771 arg3 = wxString_in_helper(obj2);
14772 if (arg3 == NULL) SWIG_fail;
14773 temp3 = True;
14774 }
14775 }
14776 if (obj3) {
14777 {
14778 arg4 = wxString_in_helper(obj3);
14779 if (arg4 == NULL) SWIG_fail;
14780 temp4 = True;
14781 }
14782 }
14783 {
14784 PyThreadState* __tstate = wxPyBeginAllowThreads();
14785 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14786
14787 wxPyEndAllowThreads(__tstate);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14791 {
14792 if (temp1)
14793 delete arg1;
14794 }
14795 {
14796 if (temp2)
14797 delete arg2;
14798 }
14799 {
14800 if (temp3)
14801 delete arg3;
14802 }
14803 {
14804 if (temp4)
14805 delete arg4;
14806 }
14807 return resultobj;
14808 fail:
14809 {
14810 if (temp1)
14811 delete arg1;
14812 }
14813 {
14814 if (temp2)
14815 delete arg2;
14816 }
14817 {
14818 if (temp3)
14819 delete arg3;
14820 }
14821 {
14822 if (temp4)
14823 delete arg4;
14824 }
14825 return NULL;
14826 }
14827
14828
14829 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14830 PyObject *resultobj;
14831 wxConfig *arg1 = (wxConfig *) 0 ;
14832 PyObject * obj0 = 0 ;
14833 char *kwnames[] = {
14834 (char *) "self", NULL
14835 };
14836
14837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
14838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14839 {
14840 PyThreadState* __tstate = wxPyBeginAllowThreads();
14841 delete arg1;
14842
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 Py_INCREF(Py_None); resultobj = Py_None;
14847 return resultobj;
14848 fail:
14849 return NULL;
14850 }
14851
14852
14853 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
14854 PyObject *obj;
14855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14856 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
14857 Py_INCREF(obj);
14858 return Py_BuildValue((char *)"");
14859 }
14860 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 wxString const &arg1_defvalue = wxPyEmptyString ;
14863 wxString *arg1 = (wxString *) &arg1_defvalue ;
14864 wxString const &arg2_defvalue = wxPyEmptyString ;
14865 wxString *arg2 = (wxString *) &arg2_defvalue ;
14866 wxString const &arg3_defvalue = wxPyEmptyString ;
14867 wxString *arg3 = (wxString *) &arg3_defvalue ;
14868 wxString const &arg4_defvalue = wxPyEmptyString ;
14869 wxString *arg4 = (wxString *) &arg4_defvalue ;
14870 long arg5 = (long) 0 ;
14871 wxFileConfig *result;
14872 bool temp1 = False ;
14873 bool temp2 = False ;
14874 bool temp3 = False ;
14875 bool temp4 = False ;
14876 PyObject * obj0 = 0 ;
14877 PyObject * obj1 = 0 ;
14878 PyObject * obj2 = 0 ;
14879 PyObject * obj3 = 0 ;
14880 char *kwnames[] = {
14881 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14882 };
14883
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14885 if (obj0) {
14886 {
14887 arg1 = wxString_in_helper(obj0);
14888 if (arg1 == NULL) SWIG_fail;
14889 temp1 = True;
14890 }
14891 }
14892 if (obj1) {
14893 {
14894 arg2 = wxString_in_helper(obj1);
14895 if (arg2 == NULL) SWIG_fail;
14896 temp2 = True;
14897 }
14898 }
14899 if (obj2) {
14900 {
14901 arg3 = wxString_in_helper(obj2);
14902 if (arg3 == NULL) SWIG_fail;
14903 temp3 = True;
14904 }
14905 }
14906 if (obj3) {
14907 {
14908 arg4 = wxString_in_helper(obj3);
14909 if (arg4 == NULL) SWIG_fail;
14910 temp4 = True;
14911 }
14912 }
14913 {
14914 PyThreadState* __tstate = wxPyBeginAllowThreads();
14915 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14916
14917 wxPyEndAllowThreads(__tstate);
14918 if (PyErr_Occurred()) SWIG_fail;
14919 }
14920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
14921 {
14922 if (temp1)
14923 delete arg1;
14924 }
14925 {
14926 if (temp2)
14927 delete arg2;
14928 }
14929 {
14930 if (temp3)
14931 delete arg3;
14932 }
14933 {
14934 if (temp4)
14935 delete arg4;
14936 }
14937 return resultobj;
14938 fail:
14939 {
14940 if (temp1)
14941 delete arg1;
14942 }
14943 {
14944 if (temp2)
14945 delete arg2;
14946 }
14947 {
14948 if (temp3)
14949 delete arg3;
14950 }
14951 {
14952 if (temp4)
14953 delete arg4;
14954 }
14955 return NULL;
14956 }
14957
14958
14959 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 delete arg1;
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 Py_INCREF(Py_None); resultobj = Py_None;
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
14984 PyObject *obj;
14985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14986 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
14987 Py_INCREF(obj);
14988 return Py_BuildValue((char *)"");
14989 }
14990 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj;
14992 wxString *arg1 = 0 ;
14993 wxString result;
14994 bool temp1 = False ;
14995 PyObject * obj0 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "sz", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15001 {
15002 arg1 = wxString_in_helper(obj0);
15003 if (arg1 == NULL) SWIG_fail;
15004 temp1 = True;
15005 }
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = wxExpandEnvVars((wxString const &)*arg1);
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 {
15014 #if wxUSE_UNICODE
15015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15016 #else
15017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15018 #endif
15019 }
15020 {
15021 if (temp1)
15022 delete arg1;
15023 }
15024 return resultobj;
15025 fail:
15026 {
15027 if (temp1)
15028 delete arg1;
15029 }
15030 return NULL;
15031 }
15032
15033
15034 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15035 PyObject *resultobj;
15036 int arg1 ;
15037 char *kwnames[] = {
15038 (char *) "country", NULL
15039 };
15040
15041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 Py_INCREF(Py_None); resultobj = Py_None;
15050 return resultobj;
15051 fail:
15052 return NULL;
15053 }
15054
15055
15056 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15057 PyObject *resultobj;
15058 int result;
15059 char *kwnames[] = {
15060 NULL
15061 };
15062
15063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 result = (int)wxDateTime::GetCountry();
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 resultobj = PyInt_FromLong((long)result);
15072 return resultobj;
15073 fail:
15074 return NULL;
15075 }
15076
15077
15078 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15079 PyObject *resultobj;
15080 int arg1 = (int) wxDateTime::Country_Default ;
15081 bool result;
15082 char *kwnames[] = {
15083 (char *) "country", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15090
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 resultobj = PyInt_FromLong((long)result);
15095 return resultobj;
15096 fail:
15097 return NULL;
15098 }
15099
15100
15101 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 int arg1 = (int) wxDateTime::Gregorian ;
15104 int result;
15105 char *kwnames[] = {
15106 (char *) "cal", NULL
15107 };
15108
15109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15110 {
15111 PyThreadState* __tstate = wxPyBeginAllowThreads();
15112 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15113
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 resultobj = PyInt_FromLong((long)result);
15118 return resultobj;
15119 fail:
15120 return NULL;
15121 }
15122
15123
15124 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15125 PyObject *resultobj;
15126 int arg1 ;
15127 int result;
15128 char *kwnames[] = {
15129 (char *) "year", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 result = (int)wxDateTime::ConvertYearToBC(arg1);
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 resultobj = PyInt_FromLong((long)result);
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 int arg1 = (int) wxDateTime::Gregorian ;
15150 int result;
15151 char *kwnames[] = {
15152 (char *) "cal", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 resultobj = PyInt_FromLong((long)result);
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 int arg1 = (int) wxDateTime::Inv_Year ;
15173 int arg2 = (int) wxDateTime::Gregorian ;
15174 bool result;
15175 char *kwnames[] = {
15176 (char *) "year",(char *) "cal", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15180 {
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15183
15184 wxPyEndAllowThreads(__tstate);
15185 if (PyErr_Occurred()) SWIG_fail;
15186 }
15187 resultobj = PyInt_FromLong((long)result);
15188 return resultobj;
15189 fail:
15190 return NULL;
15191 }
15192
15193
15194 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 int arg1 = (int) wxDateTime::Inv_Year ;
15197 int result;
15198 char *kwnames[] = {
15199 (char *) "year", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = (int)wxDateTime::GetCentury(arg1);
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = PyInt_FromLong((long)result);
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
15219 int arg1 ;
15220 int arg2 = (int) wxDateTime::Gregorian ;
15221 int result;
15222 char *kwnames[] = {
15223 (char *) "year",(char *) "cal", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 resultobj = PyInt_FromLong((long)result);
15235 return resultobj;
15236 fail:
15237 return NULL;
15238 }
15239
15240
15241 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15242 PyObject *resultobj;
15243 int arg1 ;
15244 int arg2 = (int) wxDateTime::Inv_Year ;
15245 int arg3 = (int) wxDateTime::Gregorian ;
15246 int result;
15247 char *kwnames[] = {
15248 (char *) "month",(char *) "year",(char *) "cal", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15252 {
15253 PyThreadState* __tstate = wxPyBeginAllowThreads();
15254 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15255
15256 wxPyEndAllowThreads(__tstate);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
15259 resultobj = PyInt_FromLong((long)result);
15260 return resultobj;
15261 fail:
15262 return NULL;
15263 }
15264
15265
15266 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15267 PyObject *resultobj;
15268 int arg1 ;
15269 int arg2 = (int) wxDateTime::Name_Full ;
15270 wxString result;
15271 char *kwnames[] = {
15272 (char *) "month",(char *) "flags", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15276 {
15277 PyThreadState* __tstate = wxPyBeginAllowThreads();
15278 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15279
15280 wxPyEndAllowThreads(__tstate);
15281 if (PyErr_Occurred()) SWIG_fail;
15282 }
15283 {
15284 #if wxUSE_UNICODE
15285 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15286 #else
15287 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15288 #endif
15289 }
15290 return resultobj;
15291 fail:
15292 return NULL;
15293 }
15294
15295
15296 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15297 PyObject *resultobj;
15298 int arg1 ;
15299 int arg2 = (int) wxDateTime::Name_Full ;
15300 wxString result;
15301 char *kwnames[] = {
15302 (char *) "weekday",(char *) "flags", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 {
15314 #if wxUSE_UNICODE
15315 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15316 #else
15317 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15318 #endif
15319 }
15320 return resultobj;
15321 fail:
15322 return NULL;
15323 }
15324
15325
15326 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15327 PyObject *resultobj;
15328 wxString *arg1 = (wxString *) 0 ;
15329 wxString *arg2 = (wxString *) 0 ;
15330 PyObject * obj0 = 0 ;
15331 PyObject * obj1 = 0 ;
15332 char *kwnames[] = {
15333 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15334 };
15335
15336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15338 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 wxDateTime::GetAmPmStrings(arg1,arg2);
15342
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 Py_INCREF(Py_None); resultobj = Py_None;
15347 return resultobj;
15348 fail:
15349 return NULL;
15350 }
15351
15352
15353 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj;
15355 int arg1 = (int) wxDateTime::Inv_Year ;
15356 int arg2 = (int) wxDateTime::Country_Default ;
15357 bool result;
15358 char *kwnames[] = {
15359 (char *) "year",(char *) "country", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 resultobj = PyInt_FromLong((long)result);
15371 return resultobj;
15372 fail:
15373 return NULL;
15374 }
15375
15376
15377 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj;
15379 int arg1 = (int) wxDateTime::Inv_Year ;
15380 int arg2 = (int) wxDateTime::Country_Default ;
15381 wxDateTime result;
15382 char *kwnames[] = {
15383 (char *) "year",(char *) "country", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15387 {
15388 PyThreadState* __tstate = wxPyBeginAllowThreads();
15389 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15390
15391 wxPyEndAllowThreads(__tstate);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 }
15394 {
15395 wxDateTime * resultptr;
15396 resultptr = new wxDateTime((wxDateTime &) result);
15397 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15398 }
15399 return resultobj;
15400 fail:
15401 return NULL;
15402 }
15403
15404
15405 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15406 PyObject *resultobj;
15407 int arg1 = (int) wxDateTime::Inv_Year ;
15408 int arg2 = (int) wxDateTime::Country_Default ;
15409 wxDateTime result;
15410 char *kwnames[] = {
15411 (char *) "year",(char *) "country", NULL
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 {
15423 wxDateTime * resultptr;
15424 resultptr = new wxDateTime((wxDateTime &) result);
15425 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15426 }
15427 return resultobj;
15428 fail:
15429 return NULL;
15430 }
15431
15432
15433 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxDateTime result;
15436 char *kwnames[] = {
15437 NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = wxDateTime::Now();
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 {
15449 wxDateTime * resultptr;
15450 resultptr = new wxDateTime((wxDateTime &) result);
15451 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15452 }
15453 return resultobj;
15454 fail:
15455 return NULL;
15456 }
15457
15458
15459 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxDateTime result;
15462 char *kwnames[] = {
15463 NULL
15464 };
15465
15466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15467 {
15468 PyThreadState* __tstate = wxPyBeginAllowThreads();
15469 result = wxDateTime::UNow();
15470
15471 wxPyEndAllowThreads(__tstate);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 }
15474 {
15475 wxDateTime * resultptr;
15476 resultptr = new wxDateTime((wxDateTime &) result);
15477 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15478 }
15479 return resultobj;
15480 fail:
15481 return NULL;
15482 }
15483
15484
15485 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxDateTime result;
15488 char *kwnames[] = {
15489 NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15493 {
15494 PyThreadState* __tstate = wxPyBeginAllowThreads();
15495 result = wxDateTime::Today();
15496
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 {
15501 wxDateTime * resultptr;
15502 resultptr = new wxDateTime((wxDateTime &) result);
15503 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15504 }
15505 return resultobj;
15506 fail:
15507 return NULL;
15508 }
15509
15510
15511 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15512 PyObject *resultobj;
15513 wxDateTime *result;
15514 char *kwnames[] = {
15515 NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 result = (wxDateTime *)new wxDateTime();
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15527 return resultobj;
15528 fail:
15529 return NULL;
15530 }
15531
15532
15533 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 time_t arg1 ;
15536 wxDateTime *result;
15537 PyObject * obj0 = 0 ;
15538 char *kwnames[] = {
15539 (char *) "timet", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15543 arg1 = (time_t) PyInt_AsLong(obj0);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 {
15546 PyThreadState* __tstate = wxPyBeginAllowThreads();
15547 result = (wxDateTime *)new wxDateTime(arg1);
15548
15549 wxPyEndAllowThreads(__tstate);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
15552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15553 return resultobj;
15554 fail:
15555 return NULL;
15556 }
15557
15558
15559 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15560 PyObject *resultobj;
15561 double arg1 ;
15562 wxDateTime *result;
15563 char *kwnames[] = {
15564 (char *) "jdn", NULL
15565 };
15566
15567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 result = (wxDateTime *)new wxDateTime(arg1);
15571
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 int arg1 ;
15585 int arg2 = (int) 0 ;
15586 int arg3 = (int) 0 ;
15587 int arg4 = (int) 0 ;
15588 wxDateTime *result;
15589 char *kwnames[] = {
15590 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
15594 {
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15597
15598 wxPyEndAllowThreads(__tstate);
15599 if (PyErr_Occurred()) SWIG_fail;
15600 }
15601 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15602 return resultobj;
15603 fail:
15604 return NULL;
15605 }
15606
15607
15608 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15609 PyObject *resultobj;
15610 int arg1 ;
15611 int arg2 = (int) wxDateTime::Inv_Month ;
15612 int arg3 = (int) wxDateTime::Inv_Year ;
15613 int arg4 = (int) 0 ;
15614 int arg5 = (int) 0 ;
15615 int arg6 = (int) 0 ;
15616 int arg7 = (int) 0 ;
15617 wxDateTime *result;
15618 char *kwnames[] = {
15619 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15620 };
15621
15622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxDateTime *arg1 = (wxDateTime *) 0 ;
15640 PyObject * obj0 = 0 ;
15641 char *kwnames[] = {
15642 (char *) "self", NULL
15643 };
15644
15645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 delete arg1;
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 Py_INCREF(Py_None); resultobj = Py_None;
15655 return resultobj;
15656 fail:
15657 return NULL;
15658 }
15659
15660
15661 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxDateTime *arg1 = (wxDateTime *) 0 ;
15664 wxDateTime *result;
15665 PyObject * obj0 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 {
15675 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15676 result = (wxDateTime *) &_result_ref;
15677 }
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15683 return resultobj;
15684 fail:
15685 return NULL;
15686 }
15687
15688
15689 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15690 PyObject *resultobj;
15691 wxDateTime *arg1 = (wxDateTime *) 0 ;
15692 time_t arg2 ;
15693 wxDateTime *result;
15694 PyObject * obj0 = 0 ;
15695 PyObject * obj1 = 0 ;
15696 char *kwnames[] = {
15697 (char *) "self",(char *) "timet", NULL
15698 };
15699
15700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15702 arg2 = (time_t) PyInt_AsLong(obj1);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 {
15707 wxDateTime &_result_ref = (arg1)->Set(arg2);
15708 result = (wxDateTime *) &_result_ref;
15709 }
15710
15711 wxPyEndAllowThreads(__tstate);
15712 if (PyErr_Occurred()) SWIG_fail;
15713 }
15714 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15715 return resultobj;
15716 fail:
15717 return NULL;
15718 }
15719
15720
15721 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15722 PyObject *resultobj;
15723 wxDateTime *arg1 = (wxDateTime *) 0 ;
15724 double arg2 ;
15725 wxDateTime *result;
15726 PyObject * obj0 = 0 ;
15727 char *kwnames[] = {
15728 (char *) "self",(char *) "jdn", NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 {
15736 wxDateTime &_result_ref = (arg1)->Set(arg2);
15737 result = (wxDateTime *) &_result_ref;
15738 }
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15744 return resultobj;
15745 fail:
15746 return NULL;
15747 }
15748
15749
15750 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxDateTime *arg1 = (wxDateTime *) 0 ;
15753 int arg2 ;
15754 int arg3 = (int) 0 ;
15755 int arg4 = (int) 0 ;
15756 int arg5 = (int) 0 ;
15757 wxDateTime *result;
15758 PyObject * obj0 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 {
15768 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
15769 result = (wxDateTime *) &_result_ref;
15770 }
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15776 return resultobj;
15777 fail:
15778 return NULL;
15779 }
15780
15781
15782 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
15783 PyObject *resultobj;
15784 wxDateTime *arg1 = (wxDateTime *) 0 ;
15785 int arg2 ;
15786 int arg3 = (int) wxDateTime::Inv_Month ;
15787 int arg4 = (int) wxDateTime::Inv_Year ;
15788 int arg5 = (int) 0 ;
15789 int arg6 = (int) 0 ;
15790 int arg7 = (int) 0 ;
15791 int arg8 = (int) 0 ;
15792 wxDateTime *result;
15793 PyObject * obj0 = 0 ;
15794 char *kwnames[] = {
15795 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15796 };
15797
15798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
15799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 {
15803 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
15804 result = (wxDateTime *) &_result_ref;
15805 }
15806
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15811 return resultobj;
15812 fail:
15813 return NULL;
15814 }
15815
15816
15817 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj;
15819 wxDateTime *arg1 = (wxDateTime *) 0 ;
15820 wxDateTime *result;
15821 PyObject * obj0 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 {
15831 wxDateTime &_result_ref = (arg1)->ResetTime();
15832 result = (wxDateTime *) &_result_ref;
15833 }
15834
15835 wxPyEndAllowThreads(__tstate);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15839 return resultobj;
15840 fail:
15841 return NULL;
15842 }
15843
15844
15845 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 wxDateTime *arg1 = (wxDateTime *) 0 ;
15848 int arg2 ;
15849 wxDateTime *result;
15850 PyObject * obj0 = 0 ;
15851 char *kwnames[] = {
15852 (char *) "self",(char *) "year", NULL
15853 };
15854
15855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
15856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 {
15860 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
15861 result = (wxDateTime *) &_result_ref;
15862 }
15863
15864 wxPyEndAllowThreads(__tstate);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 }
15867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15868 return resultobj;
15869 fail:
15870 return NULL;
15871 }
15872
15873
15874 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
15876 wxDateTime *arg1 = (wxDateTime *) 0 ;
15877 int arg2 ;
15878 wxDateTime *result;
15879 PyObject * obj0 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self",(char *) "month", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 {
15889 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
15890 result = (wxDateTime *) &_result_ref;
15891 }
15892
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15897 return resultobj;
15898 fail:
15899 return NULL;
15900 }
15901
15902
15903 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
15904 PyObject *resultobj;
15905 wxDateTime *arg1 = (wxDateTime *) 0 ;
15906 int arg2 ;
15907 wxDateTime *result;
15908 PyObject * obj0 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self",(char *) "day", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 {
15918 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
15919 result = (wxDateTime *) &_result_ref;
15920 }
15921
15922 wxPyEndAllowThreads(__tstate);
15923 if (PyErr_Occurred()) SWIG_fail;
15924 }
15925 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15926 return resultobj;
15927 fail:
15928 return NULL;
15929 }
15930
15931
15932 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
15933 PyObject *resultobj;
15934 wxDateTime *arg1 = (wxDateTime *) 0 ;
15935 int arg2 ;
15936 wxDateTime *result;
15937 PyObject * obj0 = 0 ;
15938 char *kwnames[] = {
15939 (char *) "self",(char *) "hour", NULL
15940 };
15941
15942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
15943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15944 {
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 {
15947 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
15948 result = (wxDateTime *) &_result_ref;
15949 }
15950
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15955 return resultobj;
15956 fail:
15957 return NULL;
15958 }
15959
15960
15961 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
15962 PyObject *resultobj;
15963 wxDateTime *arg1 = (wxDateTime *) 0 ;
15964 int arg2 ;
15965 wxDateTime *result;
15966 PyObject * obj0 = 0 ;
15967 char *kwnames[] = {
15968 (char *) "self",(char *) "minute", NULL
15969 };
15970
15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
15972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 {
15976 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
15977 result = (wxDateTime *) &_result_ref;
15978 }
15979
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15984 return resultobj;
15985 fail:
15986 return NULL;
15987 }
15988
15989
15990 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxDateTime *arg1 = (wxDateTime *) 0 ;
15993 int arg2 ;
15994 wxDateTime *result;
15995 PyObject * obj0 = 0 ;
15996 char *kwnames[] = {
15997 (char *) "self",(char *) "second", NULL
15998 };
15999
16000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
16001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 {
16005 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16006 result = (wxDateTime *) &_result_ref;
16007 }
16008
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16013 return resultobj;
16014 fail:
16015 return NULL;
16016 }
16017
16018
16019 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16020 PyObject *resultobj;
16021 wxDateTime *arg1 = (wxDateTime *) 0 ;
16022 int arg2 ;
16023 wxDateTime *result;
16024 PyObject * obj0 = 0 ;
16025 char *kwnames[] = {
16026 (char *) "self",(char *) "millisecond", NULL
16027 };
16028
16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
16030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 {
16034 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16035 result = (wxDateTime *) &_result_ref;
16036 }
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxDateTime *arg1 = (wxDateTime *) 0 ;
16051 int arg2 ;
16052 int arg3 = (int) wxDateTime::Monday_First ;
16053 wxDateTime *result;
16054 PyObject * obj0 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 {
16064 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16065 result = (wxDateTime *) &_result_ref;
16066 }
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxDateTime *arg1 = (wxDateTime *) 0 ;
16081 int arg2 ;
16082 int arg3 = (int) wxDateTime::Monday_First ;
16083 wxDateTime result;
16084 PyObject * obj0 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) 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 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16094
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 {
16099 wxDateTime * resultptr;
16100 resultptr = new wxDateTime((wxDateTime &) result);
16101 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16102 }
16103 return resultobj;
16104 fail:
16105 return NULL;
16106 }
16107
16108
16109 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16110 PyObject *resultobj;
16111 wxDateTime *arg1 = (wxDateTime *) 0 ;
16112 int arg2 ;
16113 wxDateTime *result;
16114 PyObject * obj0 = 0 ;
16115 char *kwnames[] = {
16116 (char *) "self",(char *) "weekday", NULL
16117 };
16118
16119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16121 {
16122 PyThreadState* __tstate = wxPyBeginAllowThreads();
16123 {
16124 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16125 result = (wxDateTime *) &_result_ref;
16126 }
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16132 return resultobj;
16133 fail:
16134 return NULL;
16135 }
16136
16137
16138 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 wxDateTime *arg1 = (wxDateTime *) 0 ;
16141 int arg2 ;
16142 wxDateTime result;
16143 PyObject * obj0 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self",(char *) "weekday", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 {
16158 wxDateTime * resultptr;
16159 resultptr = new wxDateTime((wxDateTime &) result);
16160 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16161 }
16162 return resultobj;
16163 fail:
16164 return NULL;
16165 }
16166
16167
16168 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxDateTime *arg1 = (wxDateTime *) 0 ;
16171 int arg2 ;
16172 wxDateTime *result;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self",(char *) "weekday", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 {
16183 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16184 result = (wxDateTime *) &_result_ref;
16185 }
16186
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16191 return resultobj;
16192 fail:
16193 return NULL;
16194 }
16195
16196
16197 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16198 PyObject *resultobj;
16199 wxDateTime *arg1 = (wxDateTime *) 0 ;
16200 int arg2 ;
16201 wxDateTime result;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self",(char *) "weekday", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16212
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 {
16217 wxDateTime * resultptr;
16218 resultptr = new wxDateTime((wxDateTime &) result);
16219 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16220 }
16221 return resultobj;
16222 fail:
16223 return NULL;
16224 }
16225
16226
16227 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj;
16229 wxDateTime *arg1 = (wxDateTime *) 0 ;
16230 int arg2 ;
16231 int arg3 = (int) 1 ;
16232 int arg4 = (int) wxDateTime::Inv_Month ;
16233 int arg5 = (int) wxDateTime::Inv_Year ;
16234 bool result;
16235 PyObject * obj0 = 0 ;
16236 char *kwnames[] = {
16237 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16238 };
16239
16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16242 {
16243 PyThreadState* __tstate = wxPyBeginAllowThreads();
16244 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16245
16246 wxPyEndAllowThreads(__tstate);
16247 if (PyErr_Occurred()) SWIG_fail;
16248 }
16249 resultobj = PyInt_FromLong((long)result);
16250 return resultobj;
16251 fail:
16252 return NULL;
16253 }
16254
16255
16256 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16257 PyObject *resultobj;
16258 wxDateTime *arg1 = (wxDateTime *) 0 ;
16259 int arg2 ;
16260 int arg3 = (int) wxDateTime::Inv_Month ;
16261 int arg4 = (int) wxDateTime::Inv_Year ;
16262 bool result;
16263 PyObject * obj0 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16266 };
16267
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16273
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
16277 resultobj = PyInt_FromLong((long)result);
16278 return resultobj;
16279 fail:
16280 return NULL;
16281 }
16282
16283
16284 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16285 PyObject *resultobj;
16286 wxDateTime *arg1 = (wxDateTime *) 0 ;
16287 int arg2 ;
16288 int arg3 = (int) wxDateTime::Inv_Month ;
16289 int arg4 = (int) wxDateTime::Inv_Year ;
16290 wxDateTime result;
16291 PyObject * obj0 = 0 ;
16292 char *kwnames[] = {
16293 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16294 };
16295
16296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16298 {
16299 PyThreadState* __tstate = wxPyBeginAllowThreads();
16300 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16301
16302 wxPyEndAllowThreads(__tstate);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 }
16305 {
16306 wxDateTime * resultptr;
16307 resultptr = new wxDateTime((wxDateTime &) result);
16308 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16309 }
16310 return resultobj;
16311 fail:
16312 return NULL;
16313 }
16314
16315
16316 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16317 PyObject *resultobj;
16318 wxDateTime *arg1 = (wxDateTime *) 0 ;
16319 int arg2 ;
16320 int arg3 = (int) wxDateTime::Mon ;
16321 int arg4 = (int) wxDateTime::Monday_First ;
16322 bool result;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 resultobj = PyInt_FromLong((long)result);
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxDateTime *arg1 = (wxDateTime *) 0 ;
16347 int arg2 ;
16348 int arg3 = (int) wxDateTime::Mon ;
16349 int arg4 = (int) wxDateTime::Monday_First ;
16350 wxDateTime result;
16351 PyObject * obj0 = 0 ;
16352 char *kwnames[] = {
16353 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16354 };
16355
16356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16358 {
16359 PyThreadState* __tstate = wxPyBeginAllowThreads();
16360 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16361
16362 wxPyEndAllowThreads(__tstate);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 {
16366 wxDateTime * resultptr;
16367 resultptr = new wxDateTime((wxDateTime &) result);
16368 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16369 }
16370 return resultobj;
16371 fail:
16372 return NULL;
16373 }
16374
16375
16376 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16377 PyObject *resultobj;
16378 wxDateTime *arg1 = (wxDateTime *) 0 ;
16379 int arg2 = (int) wxDateTime::Inv_Month ;
16380 int arg3 = (int) wxDateTime::Inv_Year ;
16381 wxDateTime *result;
16382 PyObject * obj0 = 0 ;
16383 char *kwnames[] = {
16384 (char *) "self",(char *) "month",(char *) "year", NULL
16385 };
16386
16387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 {
16392 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16393 result = (wxDateTime *) &_result_ref;
16394 }
16395
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16400 return resultobj;
16401 fail:
16402 return NULL;
16403 }
16404
16405
16406 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16407 PyObject *resultobj;
16408 wxDateTime *arg1 = (wxDateTime *) 0 ;
16409 int arg2 = (int) wxDateTime::Inv_Month ;
16410 int arg3 = (int) wxDateTime::Inv_Year ;
16411 wxDateTime result;
16412 PyObject * obj0 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self",(char *) "month",(char *) "year", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 {
16427 wxDateTime * resultptr;
16428 resultptr = new wxDateTime((wxDateTime &) result);
16429 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16430 }
16431 return resultobj;
16432 fail:
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxDateTime *arg1 = (wxDateTime *) 0 ;
16440 int arg2 ;
16441 wxDateTime *result;
16442 PyObject * obj0 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "yday", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
16448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 {
16452 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16453 result = (wxDateTime *) &_result_ref;
16454 }
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16460 return resultobj;
16461 fail:
16462 return NULL;
16463 }
16464
16465
16466 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 wxDateTime *arg1 = (wxDateTime *) 0 ;
16469 int arg2 ;
16470 wxDateTime result;
16471 PyObject * obj0 = 0 ;
16472 char *kwnames[] = {
16473 (char *) "self",(char *) "yday", NULL
16474 };
16475
16476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
16477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 result = (arg1)->GetYearDay(arg2);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 {
16486 wxDateTime * resultptr;
16487 resultptr = new wxDateTime((wxDateTime &) result);
16488 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16489 }
16490 return resultobj;
16491 fail:
16492 return NULL;
16493 }
16494
16495
16496 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxDateTime *arg1 = (wxDateTime *) 0 ;
16499 double result;
16500 PyObject * obj0 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 result = (double)(arg1)->GetJulianDayNumber();
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 resultobj = PyFloat_FromDouble(result);
16515 return resultobj;
16516 fail:
16517 return NULL;
16518 }
16519
16520
16521 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj;
16523 wxDateTime *arg1 = (wxDateTime *) 0 ;
16524 double result;
16525 PyObject * obj0 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
16534 result = (double)(arg1)->GetJDN();
16535
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 resultobj = PyFloat_FromDouble(result);
16540 return resultobj;
16541 fail:
16542 return NULL;
16543 }
16544
16545
16546 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16547 PyObject *resultobj;
16548 wxDateTime *arg1 = (wxDateTime *) 0 ;
16549 double result;
16550 PyObject * obj0 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 resultobj = PyFloat_FromDouble(result);
16565 return resultobj;
16566 fail:
16567 return NULL;
16568 }
16569
16570
16571 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16572 PyObject *resultobj;
16573 wxDateTime *arg1 = (wxDateTime *) 0 ;
16574 double result;
16575 PyObject * obj0 = 0 ;
16576 char *kwnames[] = {
16577 (char *) "self", NULL
16578 };
16579
16580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16582 {
16583 PyThreadState* __tstate = wxPyBeginAllowThreads();
16584 result = (double)(arg1)->GetMJD();
16585
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 resultobj = PyFloat_FromDouble(result);
16590 return resultobj;
16591 fail:
16592 return NULL;
16593 }
16594
16595
16596 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxDateTime *arg1 = (wxDateTime *) 0 ;
16599 double result;
16600 PyObject * obj0 = 0 ;
16601 char *kwnames[] = {
16602 (char *) "self", NULL
16603 };
16604
16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 result = (double)(arg1)->GetRataDie();
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 resultobj = PyFloat_FromDouble(result);
16615 return resultobj;
16616 fail:
16617 return NULL;
16618 }
16619
16620
16621 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj;
16623 wxDateTime *arg1 = (wxDateTime *) 0 ;
16624 wxDateTime::TimeZone *arg2 = 0 ;
16625 bool arg3 = (bool) False ;
16626 wxDateTime result;
16627 bool temp2 = False ;
16628 PyObject * obj0 = 0 ;
16629 PyObject * obj1 = 0 ;
16630 PyObject * obj2 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16633 };
16634
16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16637 {
16638 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16639 temp2 = True;
16640 }
16641 if (obj2) {
16642 arg3 = PyInt_AsLong(obj2) ? true : false;
16643 if (PyErr_Occurred()) SWIG_fail;
16644 }
16645 {
16646 PyThreadState* __tstate = wxPyBeginAllowThreads();
16647 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 {
16653 wxDateTime * resultptr;
16654 resultptr = new wxDateTime((wxDateTime &) result);
16655 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16656 }
16657 {
16658 if (temp2) delete arg2;
16659 }
16660 return resultobj;
16661 fail:
16662 {
16663 if (temp2) delete arg2;
16664 }
16665 return NULL;
16666 }
16667
16668
16669 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16670 PyObject *resultobj;
16671 wxDateTime *arg1 = (wxDateTime *) 0 ;
16672 wxDateTime::TimeZone *arg2 = 0 ;
16673 bool arg3 = (bool) False ;
16674 wxDateTime *result;
16675 bool temp2 = False ;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 PyObject * obj2 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16685 {
16686 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16687 temp2 = True;
16688 }
16689 if (obj2) {
16690 arg3 = PyInt_AsLong(obj2) ? true : false;
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 {
16696 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16697 result = (wxDateTime *) &_result_ref;
16698 }
16699
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16704 {
16705 if (temp2) delete arg2;
16706 }
16707 return resultobj;
16708 fail:
16709 {
16710 if (temp2) delete arg2;
16711 }
16712 return NULL;
16713 }
16714
16715
16716 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxDateTime *arg1 = (wxDateTime *) 0 ;
16719 bool arg2 = (bool) False ;
16720 wxDateTime result;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self",(char *) "noDST", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16729 if (obj1) {
16730 arg2 = PyInt_AsLong(obj1) ? true : false;
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 {
16734 PyThreadState* __tstate = wxPyBeginAllowThreads();
16735 result = (arg1)->ToGMT(arg2);
16736
16737 wxPyEndAllowThreads(__tstate);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 }
16740 {
16741 wxDateTime * resultptr;
16742 resultptr = new wxDateTime((wxDateTime &) result);
16743 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16744 }
16745 return resultobj;
16746 fail:
16747 return NULL;
16748 }
16749
16750
16751 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16752 PyObject *resultobj;
16753 wxDateTime *arg1 = (wxDateTime *) 0 ;
16754 bool arg2 = (bool) False ;
16755 wxDateTime *result;
16756 PyObject * obj0 = 0 ;
16757 PyObject * obj1 = 0 ;
16758 char *kwnames[] = {
16759 (char *) "self",(char *) "noDST", NULL
16760 };
16761
16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16764 if (obj1) {
16765 arg2 = PyInt_AsLong(obj1) ? true : false;
16766 if (PyErr_Occurred()) SWIG_fail;
16767 }
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 {
16771 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
16772 result = (wxDateTime *) &_result_ref;
16773 }
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 wxDateTime *arg1 = (wxDateTime *) 0 ;
16788 int arg2 = (int) wxDateTime::Country_Default ;
16789 int result;
16790 PyObject * obj0 = 0 ;
16791 char *kwnames[] = {
16792 (char *) "self",(char *) "country", NULL
16793 };
16794
16795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
16796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16797 {
16798 PyThreadState* __tstate = wxPyBeginAllowThreads();
16799 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
16800
16801 wxPyEndAllowThreads(__tstate);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 }
16804 resultobj = PyInt_FromLong((long)result);
16805 return resultobj;
16806 fail:
16807 return NULL;
16808 }
16809
16810
16811 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
16812 PyObject *resultobj;
16813 wxDateTime *arg1 = (wxDateTime *) 0 ;
16814 bool result;
16815 PyObject * obj0 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
16821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (bool)((wxDateTime const *)arg1)->IsValid();
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 resultobj = PyInt_FromLong((long)result);
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxDateTime *arg1 = (wxDateTime *) 0 ;
16839 time_t result;
16840 PyObject * obj0 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
16850
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
16854 resultobj = PyInt_FromLong((long)result);
16855 return resultobj;
16856 fail:
16857 return NULL;
16858 }
16859
16860
16861 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16862 PyObject *resultobj;
16863 wxDateTime *arg1 = (wxDateTime *) 0 ;
16864 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16865 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16866 int result;
16867 bool temp2 = False ;
16868 PyObject * obj0 = 0 ;
16869 PyObject * obj1 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self",(char *) "tz", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16876 if (obj1) {
16877 {
16878 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16879 temp2 = True;
16880 }
16881 }
16882 {
16883 PyThreadState* __tstate = wxPyBeginAllowThreads();
16884 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
16885
16886 wxPyEndAllowThreads(__tstate);
16887 if (PyErr_Occurred()) SWIG_fail;
16888 }
16889 resultobj = PyInt_FromLong((long)result);
16890 {
16891 if (temp2) delete arg2;
16892 }
16893 return resultobj;
16894 fail:
16895 {
16896 if (temp2) delete arg2;
16897 }
16898 return NULL;
16899 }
16900
16901
16902 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16903 PyObject *resultobj;
16904 wxDateTime *arg1 = (wxDateTime *) 0 ;
16905 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16906 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16907 int result;
16908 bool temp2 = False ;
16909 PyObject * obj0 = 0 ;
16910 PyObject * obj1 = 0 ;
16911 char *kwnames[] = {
16912 (char *) "self",(char *) "tz", NULL
16913 };
16914
16915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
16916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16917 if (obj1) {
16918 {
16919 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16920 temp2 = True;
16921 }
16922 }
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
16926
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 resultobj = PyInt_FromLong((long)result);
16931 {
16932 if (temp2) delete arg2;
16933 }
16934 return resultobj;
16935 fail:
16936 {
16937 if (temp2) delete arg2;
16938 }
16939 return NULL;
16940 }
16941
16942
16943 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxDateTime *arg1 = (wxDateTime *) 0 ;
16946 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16947 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16948 int result;
16949 bool temp2 = False ;
16950 PyObject * obj0 = 0 ;
16951 PyObject * obj1 = 0 ;
16952 char *kwnames[] = {
16953 (char *) "self",(char *) "tz", NULL
16954 };
16955
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
16957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16958 if (obj1) {
16959 {
16960 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16961 temp2 = True;
16962 }
16963 }
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
16967
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 resultobj = PyInt_FromLong((long)result);
16972 {
16973 if (temp2) delete arg2;
16974 }
16975 return resultobj;
16976 fail:
16977 {
16978 if (temp2) delete arg2;
16979 }
16980 return NULL;
16981 }
16982
16983
16984 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj;
16986 wxDateTime *arg1 = (wxDateTime *) 0 ;
16987 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16988 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16989 int result;
16990 bool temp2 = False ;
16991 PyObject * obj0 = 0 ;
16992 PyObject * obj1 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self",(char *) "tz", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16999 if (obj1) {
17000 {
17001 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17002 temp2 = True;
17003 }
17004 }
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17008
17009 wxPyEndAllowThreads(__tstate);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
17012 resultobj = PyInt_FromLong((long)result);
17013 {
17014 if (temp2) delete arg2;
17015 }
17016 return resultobj;
17017 fail:
17018 {
17019 if (temp2) delete arg2;
17020 }
17021 return NULL;
17022 }
17023
17024
17025 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17026 PyObject *resultobj;
17027 wxDateTime *arg1 = (wxDateTime *) 0 ;
17028 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17029 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17030 int result;
17031 bool temp2 = False ;
17032 PyObject * obj0 = 0 ;
17033 PyObject * obj1 = 0 ;
17034 char *kwnames[] = {
17035 (char *) "self",(char *) "tz", NULL
17036 };
17037
17038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17040 if (obj1) {
17041 {
17042 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17043 temp2 = True;
17044 }
17045 }
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 resultobj = PyInt_FromLong((long)result);
17054 {
17055 if (temp2) delete arg2;
17056 }
17057 return resultobj;
17058 fail:
17059 {
17060 if (temp2) delete arg2;
17061 }
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxDateTime *arg1 = (wxDateTime *) 0 ;
17069 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17070 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17071 int result;
17072 bool temp2 = False ;
17073 PyObject * obj0 = 0 ;
17074 PyObject * obj1 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self",(char *) "tz", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17081 if (obj1) {
17082 {
17083 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17084 temp2 = True;
17085 }
17086 }
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
17089 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 resultobj = PyInt_FromLong((long)result);
17095 {
17096 if (temp2) delete arg2;
17097 }
17098 return resultobj;
17099 fail:
17100 {
17101 if (temp2) delete arg2;
17102 }
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxDateTime *arg1 = (wxDateTime *) 0 ;
17110 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17111 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17112 int result;
17113 bool temp2 = False ;
17114 PyObject * obj0 = 0 ;
17115 PyObject * obj1 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "self",(char *) "tz", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17122 if (obj1) {
17123 {
17124 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17125 temp2 = True;
17126 }
17127 }
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = PyInt_FromLong((long)result);
17136 {
17137 if (temp2) delete arg2;
17138 }
17139 return resultobj;
17140 fail:
17141 {
17142 if (temp2) delete arg2;
17143 }
17144 return NULL;
17145 }
17146
17147
17148 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 wxDateTime *arg1 = (wxDateTime *) 0 ;
17151 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17152 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17153 int result;
17154 bool temp2 = False ;
17155 PyObject * obj0 = 0 ;
17156 PyObject * obj1 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "self",(char *) "tz", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17163 if (obj1) {
17164 {
17165 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17166 temp2 = True;
17167 }
17168 }
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17172
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 resultobj = PyInt_FromLong((long)result);
17177 {
17178 if (temp2) delete arg2;
17179 }
17180 return resultobj;
17181 fail:
17182 {
17183 if (temp2) delete arg2;
17184 }
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxDateTime *arg1 = (wxDateTime *) 0 ;
17192 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17193 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17194 int result;
17195 bool temp2 = False ;
17196 PyObject * obj0 = 0 ;
17197 PyObject * obj1 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self",(char *) "tz", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17204 if (obj1) {
17205 {
17206 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17207 temp2 = True;
17208 }
17209 }
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 resultobj = PyInt_FromLong((long)result);
17218 {
17219 if (temp2) delete arg2;
17220 }
17221 return resultobj;
17222 fail:
17223 {
17224 if (temp2) delete arg2;
17225 }
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxDateTime *arg1 = (wxDateTime *) 0 ;
17233 int arg2 = (int) wxDateTime::Monday_First ;
17234 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17235 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17236 int result;
17237 bool temp3 = False ;
17238 PyObject * obj0 = 0 ;
17239 PyObject * obj2 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self",(char *) "flags",(char *) "tz", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17246 if (obj2) {
17247 {
17248 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17249 temp3 = True;
17250 }
17251 }
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17255
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 resultobj = PyInt_FromLong((long)result);
17260 {
17261 if (temp3) delete arg3;
17262 }
17263 return resultobj;
17264 fail:
17265 {
17266 if (temp3) delete arg3;
17267 }
17268 return NULL;
17269 }
17270
17271
17272 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17273 PyObject *resultobj;
17274 wxDateTime *arg1 = (wxDateTime *) 0 ;
17275 int arg2 = (int) wxDateTime::Monday_First ;
17276 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17277 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17278 int result;
17279 bool temp3 = False ;
17280 PyObject * obj0 = 0 ;
17281 PyObject * obj2 = 0 ;
17282 char *kwnames[] = {
17283 (char *) "self",(char *) "flags",(char *) "tz", NULL
17284 };
17285
17286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17288 if (obj2) {
17289 {
17290 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17291 temp3 = True;
17292 }
17293 }
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 resultobj = PyInt_FromLong((long)result);
17302 {
17303 if (temp3) delete arg3;
17304 }
17305 return resultobj;
17306 fail:
17307 {
17308 if (temp3) delete arg3;
17309 }
17310 return NULL;
17311 }
17312
17313
17314 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17315 PyObject *resultobj;
17316 wxDateTime *arg1 = (wxDateTime *) 0 ;
17317 int arg2 = (int) wxDateTime::Country_Default ;
17318 bool result;
17319 PyObject * obj0 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "self",(char *) "country", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17329
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 resultobj = PyInt_FromLong((long)result);
17334 return resultobj;
17335 fail:
17336 return NULL;
17337 }
17338
17339
17340 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17341 PyObject *resultobj;
17342 wxDateTime *arg1 = (wxDateTime *) 0 ;
17343 wxDateTime *arg2 = 0 ;
17344 bool result;
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self",(char *) "datetime", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17354 if (arg2 == NULL) {
17355 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17356 }
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 resultobj = PyInt_FromLong((long)result);
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxDateTime *arg1 = (wxDateTime *) 0 ;
17374 wxDateTime *arg2 = 0 ;
17375 bool result;
17376 PyObject * obj0 = 0 ;
17377 PyObject * obj1 = 0 ;
17378 char *kwnames[] = {
17379 (char *) "self",(char *) "datetime", NULL
17380 };
17381
17382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 if (arg2 == NULL) {
17386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17387 }
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 resultobj = PyInt_FromLong((long)result);
17396 return resultobj;
17397 fail:
17398 return NULL;
17399 }
17400
17401
17402 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj;
17404 wxDateTime *arg1 = (wxDateTime *) 0 ;
17405 wxDateTime *arg2 = 0 ;
17406 bool result;
17407 PyObject * obj0 = 0 ;
17408 PyObject * obj1 = 0 ;
17409 char *kwnames[] = {
17410 (char *) "self",(char *) "datetime", NULL
17411 };
17412
17413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17416 if (arg2 == NULL) {
17417 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17418 }
17419 {
17420 PyThreadState* __tstate = wxPyBeginAllowThreads();
17421 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17422
17423 wxPyEndAllowThreads(__tstate);
17424 if (PyErr_Occurred()) SWIG_fail;
17425 }
17426 resultobj = PyInt_FromLong((long)result);
17427 return resultobj;
17428 fail:
17429 return NULL;
17430 }
17431
17432
17433 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17434 PyObject *resultobj;
17435 wxDateTime *arg1 = (wxDateTime *) 0 ;
17436 wxDateTime *arg2 = 0 ;
17437 wxDateTime *arg3 = 0 ;
17438 bool result;
17439 PyObject * obj0 = 0 ;
17440 PyObject * obj1 = 0 ;
17441 PyObject * obj2 = 0 ;
17442 char *kwnames[] = {
17443 (char *) "self",(char *) "t1",(char *) "t2", NULL
17444 };
17445
17446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17449 if (arg2 == NULL) {
17450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17451 }
17452 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17453 if (arg3 == NULL) {
17454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17455 }
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17459
17460 wxPyEndAllowThreads(__tstate);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 }
17463 resultobj = PyInt_FromLong((long)result);
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17471 PyObject *resultobj;
17472 wxDateTime *arg1 = (wxDateTime *) 0 ;
17473 wxDateTime *arg2 = 0 ;
17474 wxDateTime *arg3 = 0 ;
17475 bool result;
17476 PyObject * obj0 = 0 ;
17477 PyObject * obj1 = 0 ;
17478 PyObject * obj2 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self",(char *) "t1",(char *) "t2", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17486 if (arg2 == NULL) {
17487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17488 }
17489 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17490 if (arg3 == NULL) {
17491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17492 }
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 resultobj = PyInt_FromLong((long)result);
17501 return resultobj;
17502 fail:
17503 return NULL;
17504 }
17505
17506
17507 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj;
17509 wxDateTime *arg1 = (wxDateTime *) 0 ;
17510 wxDateTime *arg2 = 0 ;
17511 bool result;
17512 PyObject * obj0 = 0 ;
17513 PyObject * obj1 = 0 ;
17514 char *kwnames[] = {
17515 (char *) "self",(char *) "dt", NULL
17516 };
17517
17518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17521 if (arg2 == NULL) {
17522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17523 }
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 resultobj = PyInt_FromLong((long)result);
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxDateTime *arg1 = (wxDateTime *) 0 ;
17541 wxDateTime *arg2 = 0 ;
17542 bool result;
17543 PyObject * obj0 = 0 ;
17544 PyObject * obj1 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self",(char *) "dt", NULL
17547 };
17548
17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17552 if (arg2 == NULL) {
17553 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17554 }
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = PyInt_FromLong((long)result);
17563 return resultobj;
17564 fail:
17565 return NULL;
17566 }
17567
17568
17569 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 wxDateTime *arg1 = (wxDateTime *) 0 ;
17572 wxDateTime *arg2 = 0 ;
17573 wxTimeSpan *arg3 = 0 ;
17574 bool result;
17575 PyObject * obj0 = 0 ;
17576 PyObject * obj1 = 0 ;
17577 PyObject * obj2 = 0 ;
17578 char *kwnames[] = {
17579 (char *) "self",(char *) "dt",(char *) "ts", NULL
17580 };
17581
17582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17585 if (arg2 == NULL) {
17586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17587 }
17588 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17589 if (arg3 == NULL) {
17590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17591 }
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17595
17596 wxPyEndAllowThreads(__tstate);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 resultobj = PyInt_FromLong((long)result);
17600 return resultobj;
17601 fail:
17602 return NULL;
17603 }
17604
17605
17606 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxDateTime *arg1 = (wxDateTime *) 0 ;
17609 wxTimeSpan *arg2 = 0 ;
17610 wxDateTime *result;
17611 PyObject * obj0 = 0 ;
17612 PyObject * obj1 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self",(char *) "diff", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 if (arg2 == NULL) {
17621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17622 }
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 {
17626 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17627 result = (wxDateTime *) &_result_ref;
17628 }
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17634 return resultobj;
17635 fail:
17636 return NULL;
17637 }
17638
17639
17640 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17641 PyObject *resultobj;
17642 wxDateTime *arg1 = (wxDateTime *) 0 ;
17643 wxDateSpan *arg2 = 0 ;
17644 wxDateTime *result;
17645 PyObject * obj0 = 0 ;
17646 PyObject * obj1 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self",(char *) "diff", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17654 if (arg2 == NULL) {
17655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17656 }
17657 {
17658 PyThreadState* __tstate = wxPyBeginAllowThreads();
17659 {
17660 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17661 result = (wxDateTime *) &_result_ref;
17662 }
17663
17664 wxPyEndAllowThreads(__tstate);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17668 return resultobj;
17669 fail:
17670 return NULL;
17671 }
17672
17673
17674 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxDateTime *arg1 = (wxDateTime *) 0 ;
17677 wxTimeSpan *arg2 = 0 ;
17678 wxDateTime *result;
17679 PyObject * obj0 = 0 ;
17680 PyObject * obj1 = 0 ;
17681 char *kwnames[] = {
17682 (char *) "self",(char *) "diff", NULL
17683 };
17684
17685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17688 if (arg2 == NULL) {
17689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17690 }
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 {
17694 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17695 result = (wxDateTime *) &_result_ref;
17696 }
17697
17698 wxPyEndAllowThreads(__tstate);
17699 if (PyErr_Occurred()) SWIG_fail;
17700 }
17701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17702 return resultobj;
17703 fail:
17704 return NULL;
17705 }
17706
17707
17708 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17709 PyObject *resultobj;
17710 wxDateTime *arg1 = (wxDateTime *) 0 ;
17711 wxDateSpan *arg2 = 0 ;
17712 wxDateTime *result;
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self",(char *) "diff", NULL
17717 };
17718
17719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17722 if (arg2 == NULL) {
17723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17724 }
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 {
17728 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17729 result = (wxDateTime *) &_result_ref;
17730 }
17731
17732 wxPyEndAllowThreads(__tstate);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17736 return resultobj;
17737 fail:
17738 return NULL;
17739 }
17740
17741
17742 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17743 PyObject *resultobj;
17744 wxDateTime *arg1 = (wxDateTime *) 0 ;
17745 wxDateTime *arg2 = 0 ;
17746 wxTimeSpan result;
17747 PyObject * obj0 = 0 ;
17748 PyObject * obj1 = 0 ;
17749 char *kwnames[] = {
17750 (char *) "self",(char *) "dt", NULL
17751 };
17752
17753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 if (arg2 == NULL) {
17757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17758 }
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 {
17767 wxTimeSpan * resultptr;
17768 resultptr = new wxTimeSpan((wxTimeSpan &) result);
17769 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
17770 }
17771 return resultobj;
17772 fail:
17773 return NULL;
17774 }
17775
17776
17777 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
17778 PyObject *resultobj;
17779 wxDateTime *arg1 = (wxDateTime *) 0 ;
17780 wxTimeSpan *arg2 = 0 ;
17781 wxDateTime *result;
17782 PyObject * obj0 = 0 ;
17783 PyObject * obj1 = 0 ;
17784
17785 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17788 if (arg2 == NULL) {
17789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17790 }
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 {
17794 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
17795 result = (wxDateTime *) &_result_ref;
17796 }
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
17809 PyObject *resultobj;
17810 wxDateTime *arg1 = (wxDateTime *) 0 ;
17811 wxDateSpan *arg2 = 0 ;
17812 wxDateTime *result;
17813 PyObject * obj0 = 0 ;
17814 PyObject * obj1 = 0 ;
17815
17816 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17819 if (arg2 == NULL) {
17820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17821 }
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 {
17825 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
17826 result = (wxDateTime *) &_result_ref;
17827 }
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17833 return resultobj;
17834 fail:
17835 return NULL;
17836 }
17837
17838
17839 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
17840 int argc;
17841 PyObject *argv[3];
17842 int ii;
17843
17844 argc = PyObject_Length(args);
17845 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17846 argv[ii] = PyTuple_GetItem(args,ii);
17847 }
17848 if (argc == 2) {
17849 int _v;
17850 {
17851 void *ptr;
17852 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17853 _v = 0;
17854 PyErr_Clear();
17855 } else {
17856 _v = 1;
17857 }
17858 }
17859 if (_v) {
17860 {
17861 void *ptr;
17862 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17863 _v = 0;
17864 PyErr_Clear();
17865 } else {
17866 _v = 1;
17867 }
17868 }
17869 if (_v) {
17870 return _wrap_DateTime___iadd____SWIG_0(self,args);
17871 }
17872 }
17873 }
17874 if (argc == 2) {
17875 int _v;
17876 {
17877 void *ptr;
17878 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17879 _v = 0;
17880 PyErr_Clear();
17881 } else {
17882 _v = 1;
17883 }
17884 }
17885 if (_v) {
17886 {
17887 void *ptr;
17888 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
17889 _v = 0;
17890 PyErr_Clear();
17891 } else {
17892 _v = 1;
17893 }
17894 }
17895 if (_v) {
17896 return _wrap_DateTime___iadd____SWIG_1(self,args);
17897 }
17898 }
17899 }
17900
17901 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
17902 return NULL;
17903 }
17904
17905
17906 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
17907 PyObject *resultobj;
17908 wxDateTime *arg1 = (wxDateTime *) 0 ;
17909 wxTimeSpan *arg2 = 0 ;
17910 wxDateTime *result;
17911 PyObject * obj0 = 0 ;
17912 PyObject * obj1 = 0 ;
17913
17914 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&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_wxTimeSpan,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)->operator -=((wxTimeSpan 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___isub____SWIG_1(PyObject *self, PyObject *args) {
17938 PyObject *resultobj;
17939 wxDateTime *arg1 = (wxDateTime *) 0 ;
17940 wxDateSpan *arg2 = 0 ;
17941 wxDateTime *result;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944
17945 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 if (arg2 == NULL) {
17949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17950 }
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 {
17954 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
17955 result = (wxDateTime *) &_result_ref;
17956 }
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
17969 int argc;
17970 PyObject *argv[3];
17971 int ii;
17972
17973 argc = PyObject_Length(args);
17974 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17975 argv[ii] = PyTuple_GetItem(args,ii);
17976 }
17977 if (argc == 2) {
17978 int _v;
17979 {
17980 void *ptr;
17981 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17982 _v = 0;
17983 PyErr_Clear();
17984 } else {
17985 _v = 1;
17986 }
17987 }
17988 if (_v) {
17989 {
17990 void *ptr;
17991 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17992 _v = 0;
17993 PyErr_Clear();
17994 } else {
17995 _v = 1;
17996 }
17997 }
17998 if (_v) {
17999 return _wrap_DateTime___isub____SWIG_0(self,args);
18000 }
18001 }
18002 }
18003 if (argc == 2) {
18004 int _v;
18005 {
18006 void *ptr;
18007 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18008 _v = 0;
18009 PyErr_Clear();
18010 } else {
18011 _v = 1;
18012 }
18013 }
18014 if (_v) {
18015 {
18016 void *ptr;
18017 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18018 _v = 0;
18019 PyErr_Clear();
18020 } else {
18021 _v = 1;
18022 }
18023 }
18024 if (_v) {
18025 return _wrap_DateTime___isub____SWIG_1(self,args);
18026 }
18027 }
18028 }
18029
18030 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18036 PyObject *resultobj;
18037 wxDateTime *arg1 = (wxDateTime *) 0 ;
18038 wxTimeSpan *arg2 = 0 ;
18039 wxDateTime result;
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
18042
18043 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18046 if (arg2 == NULL) {
18047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18048 }
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 {
18057 wxDateTime * resultptr;
18058 resultptr = new wxDateTime((wxDateTime &) result);
18059 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18060 }
18061 return resultobj;
18062 fail:
18063 return NULL;
18064 }
18065
18066
18067 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18068 PyObject *resultobj;
18069 wxDateTime *arg1 = (wxDateTime *) 0 ;
18070 wxDateSpan *arg2 = 0 ;
18071 wxDateTime result;
18072 PyObject * obj0 = 0 ;
18073 PyObject * obj1 = 0 ;
18074
18075 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 if (arg2 == NULL) {
18079 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18080 }
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 {
18089 wxDateTime * resultptr;
18090 resultptr = new wxDateTime((wxDateTime &) result);
18091 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18092 }
18093 return resultobj;
18094 fail:
18095 return NULL;
18096 }
18097
18098
18099 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18100 int argc;
18101 PyObject *argv[3];
18102 int ii;
18103
18104 argc = PyObject_Length(args);
18105 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18106 argv[ii] = PyTuple_GetItem(args,ii);
18107 }
18108 if (argc == 2) {
18109 int _v;
18110 {
18111 void *ptr;
18112 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18113 _v = 0;
18114 PyErr_Clear();
18115 } else {
18116 _v = 1;
18117 }
18118 }
18119 if (_v) {
18120 {
18121 void *ptr;
18122 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18123 _v = 0;
18124 PyErr_Clear();
18125 } else {
18126 _v = 1;
18127 }
18128 }
18129 if (_v) {
18130 return _wrap_DateTime___add____SWIG_0(self,args);
18131 }
18132 }
18133 }
18134 if (argc == 2) {
18135 int _v;
18136 {
18137 void *ptr;
18138 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18139 _v = 0;
18140 PyErr_Clear();
18141 } else {
18142 _v = 1;
18143 }
18144 }
18145 if (_v) {
18146 {
18147 void *ptr;
18148 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18149 _v = 0;
18150 PyErr_Clear();
18151 } else {
18152 _v = 1;
18153 }
18154 }
18155 if (_v) {
18156 return _wrap_DateTime___add____SWIG_1(self,args);
18157 }
18158 }
18159 }
18160
18161 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18167 PyObject *resultobj;
18168 wxDateTime *arg1 = (wxDateTime *) 0 ;
18169 wxDateTime *arg2 = 0 ;
18170 wxTimeSpan result;
18171 PyObject * obj0 = 0 ;
18172 PyObject * obj1 = 0 ;
18173
18174 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18177 if (arg2 == NULL) {
18178 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18179 }
18180 {
18181 PyThreadState* __tstate = wxPyBeginAllowThreads();
18182 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18183
18184 wxPyEndAllowThreads(__tstate);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 }
18187 {
18188 wxTimeSpan * resultptr;
18189 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18190 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18191 }
18192 return resultobj;
18193 fail:
18194 return NULL;
18195 }
18196
18197
18198 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18199 PyObject *resultobj;
18200 wxDateTime *arg1 = (wxDateTime *) 0 ;
18201 wxTimeSpan *arg2 = 0 ;
18202 wxDateTime result;
18203 PyObject * obj0 = 0 ;
18204 PyObject * obj1 = 0 ;
18205
18206 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18209 if (arg2 == NULL) {
18210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18211 }
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 {
18220 wxDateTime * resultptr;
18221 resultptr = new wxDateTime((wxDateTime &) result);
18222 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18223 }
18224 return resultobj;
18225 fail:
18226 return NULL;
18227 }
18228
18229
18230 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18231 PyObject *resultobj;
18232 wxDateTime *arg1 = (wxDateTime *) 0 ;
18233 wxDateSpan *arg2 = 0 ;
18234 wxDateTime result;
18235 PyObject * obj0 = 0 ;
18236 PyObject * obj1 = 0 ;
18237
18238 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18241 if (arg2 == NULL) {
18242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18243 }
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 {
18252 wxDateTime * resultptr;
18253 resultptr = new wxDateTime((wxDateTime &) result);
18254 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18255 }
18256 return resultobj;
18257 fail:
18258 return NULL;
18259 }
18260
18261
18262 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18263 int argc;
18264 PyObject *argv[3];
18265 int ii;
18266
18267 argc = PyObject_Length(args);
18268 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18269 argv[ii] = PyTuple_GetItem(args,ii);
18270 }
18271 if (argc == 2) {
18272 int _v;
18273 {
18274 void *ptr;
18275 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18276 _v = 0;
18277 PyErr_Clear();
18278 } else {
18279 _v = 1;
18280 }
18281 }
18282 if (_v) {
18283 {
18284 void *ptr;
18285 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18286 _v = 0;
18287 PyErr_Clear();
18288 } else {
18289 _v = 1;
18290 }
18291 }
18292 if (_v) {
18293 return _wrap_DateTime___sub____SWIG_0(self,args);
18294 }
18295 }
18296 }
18297 if (argc == 2) {
18298 int _v;
18299 {
18300 void *ptr;
18301 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18302 _v = 0;
18303 PyErr_Clear();
18304 } else {
18305 _v = 1;
18306 }
18307 }
18308 if (_v) {
18309 {
18310 void *ptr;
18311 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18312 _v = 0;
18313 PyErr_Clear();
18314 } else {
18315 _v = 1;
18316 }
18317 }
18318 if (_v) {
18319 return _wrap_DateTime___sub____SWIG_1(self,args);
18320 }
18321 }
18322 }
18323 if (argc == 2) {
18324 int _v;
18325 {
18326 void *ptr;
18327 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18328 _v = 0;
18329 PyErr_Clear();
18330 } else {
18331 _v = 1;
18332 }
18333 }
18334 if (_v) {
18335 {
18336 void *ptr;
18337 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18338 _v = 0;
18339 PyErr_Clear();
18340 } else {
18341 _v = 1;
18342 }
18343 }
18344 if (_v) {
18345 return _wrap_DateTime___sub____SWIG_2(self,args);
18346 }
18347 }
18348 }
18349
18350 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18351 return NULL;
18352 }
18353
18354
18355 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18356 PyObject *resultobj;
18357 wxDateTime *arg1 = (wxDateTime *) 0 ;
18358 wxDateTime *arg2 = 0 ;
18359 bool result;
18360 PyObject * obj0 = 0 ;
18361 PyObject * obj1 = 0 ;
18362
18363 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18366 if (arg2 == NULL) {
18367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18368 }
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 resultobj = PyInt_FromLong((long)result);
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18384 PyObject *resultobj;
18385 wxDateTime *arg1 = (wxDateTime *) 0 ;
18386 wxDateTime *arg2 = 0 ;
18387 bool result;
18388 PyObject * obj0 = 0 ;
18389 PyObject * obj1 = 0 ;
18390
18391 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18394 if (arg2 == NULL) {
18395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18396 }
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 resultobj = PyInt_FromLong((long)result);
18405 return resultobj;
18406 fail:
18407 return NULL;
18408 }
18409
18410
18411 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18412 PyObject *resultobj;
18413 wxDateTime *arg1 = (wxDateTime *) 0 ;
18414 wxDateTime *arg2 = 0 ;
18415 bool result;
18416 PyObject * obj0 = 0 ;
18417 PyObject * obj1 = 0 ;
18418
18419 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18422 if (arg2 == NULL) {
18423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18424 }
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
18427 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18428
18429 wxPyEndAllowThreads(__tstate);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 }
18432 resultobj = PyInt_FromLong((long)result);
18433 return resultobj;
18434 fail:
18435 return NULL;
18436 }
18437
18438
18439 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18440 PyObject *resultobj;
18441 wxDateTime *arg1 = (wxDateTime *) 0 ;
18442 wxDateTime *arg2 = 0 ;
18443 bool result;
18444 PyObject * obj0 = 0 ;
18445 PyObject * obj1 = 0 ;
18446
18447 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18450 if (arg2 == NULL) {
18451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18452 }
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 resultobj = PyInt_FromLong((long)result);
18461 return resultobj;
18462 fail:
18463 return NULL;
18464 }
18465
18466
18467 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18468 PyObject *resultobj;
18469 wxDateTime *arg1 = (wxDateTime *) 0 ;
18470 wxDateTime *arg2 = 0 ;
18471 bool result;
18472 PyObject * obj0 = 0 ;
18473 PyObject * obj1 = 0 ;
18474
18475 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18477 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18478 if (arg2 == NULL) {
18479 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18480 }
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 resultobj = PyInt_FromLong((long)result);
18489 return resultobj;
18490 fail:
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18496 PyObject *resultobj;
18497 wxDateTime *arg1 = (wxDateTime *) 0 ;
18498 wxDateTime *arg2 = 0 ;
18499 bool result;
18500 PyObject * obj0 = 0 ;
18501 PyObject * obj1 = 0 ;
18502
18503 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18506 if (arg2 == NULL) {
18507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18508 }
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 resultobj = PyInt_FromLong((long)result);
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxDateTime *arg1 = (wxDateTime *) 0 ;
18526 wxString *arg2 = 0 ;
18527 int result;
18528 bool temp2 = False ;
18529 PyObject * obj0 = 0 ;
18530 PyObject * obj1 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self",(char *) "date", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18537 {
18538 arg2 = wxString_in_helper(obj1);
18539 if (arg2 == NULL) SWIG_fail;
18540 temp2 = True;
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 resultobj = PyInt_FromLong((long)result);
18550 {
18551 if (temp2)
18552 delete arg2;
18553 }
18554 return resultobj;
18555 fail:
18556 {
18557 if (temp2)
18558 delete arg2;
18559 }
18560 return NULL;
18561 }
18562
18563
18564 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18565 PyObject *resultobj;
18566 wxDateTime *arg1 = (wxDateTime *) 0 ;
18567 wxString *arg2 = 0 ;
18568 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18569 wxString *arg3 = (wxString *) &arg3_defvalue ;
18570 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18571 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18572 int result;
18573 bool temp2 = False ;
18574 bool temp3 = False ;
18575 PyObject * obj0 = 0 ;
18576 PyObject * obj1 = 0 ;
18577 PyObject * obj2 = 0 ;
18578 PyObject * obj3 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18585 {
18586 arg2 = wxString_in_helper(obj1);
18587 if (arg2 == NULL) SWIG_fail;
18588 temp2 = True;
18589 }
18590 if (obj2) {
18591 {
18592 arg3 = wxString_in_helper(obj2);
18593 if (arg3 == NULL) SWIG_fail;
18594 temp3 = True;
18595 }
18596 }
18597 if (obj3) {
18598 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18599 if (arg4 == NULL) {
18600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18601 }
18602 }
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 resultobj = PyInt_FromLong((long)result);
18611 {
18612 if (temp2)
18613 delete arg2;
18614 }
18615 {
18616 if (temp3)
18617 delete arg3;
18618 }
18619 return resultobj;
18620 fail:
18621 {
18622 if (temp2)
18623 delete arg2;
18624 }
18625 {
18626 if (temp3)
18627 delete arg3;
18628 }
18629 return NULL;
18630 }
18631
18632
18633 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18634 PyObject *resultobj;
18635 wxDateTime *arg1 = (wxDateTime *) 0 ;
18636 wxString *arg2 = 0 ;
18637 int result;
18638 bool temp2 = False ;
18639 PyObject * obj0 = 0 ;
18640 PyObject * obj1 = 0 ;
18641 char *kwnames[] = {
18642 (char *) "self",(char *) "datetime", NULL
18643 };
18644
18645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18647 {
18648 arg2 = wxString_in_helper(obj1);
18649 if (arg2 == NULL) SWIG_fail;
18650 temp2 = True;
18651 }
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 resultobj = PyInt_FromLong((long)result);
18660 {
18661 if (temp2)
18662 delete arg2;
18663 }
18664 return resultobj;
18665 fail:
18666 {
18667 if (temp2)
18668 delete arg2;
18669 }
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxDateTime *arg1 = (wxDateTime *) 0 ;
18677 wxString *arg2 = 0 ;
18678 int result;
18679 bool temp2 = False ;
18680 PyObject * obj0 = 0 ;
18681 PyObject * obj1 = 0 ;
18682 char *kwnames[] = {
18683 (char *) "self",(char *) "date", NULL
18684 };
18685
18686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18688 {
18689 arg2 = wxString_in_helper(obj1);
18690 if (arg2 == NULL) SWIG_fail;
18691 temp2 = True;
18692 }
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 resultobj = PyInt_FromLong((long)result);
18701 {
18702 if (temp2)
18703 delete arg2;
18704 }
18705 return resultobj;
18706 fail:
18707 {
18708 if (temp2)
18709 delete arg2;
18710 }
18711 return NULL;
18712 }
18713
18714
18715 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18716 PyObject *resultobj;
18717 wxDateTime *arg1 = (wxDateTime *) 0 ;
18718 wxString *arg2 = 0 ;
18719 int result;
18720 bool temp2 = False ;
18721 PyObject * obj0 = 0 ;
18722 PyObject * obj1 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self",(char *) "time", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18729 {
18730 arg2 = wxString_in_helper(obj1);
18731 if (arg2 == NULL) SWIG_fail;
18732 temp2 = True;
18733 }
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 resultobj = PyInt_FromLong((long)result);
18742 {
18743 if (temp2)
18744 delete arg2;
18745 }
18746 return resultobj;
18747 fail:
18748 {
18749 if (temp2)
18750 delete arg2;
18751 }
18752 return NULL;
18753 }
18754
18755
18756 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18757 PyObject *resultobj;
18758 wxDateTime *arg1 = (wxDateTime *) 0 ;
18759 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18760 wxString *arg2 = (wxString *) &arg2_defvalue ;
18761 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18762 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18763 wxString result;
18764 bool temp2 = False ;
18765 bool temp3 = False ;
18766 PyObject * obj0 = 0 ;
18767 PyObject * obj1 = 0 ;
18768 PyObject * obj2 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "self",(char *) "format",(char *) "tz", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
18774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18775 if (obj1) {
18776 {
18777 arg2 = wxString_in_helper(obj1);
18778 if (arg2 == NULL) SWIG_fail;
18779 temp2 = True;
18780 }
18781 }
18782 if (obj2) {
18783 {
18784 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
18785 temp3 = True;
18786 }
18787 }
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 {
18796 #if wxUSE_UNICODE
18797 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18798 #else
18799 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18800 #endif
18801 }
18802 {
18803 if (temp2)
18804 delete arg2;
18805 }
18806 {
18807 if (temp3) delete arg3;
18808 }
18809 return resultobj;
18810 fail:
18811 {
18812 if (temp2)
18813 delete arg2;
18814 }
18815 {
18816 if (temp3) delete arg3;
18817 }
18818 return NULL;
18819 }
18820
18821
18822 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxDateTime *arg1 = (wxDateTime *) 0 ;
18825 wxString result;
18826 PyObject * obj0 = 0 ;
18827 char *kwnames[] = {
18828 (char *) "self", NULL
18829 };
18830
18831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
18832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18833 {
18834 PyThreadState* __tstate = wxPyBeginAllowThreads();
18835 result = ((wxDateTime const *)arg1)->FormatDate();
18836
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 {
18841 #if wxUSE_UNICODE
18842 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18843 #else
18844 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18845 #endif
18846 }
18847 return resultobj;
18848 fail:
18849 return NULL;
18850 }
18851
18852
18853 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18854 PyObject *resultobj;
18855 wxDateTime *arg1 = (wxDateTime *) 0 ;
18856 wxString result;
18857 PyObject * obj0 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 result = ((wxDateTime const *)arg1)->FormatTime();
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 {
18872 #if wxUSE_UNICODE
18873 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18874 #else
18875 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18876 #endif
18877 }
18878 return resultobj;
18879 fail:
18880 return NULL;
18881 }
18882
18883
18884 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
18885 PyObject *resultobj;
18886 wxDateTime *arg1 = (wxDateTime *) 0 ;
18887 wxString result;
18888 PyObject * obj0 = 0 ;
18889 char *kwnames[] = {
18890 (char *) "self", NULL
18891 };
18892
18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
18894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 result = ((wxDateTime const *)arg1)->FormatISODate();
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 {
18903 #if wxUSE_UNICODE
18904 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18905 #else
18906 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18907 #endif
18908 }
18909 return resultobj;
18910 fail:
18911 return NULL;
18912 }
18913
18914
18915 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18916 PyObject *resultobj;
18917 wxDateTime *arg1 = (wxDateTime *) 0 ;
18918 wxString result;
18919 PyObject * obj0 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = ((wxDateTime const *)arg1)->FormatISOTime();
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 {
18934 #if wxUSE_UNICODE
18935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18936 #else
18937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18938 #endif
18939 }
18940 return resultobj;
18941 fail:
18942 return NULL;
18943 }
18944
18945
18946 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
18947 PyObject *obj;
18948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18949 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
18950 Py_INCREF(obj);
18951 return Py_BuildValue((char *)"");
18952 }
18953 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 long arg1 ;
18956 wxTimeSpan result;
18957 char *kwnames[] = {
18958 (char *) "sec", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
18962 {
18963 PyThreadState* __tstate = wxPyBeginAllowThreads();
18964 result = wxTimeSpan::Seconds(arg1);
18965
18966 wxPyEndAllowThreads(__tstate);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 {
18970 wxTimeSpan * resultptr;
18971 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18972 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18973 }
18974 return resultobj;
18975 fail:
18976 return NULL;
18977 }
18978
18979
18980 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
18981 PyObject *resultobj;
18982 wxTimeSpan result;
18983 char *kwnames[] = {
18984 NULL
18985 };
18986
18987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 result = wxTimeSpan::Second();
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 {
18996 wxTimeSpan * resultptr;
18997 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18998 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18999 }
19000 return resultobj;
19001 fail:
19002 return NULL;
19003 }
19004
19005
19006 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19007 PyObject *resultobj;
19008 long arg1 ;
19009 wxTimeSpan result;
19010 char *kwnames[] = {
19011 (char *) "min", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19015 {
19016 PyThreadState* __tstate = wxPyBeginAllowThreads();
19017 result = wxTimeSpan::Minutes(arg1);
19018
19019 wxPyEndAllowThreads(__tstate);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
19022 {
19023 wxTimeSpan * resultptr;
19024 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19025 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19026 }
19027 return resultobj;
19028 fail:
19029 return NULL;
19030 }
19031
19032
19033 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxTimeSpan result;
19036 char *kwnames[] = {
19037 NULL
19038 };
19039
19040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19041 {
19042 PyThreadState* __tstate = wxPyBeginAllowThreads();
19043 result = wxTimeSpan::Minute();
19044
19045 wxPyEndAllowThreads(__tstate);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 }
19048 {
19049 wxTimeSpan * resultptr;
19050 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19051 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19052 }
19053 return resultobj;
19054 fail:
19055 return NULL;
19056 }
19057
19058
19059 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19060 PyObject *resultobj;
19061 long arg1 ;
19062 wxTimeSpan result;
19063 char *kwnames[] = {
19064 (char *) "hours", NULL
19065 };
19066
19067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 result = wxTimeSpan::Hours(arg1);
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 {
19076 wxTimeSpan * resultptr;
19077 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19078 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19079 }
19080 return resultobj;
19081 fail:
19082 return NULL;
19083 }
19084
19085
19086 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19087 PyObject *resultobj;
19088 wxTimeSpan result;
19089 char *kwnames[] = {
19090 NULL
19091 };
19092
19093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 result = wxTimeSpan::Hour();
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 {
19102 wxTimeSpan * resultptr;
19103 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19104 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19105 }
19106 return resultobj;
19107 fail:
19108 return NULL;
19109 }
19110
19111
19112 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj;
19114 long arg1 ;
19115 wxTimeSpan result;
19116 char *kwnames[] = {
19117 (char *) "days", NULL
19118 };
19119
19120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 result = wxTimeSpan::Days(arg1);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 {
19129 wxTimeSpan * resultptr;
19130 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19131 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19132 }
19133 return resultobj;
19134 fail:
19135 return NULL;
19136 }
19137
19138
19139 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19140 PyObject *resultobj;
19141 wxTimeSpan result;
19142 char *kwnames[] = {
19143 NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19147 {
19148 PyThreadState* __tstate = wxPyBeginAllowThreads();
19149 result = wxTimeSpan::Day();
19150
19151 wxPyEndAllowThreads(__tstate);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 {
19155 wxTimeSpan * resultptr;
19156 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19158 }
19159 return resultobj;
19160 fail:
19161 return NULL;
19162 }
19163
19164
19165 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 long arg1 ;
19168 wxTimeSpan result;
19169 char *kwnames[] = {
19170 (char *) "days", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 result = wxTimeSpan::Weeks(arg1);
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 {
19182 wxTimeSpan * resultptr;
19183 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19184 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19185 }
19186 return resultobj;
19187 fail:
19188 return NULL;
19189 }
19190
19191
19192 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxTimeSpan result;
19195 char *kwnames[] = {
19196 NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 result = wxTimeSpan::Week();
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 {
19208 wxTimeSpan * resultptr;
19209 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19210 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19211 }
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19219 PyObject *resultobj;
19220 long arg1 = (long) 0 ;
19221 long arg2 = (long) 0 ;
19222 long arg3 = (long) 0 ;
19223 long arg4 = (long) 0 ;
19224 wxTimeSpan *result;
19225 char *kwnames[] = {
19226 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19238 return resultobj;
19239 fail:
19240 return NULL;
19241 }
19242
19243
19244 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19245 PyObject *resultobj;
19246 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19247 PyObject * obj0 = 0 ;
19248 char *kwnames[] = {
19249 (char *) "self", NULL
19250 };
19251
19252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 delete arg1;
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 Py_INCREF(Py_None); resultobj = Py_None;
19262 return resultobj;
19263 fail:
19264 return NULL;
19265 }
19266
19267
19268 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19269 PyObject *resultobj;
19270 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19271 wxTimeSpan *arg2 = 0 ;
19272 wxTimeSpan *result;
19273 PyObject * obj0 = 0 ;
19274 PyObject * obj1 = 0 ;
19275 char *kwnames[] = {
19276 (char *) "self",(char *) "diff", NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19281 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19282 if (arg2 == NULL) {
19283 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19284 }
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 {
19288 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19289 result = (wxTimeSpan *) &_result_ref;
19290 }
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19296 return resultobj;
19297 fail:
19298 return NULL;
19299 }
19300
19301
19302 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19303 PyObject *resultobj;
19304 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19305 wxTimeSpan *arg2 = 0 ;
19306 wxTimeSpan *result;
19307 PyObject * obj0 = 0 ;
19308 PyObject * obj1 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self",(char *) "diff", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19316 if (arg2 == NULL) {
19317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19318 }
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 {
19322 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19323 result = (wxTimeSpan *) &_result_ref;
19324 }
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
19329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19330 return resultobj;
19331 fail:
19332 return NULL;
19333 }
19334
19335
19336 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj;
19338 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19339 int arg2 ;
19340 wxTimeSpan *result;
19341 PyObject * obj0 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "n", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 {
19351 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19352 result = (wxTimeSpan *) &_result_ref;
19353 }
19354
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19359 return resultobj;
19360 fail:
19361 return NULL;
19362 }
19363
19364
19365 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj;
19367 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19368 wxTimeSpan *result;
19369 PyObject * obj0 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 {
19379 wxTimeSpan &_result_ref = (arg1)->Neg();
19380 result = (wxTimeSpan *) &_result_ref;
19381 }
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19387 return resultobj;
19388 fail:
19389 return NULL;
19390 }
19391
19392
19393 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19396 wxTimeSpan result;
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19404 {
19405 PyThreadState* __tstate = wxPyBeginAllowThreads();
19406 result = ((wxTimeSpan const *)arg1)->Abs();
19407
19408 wxPyEndAllowThreads(__tstate);
19409 if (PyErr_Occurred()) SWIG_fail;
19410 }
19411 {
19412 wxTimeSpan * resultptr;
19413 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19414 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19415 }
19416 return resultobj;
19417 fail:
19418 return NULL;
19419 }
19420
19421
19422 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19423 PyObject *resultobj;
19424 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19425 wxTimeSpan *arg2 = 0 ;
19426 wxTimeSpan *result;
19427 PyObject * obj0 = 0 ;
19428 PyObject * obj1 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self",(char *) "diff", NULL
19431 };
19432
19433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 if (arg2 == NULL) {
19437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19438 }
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 {
19442 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19443 result = (wxTimeSpan *) &_result_ref;
19444 }
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19450 return resultobj;
19451 fail:
19452 return NULL;
19453 }
19454
19455
19456 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19457 PyObject *resultobj;
19458 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19459 wxTimeSpan *arg2 = 0 ;
19460 wxTimeSpan *result;
19461 PyObject * obj0 = 0 ;
19462 PyObject * obj1 = 0 ;
19463 char *kwnames[] = {
19464 (char *) "self",(char *) "diff", NULL
19465 };
19466
19467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19470 if (arg2 == NULL) {
19471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19472 }
19473 {
19474 PyThreadState* __tstate = wxPyBeginAllowThreads();
19475 {
19476 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19477 result = (wxTimeSpan *) &_result_ref;
19478 }
19479
19480 wxPyEndAllowThreads(__tstate);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19484 return resultobj;
19485 fail:
19486 return NULL;
19487 }
19488
19489
19490 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19493 int arg2 ;
19494 wxTimeSpan *result;
19495 PyObject * obj0 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self",(char *) "n", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 {
19505 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19506 result = (wxTimeSpan *) &_result_ref;
19507 }
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19522 wxTimeSpan *result;
19523 PyObject * obj0 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19530 {
19531 PyThreadState* __tstate = wxPyBeginAllowThreads();
19532 {
19533 wxTimeSpan &_result_ref = (arg1)->operator -();
19534 result = (wxTimeSpan *) &_result_ref;
19535 }
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19550 wxTimeSpan *arg2 = 0 ;
19551 wxTimeSpan result;
19552 PyObject * obj0 = 0 ;
19553 PyObject * obj1 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self",(char *) "other", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 if (arg2 == NULL) {
19562 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19563 }
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 {
19572 wxTimeSpan * resultptr;
19573 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19574 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19575 }
19576 return resultobj;
19577 fail:
19578 return NULL;
19579 }
19580
19581
19582 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19585 wxTimeSpan *arg2 = 0 ;
19586 wxTimeSpan result;
19587 PyObject * obj0 = 0 ;
19588 PyObject * obj1 = 0 ;
19589 char *kwnames[] = {
19590 (char *) "self",(char *) "other", NULL
19591 };
19592
19593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19596 if (arg2 == NULL) {
19597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19598 }
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19602
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 {
19607 wxTimeSpan * resultptr;
19608 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19609 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19610 }
19611 return resultobj;
19612 fail:
19613 return NULL;
19614 }
19615
19616
19617 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19618 PyObject *resultobj;
19619 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19620 int arg2 ;
19621 wxTimeSpan result;
19622 PyObject * obj0 = 0 ;
19623 char *kwnames[] = {
19624 (char *) "self",(char *) "n", NULL
19625 };
19626
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19629 {
19630 PyThreadState* __tstate = wxPyBeginAllowThreads();
19631 result = wxTimeSpan___mul__(arg1,arg2);
19632
19633 wxPyEndAllowThreads(__tstate);
19634 if (PyErr_Occurred()) SWIG_fail;
19635 }
19636 {
19637 wxTimeSpan * resultptr;
19638 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19639 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19640 }
19641 return resultobj;
19642 fail:
19643 return NULL;
19644 }
19645
19646
19647 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19648 PyObject *resultobj;
19649 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19650 int arg2 ;
19651 wxTimeSpan result;
19652 PyObject * obj0 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self",(char *) "n", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 result = wxTimeSpan___rmul__(arg1,arg2);
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 {
19667 wxTimeSpan * resultptr;
19668 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19670 }
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19680 wxTimeSpan *arg2 = 0 ;
19681 bool result;
19682 PyObject * obj0 = 0 ;
19683 PyObject * obj1 = 0 ;
19684 char *kwnames[] = {
19685 (char *) "self",(char *) "other", NULL
19686 };
19687
19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19691 if (arg2 == NULL) {
19692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19693 }
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19697
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 resultobj = PyInt_FromLong((long)result);
19702 return resultobj;
19703 fail:
19704 return NULL;
19705 }
19706
19707
19708 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19709 PyObject *resultobj;
19710 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19711 wxTimeSpan *arg2 = 0 ;
19712 bool result;
19713 PyObject * obj0 = 0 ;
19714 PyObject * obj1 = 0 ;
19715 char *kwnames[] = {
19716 (char *) "self",(char *) "other", NULL
19717 };
19718
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19722 if (arg2 == NULL) {
19723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19724 }
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 resultobj = PyInt_FromLong((long)result);
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19742 wxTimeSpan *arg2 = 0 ;
19743 bool result;
19744 PyObject * obj0 = 0 ;
19745 PyObject * obj1 = 0 ;
19746 char *kwnames[] = {
19747 (char *) "self",(char *) "other", NULL
19748 };
19749
19750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19753 if (arg2 == NULL) {
19754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19755 }
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 resultobj = PyInt_FromLong((long)result);
19764 return resultobj;
19765 fail:
19766 return NULL;
19767 }
19768
19769
19770 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
19771 PyObject *resultobj;
19772 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19773 wxTimeSpan *arg2 = 0 ;
19774 bool result;
19775 PyObject * obj0 = 0 ;
19776 PyObject * obj1 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self",(char *) "other", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19784 if (arg2 == NULL) {
19785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19786 }
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 resultobj = PyInt_FromLong((long)result);
19795 return resultobj;
19796 fail:
19797 return NULL;
19798 }
19799
19800
19801 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj;
19803 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19804 wxTimeSpan *arg2 = 0 ;
19805 bool result;
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self",(char *) "other", NULL
19810 };
19811
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
19813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19815 if (arg2 == NULL) {
19816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19817 }
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
19821
19822 wxPyEndAllowThreads(__tstate);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 }
19825 resultobj = PyInt_FromLong((long)result);
19826 return resultobj;
19827 fail:
19828 return NULL;
19829 }
19830
19831
19832 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19833 PyObject *resultobj;
19834 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19835 wxTimeSpan *arg2 = 0 ;
19836 bool result;
19837 PyObject * obj0 = 0 ;
19838 PyObject * obj1 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self",(char *) "other", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
19844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19846 if (arg2 == NULL) {
19847 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19848 }
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
19852
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 resultobj = PyInt_FromLong((long)result);
19857 return resultobj;
19858 fail:
19859 return NULL;
19860 }
19861
19862
19863 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj;
19865 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19866 bool result;
19867 PyObject * obj0 = 0 ;
19868 char *kwnames[] = {
19869 (char *) "self", NULL
19870 };
19871
19872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
19873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19874 {
19875 PyThreadState* __tstate = wxPyBeginAllowThreads();
19876 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
19877
19878 wxPyEndAllowThreads(__tstate);
19879 if (PyErr_Occurred()) SWIG_fail;
19880 }
19881 resultobj = PyInt_FromLong((long)result);
19882 return resultobj;
19883 fail:
19884 return NULL;
19885 }
19886
19887
19888 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
19889 PyObject *resultobj;
19890 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19891 bool result;
19892 PyObject * obj0 = 0 ;
19893 char *kwnames[] = {
19894 (char *) "self", NULL
19895 };
19896
19897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
19898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 resultobj = PyInt_FromLong((long)result);
19907 return resultobj;
19908 fail:
19909 return NULL;
19910 }
19911
19912
19913 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
19914 PyObject *resultobj;
19915 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19916 bool result;
19917 PyObject * obj0 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
19923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
19927
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 resultobj = PyInt_FromLong((long)result);
19932 return resultobj;
19933 fail:
19934 return NULL;
19935 }
19936
19937
19938 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19939 PyObject *resultobj;
19940 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19941 wxTimeSpan *arg2 = 0 ;
19942 bool result;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 char *kwnames[] = {
19946 (char *) "self",(char *) "ts", NULL
19947 };
19948
19949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19952 if (arg2 == NULL) {
19953 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19954 }
19955 {
19956 PyThreadState* __tstate = wxPyBeginAllowThreads();
19957 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
19958
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 resultobj = PyInt_FromLong((long)result);
19963 return resultobj;
19964 fail:
19965 return NULL;
19966 }
19967
19968
19969 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19970 PyObject *resultobj;
19971 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19972 wxTimeSpan *arg2 = 0 ;
19973 bool result;
19974 PyObject * obj0 = 0 ;
19975 PyObject * obj1 = 0 ;
19976 char *kwnames[] = {
19977 (char *) "self",(char *) "ts", NULL
19978 };
19979
19980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
19981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19982 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19983 if (arg2 == NULL) {
19984 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19985 }
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
19989
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
19993 resultobj = PyInt_FromLong((long)result);
19994 return resultobj;
19995 fail:
19996 return NULL;
19997 }
19998
19999
20000 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20001 PyObject *resultobj;
20002 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20003 wxTimeSpan *arg2 = 0 ;
20004 bool result;
20005 PyObject * obj0 = 0 ;
20006 PyObject * obj1 = 0 ;
20007 char *kwnames[] = {
20008 (char *) "self",(char *) "t", NULL
20009 };
20010
20011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20014 if (arg2 == NULL) {
20015 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20016 }
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20020
20021 wxPyEndAllowThreads(__tstate);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
20024 resultobj = PyInt_FromLong((long)result);
20025 return resultobj;
20026 fail:
20027 return NULL;
20028 }
20029
20030
20031 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj;
20033 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20034 int result;
20035 PyObject * obj0 = 0 ;
20036 char *kwnames[] = {
20037 (char *) "self", NULL
20038 };
20039
20040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 resultobj = PyInt_FromLong((long)result);
20050 return resultobj;
20051 fail:
20052 return NULL;
20053 }
20054
20055
20056 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20059 int result;
20060 PyObject * obj0 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20067 {
20068 PyThreadState* __tstate = wxPyBeginAllowThreads();
20069 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20070
20071 wxPyEndAllowThreads(__tstate);
20072 if (PyErr_Occurred()) SWIG_fail;
20073 }
20074 resultobj = PyInt_FromLong((long)result);
20075 return resultobj;
20076 fail:
20077 return NULL;
20078 }
20079
20080
20081 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20082 PyObject *resultobj;
20083 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20084 int result;
20085 PyObject * obj0 = 0 ;
20086 char *kwnames[] = {
20087 (char *) "self", NULL
20088 };
20089
20090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20095
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = PyInt_FromLong((long)result);
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20109 int result;
20110 PyObject * obj0 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 resultobj = PyInt_FromLong((long)result);
20125 return resultobj;
20126 fail:
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20134 wxLongLong result;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 {
20150 PyObject *hi, *lo, *shifter, *shifted;
20151 hi = PyLong_FromLong( (&result)->GetHi() );
20152 lo = PyLong_FromLong( (&result)->GetLo() );
20153 shifter = PyLong_FromLong(32);
20154 shifted = PyNumber_Lshift(hi, shifter);
20155 resultobj = PyNumber_Or(shifted, lo);
20156 Py_DECREF(hi);
20157 Py_DECREF(lo);
20158 Py_DECREF(shifter);
20159 Py_DECREF(shifted);
20160 }
20161 return resultobj;
20162 fail:
20163 return NULL;
20164 }
20165
20166
20167 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20168 PyObject *resultobj;
20169 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20170 wxLongLong result;
20171 PyObject * obj0 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 {
20186 PyObject *hi, *lo, *shifter, *shifted;
20187 hi = PyLong_FromLong( (&result)->GetHi() );
20188 lo = PyLong_FromLong( (&result)->GetLo() );
20189 shifter = PyLong_FromLong(32);
20190 shifted = PyNumber_Lshift(hi, shifter);
20191 resultobj = PyNumber_Or(shifted, lo);
20192 Py_DECREF(hi);
20193 Py_DECREF(lo);
20194 Py_DECREF(shifter);
20195 Py_DECREF(shifted);
20196 }
20197 return resultobj;
20198 fail:
20199 return NULL;
20200 }
20201
20202
20203 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj;
20205 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20206 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20207 wxString *arg2 = (wxString *) &arg2_defvalue ;
20208 wxString result;
20209 bool temp2 = False ;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "format", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20218 if (obj1) {
20219 {
20220 arg2 = wxString_in_helper(obj1);
20221 if (arg2 == NULL) SWIG_fail;
20222 temp2 = True;
20223 }
20224 }
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20228
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 {
20233 #if wxUSE_UNICODE
20234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20235 #else
20236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20237 #endif
20238 }
20239 {
20240 if (temp2)
20241 delete arg2;
20242 }
20243 return resultobj;
20244 fail:
20245 {
20246 if (temp2)
20247 delete arg2;
20248 }
20249 return NULL;
20250 }
20251
20252
20253 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20254 PyObject *obj;
20255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20256 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20257 Py_INCREF(obj);
20258 return Py_BuildValue((char *)"");
20259 }
20260 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 int arg1 = (int) 0 ;
20263 int arg2 = (int) 0 ;
20264 int arg3 = (int) 0 ;
20265 int arg4 = (int) 0 ;
20266 wxDateSpan *result;
20267 char *kwnames[] = {
20268 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20269 };
20270
20271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20289 PyObject * obj0 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 delete arg1;
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 Py_INCREF(Py_None); resultobj = Py_None;
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 int arg1 ;
20313 wxDateSpan result;
20314 char *kwnames[] = {
20315 (char *) "days", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20319 {
20320 PyThreadState* __tstate = wxPyBeginAllowThreads();
20321 result = wxDateSpan::Days(arg1);
20322
20323 wxPyEndAllowThreads(__tstate);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 }
20326 {
20327 wxDateSpan * resultptr;
20328 resultptr = new wxDateSpan((wxDateSpan &) result);
20329 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20330 }
20331 return resultobj;
20332 fail:
20333 return NULL;
20334 }
20335
20336
20337 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20338 PyObject *resultobj;
20339 wxDateSpan result;
20340 char *kwnames[] = {
20341 NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = wxDateSpan::Day();
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 {
20353 wxDateSpan * resultptr;
20354 resultptr = new wxDateSpan((wxDateSpan &) result);
20355 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20356 }
20357 return resultobj;
20358 fail:
20359 return NULL;
20360 }
20361
20362
20363 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20364 PyObject *resultobj;
20365 int arg1 ;
20366 wxDateSpan result;
20367 char *kwnames[] = {
20368 (char *) "weeks", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20372 {
20373 PyThreadState* __tstate = wxPyBeginAllowThreads();
20374 result = wxDateSpan::Weeks(arg1);
20375
20376 wxPyEndAllowThreads(__tstate);
20377 if (PyErr_Occurred()) SWIG_fail;
20378 }
20379 {
20380 wxDateSpan * resultptr;
20381 resultptr = new wxDateSpan((wxDateSpan &) result);
20382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20383 }
20384 return resultobj;
20385 fail:
20386 return NULL;
20387 }
20388
20389
20390 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxDateSpan result;
20393 char *kwnames[] = {
20394 NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 result = wxDateSpan::Week();
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 {
20406 wxDateSpan * resultptr;
20407 resultptr = new wxDateSpan((wxDateSpan &) result);
20408 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20409 }
20410 return resultobj;
20411 fail:
20412 return NULL;
20413 }
20414
20415
20416 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj;
20418 int arg1 ;
20419 wxDateSpan result;
20420 char *kwnames[] = {
20421 (char *) "mon", NULL
20422 };
20423
20424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = wxDateSpan::Months(arg1);
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 wxDateSpan * resultptr;
20434 resultptr = new wxDateSpan((wxDateSpan &) result);
20435 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20436 }
20437 return resultobj;
20438 fail:
20439 return NULL;
20440 }
20441
20442
20443 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20444 PyObject *resultobj;
20445 wxDateSpan result;
20446 char *kwnames[] = {
20447 NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = wxDateSpan::Month();
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 {
20459 wxDateSpan * resultptr;
20460 resultptr = new wxDateSpan((wxDateSpan &) result);
20461 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20462 }
20463 return resultobj;
20464 fail:
20465 return NULL;
20466 }
20467
20468
20469 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 int arg1 ;
20472 wxDateSpan result;
20473 char *kwnames[] = {
20474 (char *) "years", NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = wxDateSpan::Years(arg1);
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 {
20486 wxDateSpan * resultptr;
20487 resultptr = new wxDateSpan((wxDateSpan &) result);
20488 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20489 }
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 wxDateSpan result;
20499 char *kwnames[] = {
20500 NULL
20501 };
20502
20503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 result = wxDateSpan::Year();
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 {
20512 wxDateSpan * resultptr;
20513 resultptr = new wxDateSpan((wxDateSpan &) result);
20514 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20515 }
20516 return resultobj;
20517 fail:
20518 return NULL;
20519 }
20520
20521
20522 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20523 PyObject *resultobj;
20524 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20525 int arg2 ;
20526 wxDateSpan *result;
20527 PyObject * obj0 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self",(char *) "n", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 {
20537 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20538 result = (wxDateSpan *) &_result_ref;
20539 }
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj;
20553 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20554 int arg2 ;
20555 wxDateSpan *result;
20556 PyObject * obj0 = 0 ;
20557 char *kwnames[] = {
20558 (char *) "self",(char *) "n", NULL
20559 };
20560
20561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 {
20566 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20567 result = (wxDateSpan *) &_result_ref;
20568 }
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20574 return resultobj;
20575 fail:
20576 return NULL;
20577 }
20578
20579
20580 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj;
20582 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20583 int arg2 ;
20584 wxDateSpan *result;
20585 PyObject * obj0 = 0 ;
20586 char *kwnames[] = {
20587 (char *) "self",(char *) "n", NULL
20588 };
20589
20590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 {
20595 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20596 result = (wxDateSpan *) &_result_ref;
20597 }
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20603 return resultobj;
20604 fail:
20605 return NULL;
20606 }
20607
20608
20609 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20610 PyObject *resultobj;
20611 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20612 int arg2 ;
20613 wxDateSpan *result;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self",(char *) "n", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 {
20624 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20625 result = (wxDateSpan *) &_result_ref;
20626 }
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20641 int result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 result = (int)((wxDateSpan const *)arg1)->GetYears();
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 resultobj = PyInt_FromLong((long)result);
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20666 int result;
20667 PyObject * obj0 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 resultobj = PyInt_FromLong((long)result);
20682 return resultobj;
20683 fail:
20684 return NULL;
20685 }
20686
20687
20688 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20689 PyObject *resultobj;
20690 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20691 int result;
20692 PyObject * obj0 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 resultobj = PyInt_FromLong((long)result);
20707 return resultobj;
20708 fail:
20709 return NULL;
20710 }
20711
20712
20713 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20716 int result;
20717 PyObject * obj0 = 0 ;
20718 char *kwnames[] = {
20719 (char *) "self", NULL
20720 };
20721
20722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20724 {
20725 PyThreadState* __tstate = wxPyBeginAllowThreads();
20726 result = (int)((wxDateSpan const *)arg1)->GetDays();
20727
20728 wxPyEndAllowThreads(__tstate);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 }
20731 resultobj = PyInt_FromLong((long)result);
20732 return resultobj;
20733 fail:
20734 return NULL;
20735 }
20736
20737
20738 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj;
20740 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20741 int result;
20742 PyObject * obj0 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "self", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 resultobj = PyInt_FromLong((long)result);
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20764 PyObject *resultobj;
20765 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20766 wxDateSpan *arg2 = 0 ;
20767 wxDateSpan *result;
20768 PyObject * obj0 = 0 ;
20769 PyObject * obj1 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self",(char *) "other", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20777 if (arg2 == NULL) {
20778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20779 }
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 {
20783 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20784 result = (wxDateSpan *) &_result_ref;
20785 }
20786
20787 wxPyEndAllowThreads(__tstate);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 }
20790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20791 return resultobj;
20792 fail:
20793 return NULL;
20794 }
20795
20796
20797 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20798 PyObject *resultobj;
20799 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20800 wxDateSpan *arg2 = 0 ;
20801 wxDateSpan *result;
20802 PyObject * obj0 = 0 ;
20803 PyObject * obj1 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self",(char *) "other", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20811 if (arg2 == NULL) {
20812 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20813 }
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 {
20817 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20818 result = (wxDateSpan *) &_result_ref;
20819 }
20820
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20825 return resultobj;
20826 fail:
20827 return NULL;
20828 }
20829
20830
20831 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
20832 PyObject *resultobj;
20833 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20834 wxDateSpan *result;
20835 PyObject * obj0 = 0 ;
20836 char *kwnames[] = {
20837 (char *) "self", NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
20841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 {
20845 wxDateSpan &_result_ref = (arg1)->Neg();
20846 result = (wxDateSpan *) &_result_ref;
20847 }
20848
20849 wxPyEndAllowThreads(__tstate);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 }
20852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20853 return resultobj;
20854 fail:
20855 return NULL;
20856 }
20857
20858
20859 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20862 int arg2 ;
20863 wxDateSpan *result;
20864 PyObject * obj0 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self",(char *) "factor", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 {
20874 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
20875 result = (wxDateSpan *) &_result_ref;
20876 }
20877
20878 wxPyEndAllowThreads(__tstate);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 }
20881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20882 return resultobj;
20883 fail:
20884 return NULL;
20885 }
20886
20887
20888 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
20889 PyObject *resultobj;
20890 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20891 wxDateSpan *arg2 = 0 ;
20892 wxDateSpan *result;
20893 PyObject * obj0 = 0 ;
20894 PyObject * obj1 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self",(char *) "other", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
20900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20902 if (arg2 == NULL) {
20903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20904 }
20905 {
20906 PyThreadState* __tstate = wxPyBeginAllowThreads();
20907 {
20908 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20909 result = (wxDateSpan *) &_result_ref;
20910 }
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20916 return resultobj;
20917 fail:
20918 return NULL;
20919 }
20920
20921
20922 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
20923 PyObject *resultobj;
20924 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20925 wxDateSpan *arg2 = 0 ;
20926 wxDateSpan *result;
20927 PyObject * obj0 = 0 ;
20928 PyObject * obj1 = 0 ;
20929 char *kwnames[] = {
20930 (char *) "self",(char *) "other", NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
20934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20936 if (arg2 == NULL) {
20937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20938 }
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 {
20942 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20943 result = (wxDateSpan *) &_result_ref;
20944 }
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20950 return resultobj;
20951 fail:
20952 return NULL;
20953 }
20954
20955
20956 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
20957 PyObject *resultobj;
20958 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20959 wxDateSpan *result;
20960 PyObject * obj0 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "self", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
20966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 {
20970 wxDateSpan &_result_ref = (arg1)->operator -();
20971 result = (wxDateSpan *) &_result_ref;
20972 }
20973
20974 wxPyEndAllowThreads(__tstate);
20975 if (PyErr_Occurred()) SWIG_fail;
20976 }
20977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20978 return resultobj;
20979 fail:
20980 return NULL;
20981 }
20982
20983
20984 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
20985 PyObject *resultobj;
20986 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20987 int arg2 ;
20988 wxDateSpan *result;
20989 PyObject * obj0 = 0 ;
20990 char *kwnames[] = {
20991 (char *) "self",(char *) "factor", NULL
20992 };
20993
20994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
20995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 {
20999 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21000 result = (wxDateSpan *) &_result_ref;
21001 }
21002
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21007 return resultobj;
21008 fail:
21009 return NULL;
21010 }
21011
21012
21013 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj;
21015 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21016 wxDateSpan *arg2 = 0 ;
21017 wxDateSpan result;
21018 PyObject * obj0 = 0 ;
21019 PyObject * obj1 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self",(char *) "other", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21027 if (arg2 == NULL) {
21028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21029 }
21030 {
21031 PyThreadState* __tstate = wxPyBeginAllowThreads();
21032 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21033
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
21037 {
21038 wxDateSpan * resultptr;
21039 resultptr = new wxDateSpan((wxDateSpan &) result);
21040 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21041 }
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21051 wxDateSpan *arg2 = 0 ;
21052 wxDateSpan result;
21053 PyObject * obj0 = 0 ;
21054 PyObject * obj1 = 0 ;
21055 char *kwnames[] = {
21056 (char *) "self",(char *) "other", NULL
21057 };
21058
21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 if (arg2 == NULL) {
21063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21064 }
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 {
21073 wxDateSpan * resultptr;
21074 resultptr = new wxDateSpan((wxDateSpan &) result);
21075 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21076 }
21077 return resultobj;
21078 fail:
21079 return NULL;
21080 }
21081
21082
21083 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21086 int arg2 ;
21087 wxDateSpan result;
21088 PyObject * obj0 = 0 ;
21089 char *kwnames[] = {
21090 (char *) "self",(char *) "n", NULL
21091 };
21092
21093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 result = wxDateSpan___mul__(arg1,arg2);
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 {
21103 wxDateSpan * resultptr;
21104 resultptr = new wxDateSpan((wxDateSpan &) result);
21105 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21106 }
21107 return resultobj;
21108 fail:
21109 return NULL;
21110 }
21111
21112
21113 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21114 PyObject *resultobj;
21115 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21116 int arg2 ;
21117 wxDateSpan result;
21118 PyObject * obj0 = 0 ;
21119 char *kwnames[] = {
21120 (char *) "self",(char *) "n", NULL
21121 };
21122
21123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 result = wxDateSpan___rmul__(arg1,arg2);
21128
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
21132 {
21133 wxDateSpan * resultptr;
21134 resultptr = new wxDateSpan((wxDateSpan &) result);
21135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21136 }
21137 return resultobj;
21138 fail:
21139 return NULL;
21140 }
21141
21142
21143 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21144 PyObject *resultobj;
21145 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21146 wxDateSpan *arg2 = 0 ;
21147 bool result;
21148 PyObject * obj0 = 0 ;
21149 PyObject * obj1 = 0 ;
21150 char *kwnames[] = {
21151 (char *) "self",(char *) "other", NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21157 if (arg2 == NULL) {
21158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21159 }
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 resultobj = PyInt_FromLong((long)result);
21168 return resultobj;
21169 fail:
21170 return NULL;
21171 }
21172
21173
21174 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21175 PyObject *resultobj;
21176 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21177 wxDateSpan *arg2 = 0 ;
21178 bool result;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self",(char *) "other", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21188 if (arg2 == NULL) {
21189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21190 }
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 resultobj = PyInt_FromLong((long)result);
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21206 PyObject *obj;
21207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21208 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21209 Py_INCREF(obj);
21210 return Py_BuildValue((char *)"");
21211 }
21212 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21213 PyObject *resultobj;
21214 long result;
21215 char *kwnames[] = {
21216 NULL
21217 };
21218
21219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 result = (long)wxGetLocalTime();
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 resultobj = PyInt_FromLong((long)result);
21228 return resultobj;
21229 fail:
21230 return NULL;
21231 }
21232
21233
21234 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj;
21236 long result;
21237 char *kwnames[] = {
21238 NULL
21239 };
21240
21241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 result = (long)wxGetUTCTime();
21245
21246 wxPyEndAllowThreads(__tstate);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 resultobj = PyInt_FromLong((long)result);
21250 return resultobj;
21251 fail:
21252 return NULL;
21253 }
21254
21255
21256 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21257 PyObject *resultobj;
21258 long result;
21259 char *kwnames[] = {
21260 NULL
21261 };
21262
21263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 result = (long)wxGetCurrentTime();
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 resultobj = PyInt_FromLong((long)result);
21272 return resultobj;
21273 fail:
21274 return NULL;
21275 }
21276
21277
21278 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21279 PyObject *resultobj;
21280 wxLongLong result;
21281 char *kwnames[] = {
21282 NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 result = wxGetLocalTimeMillis();
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 {
21294 PyObject *hi, *lo, *shifter, *shifted;
21295 hi = PyLong_FromLong( (&result)->GetHi() );
21296 lo = PyLong_FromLong( (&result)->GetLo() );
21297 shifter = PyLong_FromLong(32);
21298 shifted = PyNumber_Lshift(hi, shifter);
21299 resultobj = PyNumber_Or(shifted, lo);
21300 Py_DECREF(hi);
21301 Py_DECREF(lo);
21302 Py_DECREF(shifter);
21303 Py_DECREF(shifted);
21304 }
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 int arg1 ;
21314 wxDataFormat *result;
21315 char *kwnames[] = {
21316 (char *) "type", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21328 return resultobj;
21329 fail:
21330 return NULL;
21331 }
21332
21333
21334 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21335 PyObject *resultobj;
21336 wxString *arg1 = 0 ;
21337 wxDataFormat *result;
21338 bool temp1 = False ;
21339 PyObject * obj0 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "format", NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21345 {
21346 arg1 = wxString_in_helper(obj0);
21347 if (arg1 == NULL) SWIG_fail;
21348 temp1 = True;
21349 }
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21358 {
21359 if (temp1)
21360 delete arg1;
21361 }
21362 return resultobj;
21363 fail:
21364 {
21365 if (temp1)
21366 delete arg1;
21367 }
21368 return NULL;
21369 }
21370
21371
21372 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21373 PyObject *resultobj;
21374 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21375 PyObject * obj0 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 delete arg1;
21385
21386 wxPyEndAllowThreads(__tstate);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 }
21389 Py_INCREF(Py_None); resultobj = Py_None;
21390 return resultobj;
21391 fail:
21392 return NULL;
21393 }
21394
21395
21396 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21397 PyObject *resultobj;
21398 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21399 int arg2 ;
21400 bool result;
21401 PyObject * obj0 = 0 ;
21402
21403 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21405 {
21406 PyThreadState* __tstate = wxPyBeginAllowThreads();
21407 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21408
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 resultobj = PyInt_FromLong((long)result);
21413 return resultobj;
21414 fail:
21415 return NULL;
21416 }
21417
21418
21419 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21420 PyObject *resultobj;
21421 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21422 int arg2 ;
21423 bool result;
21424 PyObject * obj0 = 0 ;
21425
21426 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 resultobj = PyInt_FromLong((long)result);
21436 return resultobj;
21437 fail:
21438 return NULL;
21439 }
21440
21441
21442 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21443 PyObject *resultobj;
21444 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21445 wxDataFormat *arg2 = 0 ;
21446 bool result;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449
21450 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21453 if (arg2 == NULL) {
21454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21455 }
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 resultobj = PyInt_FromLong((long)result);
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21471 int argc;
21472 PyObject *argv[3];
21473 int ii;
21474
21475 argc = PyObject_Length(args);
21476 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21477 argv[ii] = PyTuple_GetItem(args,ii);
21478 }
21479 if (argc == 2) {
21480 int _v;
21481 {
21482 void *ptr;
21483 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21484 _v = 0;
21485 PyErr_Clear();
21486 } else {
21487 _v = 1;
21488 }
21489 }
21490 if (_v) {
21491 {
21492 void *ptr;
21493 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21494 _v = 0;
21495 PyErr_Clear();
21496 } else {
21497 _v = 1;
21498 }
21499 }
21500 if (_v) {
21501 return _wrap_DataFormat___eq____SWIG_1(self,args);
21502 }
21503 }
21504 }
21505 if (argc == 2) {
21506 int _v;
21507 {
21508 void *ptr;
21509 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21510 _v = 0;
21511 PyErr_Clear();
21512 } else {
21513 _v = 1;
21514 }
21515 }
21516 if (_v) {
21517 {
21518 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21519 }
21520 if (_v) {
21521 return _wrap_DataFormat___eq____SWIG_0(self,args);
21522 }
21523 }
21524 }
21525
21526 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21527 return NULL;
21528 }
21529
21530
21531 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21532 PyObject *resultobj;
21533 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21534 wxDataFormat *arg2 = 0 ;
21535 bool result;
21536 PyObject * obj0 = 0 ;
21537 PyObject * obj1 = 0 ;
21538
21539 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21542 if (arg2 == NULL) {
21543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21544 }
21545 {
21546 PyThreadState* __tstate = wxPyBeginAllowThreads();
21547 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21548
21549 wxPyEndAllowThreads(__tstate);
21550 if (PyErr_Occurred()) SWIG_fail;
21551 }
21552 resultobj = PyInt_FromLong((long)result);
21553 return resultobj;
21554 fail:
21555 return NULL;
21556 }
21557
21558
21559 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21560 int argc;
21561 PyObject *argv[3];
21562 int ii;
21563
21564 argc = PyObject_Length(args);
21565 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21566 argv[ii] = PyTuple_GetItem(args,ii);
21567 }
21568 if (argc == 2) {
21569 int _v;
21570 {
21571 void *ptr;
21572 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21573 _v = 0;
21574 PyErr_Clear();
21575 } else {
21576 _v = 1;
21577 }
21578 }
21579 if (_v) {
21580 {
21581 void *ptr;
21582 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21583 _v = 0;
21584 PyErr_Clear();
21585 } else {
21586 _v = 1;
21587 }
21588 }
21589 if (_v) {
21590 return _wrap_DataFormat___ne____SWIG_1(self,args);
21591 }
21592 }
21593 }
21594 if (argc == 2) {
21595 int _v;
21596 {
21597 void *ptr;
21598 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21599 _v = 0;
21600 PyErr_Clear();
21601 } else {
21602 _v = 1;
21603 }
21604 }
21605 if (_v) {
21606 {
21607 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21608 }
21609 if (_v) {
21610 return _wrap_DataFormat___ne____SWIG_0(self,args);
21611 }
21612 }
21613 }
21614
21615 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21616 return NULL;
21617 }
21618
21619
21620 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21621 PyObject *resultobj;
21622 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21623 int arg2 ;
21624 PyObject * obj0 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "self",(char *) "format", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21631 {
21632 PyThreadState* __tstate = wxPyBeginAllowThreads();
21633 (arg1)->SetType((wxDataFormatId )arg2);
21634
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 Py_INCREF(Py_None); resultobj = Py_None;
21639 return resultobj;
21640 fail:
21641 return NULL;
21642 }
21643
21644
21645 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21646 PyObject *resultobj;
21647 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21648 int result;
21649 PyObject * obj0 = 0 ;
21650 char *kwnames[] = {
21651 (char *) "self", NULL
21652 };
21653
21654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 result = (int)((wxDataFormat const *)arg1)->GetType();
21659
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 resultobj = PyInt_FromLong((long)result);
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj;
21672 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21673 wxString result;
21674 PyObject * obj0 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = ((wxDataFormat const *)arg1)->GetId();
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 {
21689 #if wxUSE_UNICODE
21690 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21691 #else
21692 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21693 #endif
21694 }
21695 return resultobj;
21696 fail:
21697 return NULL;
21698 }
21699
21700
21701 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21702 PyObject *resultobj;
21703 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21704 wxString *arg2 = 0 ;
21705 bool temp2 = False ;
21706 PyObject * obj0 = 0 ;
21707 PyObject * obj1 = 0 ;
21708 char *kwnames[] = {
21709 (char *) "self",(char *) "format", NULL
21710 };
21711
21712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21714 {
21715 arg2 = wxString_in_helper(obj1);
21716 if (arg2 == NULL) SWIG_fail;
21717 temp2 = True;
21718 }
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 (arg1)->SetId((wxString const &)*arg2);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 Py_INCREF(Py_None); resultobj = Py_None;
21727 {
21728 if (temp2)
21729 delete arg2;
21730 }
21731 return resultobj;
21732 fail:
21733 {
21734 if (temp2)
21735 delete arg2;
21736 }
21737 return NULL;
21738 }
21739
21740
21741 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21742 PyObject *obj;
21743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21744 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21745 Py_INCREF(obj);
21746 return Py_BuildValue((char *)"");
21747 }
21748 static int _wrap_FormatInvalid_set(PyObject *_val) {
21749 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21750 return 1;
21751 }
21752
21753
21754 static PyObject *_wrap_FormatInvalid_get() {
21755 PyObject *pyobj;
21756
21757 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21758 return pyobj;
21759 }
21760
21761
21762 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21763 PyObject *resultobj;
21764 wxDataObject *arg1 = (wxDataObject *) 0 ;
21765 PyObject * obj0 = 0 ;
21766 char *kwnames[] = {
21767 (char *) "self", NULL
21768 };
21769
21770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
21771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21772 {
21773 PyThreadState* __tstate = wxPyBeginAllowThreads();
21774 delete arg1;
21775
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
21779 Py_INCREF(Py_None); resultobj = Py_None;
21780 return resultobj;
21781 fail:
21782 return NULL;
21783 }
21784
21785
21786 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxDataObject *arg1 = (wxDataObject *) 0 ;
21789 int arg2 = (int) wxDataObject::Get ;
21790 SwigValueWrapper< wxDataFormat > result;
21791 PyObject * obj0 = 0 ;
21792 char *kwnames[] = {
21793 (char *) "self",(char *) "dir", NULL
21794 };
21795
21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
21797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 {
21806 wxDataFormat * resultptr;
21807 resultptr = new wxDataFormat((wxDataFormat &) result);
21808 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
21809 }
21810 return resultobj;
21811 fail:
21812 return NULL;
21813 }
21814
21815
21816 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21817 PyObject *resultobj;
21818 wxDataObject *arg1 = (wxDataObject *) 0 ;
21819 int arg2 = (int) wxDataObject::Get ;
21820 size_t result;
21821 PyObject * obj0 = 0 ;
21822 char *kwnames[] = {
21823 (char *) "self",(char *) "dir", NULL
21824 };
21825
21826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
21827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
21831
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 resultobj = PyInt_FromLong((long)result);
21836 return resultobj;
21837 fail:
21838 return NULL;
21839 }
21840
21841
21842 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxDataObject *arg1 = (wxDataObject *) 0 ;
21845 wxDataFormat *arg2 = 0 ;
21846 int arg3 = (int) wxDataObject::Get ;
21847 bool result;
21848 PyObject * obj0 = 0 ;
21849 PyObject * obj1 = 0 ;
21850 char *kwnames[] = {
21851 (char *) "self",(char *) "format",(char *) "dir", NULL
21852 };
21853
21854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
21855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21857 if (arg2 == NULL) {
21858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21859 }
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 resultobj = PyInt_FromLong((long)result);
21868 return resultobj;
21869 fail:
21870 return NULL;
21871 }
21872
21873
21874 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxDataObject *arg1 = (wxDataObject *) 0 ;
21877 wxDataFormat *arg2 = 0 ;
21878 size_t result;
21879 PyObject * obj0 = 0 ;
21880 PyObject * obj1 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "format", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
21886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21887 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21888 if (arg2 == NULL) {
21889 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21890 }
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 resultobj = PyInt_FromLong((long)result);
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxDataObject *arg1 = (wxDataObject *) 0 ;
21908 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
21909 int arg3 = (int) wxDataObject::Get ;
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "formats",(char *) "dir", NULL
21914 };
21915
21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
21917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 Py_INCREF(Py_None); resultobj = Py_None;
21927 return resultobj;
21928 fail:
21929 return NULL;
21930 }
21931
21932
21933 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
21934 PyObject *resultobj;
21935 wxDataObject *arg1 = (wxDataObject *) 0 ;
21936 wxDataFormat *arg2 = 0 ;
21937 void *arg3 = (void *) 0 ;
21938 bool result;
21939 PyObject * obj0 = 0 ;
21940 PyObject * obj1 = 0 ;
21941 PyObject * obj2 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self",(char *) "format",(char *) "buf", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
21947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21949 if (arg2 == NULL) {
21950 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21951 }
21952 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21953 {
21954 PyThreadState* __tstate = wxPyBeginAllowThreads();
21955 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
21956
21957 wxPyEndAllowThreads(__tstate);
21958 if (PyErr_Occurred()) SWIG_fail;
21959 }
21960 resultobj = PyInt_FromLong((long)result);
21961 return resultobj;
21962 fail:
21963 return NULL;
21964 }
21965
21966
21967 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
21968 PyObject *resultobj;
21969 wxDataObject *arg1 = (wxDataObject *) 0 ;
21970 wxDataFormat *arg2 = 0 ;
21971 size_t arg3 ;
21972 void *arg4 = (void *) 0 ;
21973 bool result;
21974 PyObject * obj0 = 0 ;
21975 PyObject * obj1 = 0 ;
21976 PyObject * obj2 = 0 ;
21977 PyObject * obj3 = 0 ;
21978 char *kwnames[] = {
21979 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
21980 };
21981
21982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21985 if (arg2 == NULL) {
21986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21987 }
21988 arg3 = (size_t) PyInt_AsLong(obj2);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 resultobj = PyInt_FromLong((long)result);
21999 return resultobj;
22000 fail:
22001 return NULL;
22002 }
22003
22004
22005 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22006 PyObject *obj;
22007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22008 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22009 Py_INCREF(obj);
22010 return Py_BuildValue((char *)"");
22011 }
22012 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22013 PyObject *resultobj;
22014 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22015 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22016 wxDataObjectSimple *result;
22017 PyObject * obj0 = 0 ;
22018 char *kwnames[] = {
22019 (char *) "format", NULL
22020 };
22021
22022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22023 if (obj0) {
22024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22025 if (arg1 == NULL) {
22026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22027 }
22028 }
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22037 return resultobj;
22038 fail:
22039 return NULL;
22040 }
22041
22042
22043 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22044 PyObject *resultobj;
22045 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22046 wxDataFormat *result;
22047 PyObject * obj0 = 0 ;
22048 char *kwnames[] = {
22049 (char *) "self", NULL
22050 };
22051
22052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 {
22057 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22058 result = (wxDataFormat *) &_result_ref;
22059 }
22060
22061 wxPyEndAllowThreads(__tstate);
22062 if (PyErr_Occurred()) SWIG_fail;
22063 }
22064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22065 return resultobj;
22066 fail:
22067 return NULL;
22068 }
22069
22070
22071 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22072 PyObject *resultobj;
22073 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22074 wxDataFormat *arg2 = 0 ;
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self",(char *) "format", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22084 if (arg2 == NULL) {
22085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22086 }
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 Py_INCREF(Py_None); resultobj = Py_None;
22095 return resultobj;
22096 fail:
22097 return NULL;
22098 }
22099
22100
22101 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22102 PyObject *obj;
22103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22104 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22105 Py_INCREF(obj);
22106 return Py_BuildValue((char *)"");
22107 }
22108 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22111 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22112 wxPyDataObjectSimple *result;
22113 PyObject * obj0 = 0 ;
22114 char *kwnames[] = {
22115 (char *) "format", NULL
22116 };
22117
22118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22119 if (obj0) {
22120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22121 if (arg1 == NULL) {
22122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22123 }
22124 }
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj;
22141 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22142 PyObject *arg2 = (PyObject *) 0 ;
22143 PyObject *arg3 = (PyObject *) 0 ;
22144 PyObject * obj0 = 0 ;
22145 PyObject * obj1 = 0 ;
22146 PyObject * obj2 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "self",(char *) "_class", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22153 arg2 = obj1;
22154 arg3 = obj2;
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 (arg1)->_setCallbackInfo(arg2,arg3);
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
22162 Py_INCREF(Py_None); resultobj = Py_None;
22163 return resultobj;
22164 fail:
22165 return NULL;
22166 }
22167
22168
22169 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22170 PyObject *obj;
22171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22172 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22173 Py_INCREF(obj);
22174 return Py_BuildValue((char *)"");
22175 }
22176 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22177 PyObject *resultobj;
22178 wxDataObjectComposite *result;
22179 char *kwnames[] = {
22180 NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22192 return resultobj;
22193 fail:
22194 return NULL;
22195 }
22196
22197
22198 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj;
22200 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22201 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22202 int arg3 = (int) False ;
22203 PyObject * obj0 = 0 ;
22204 PyObject * obj1 = 0 ;
22205 char *kwnames[] = {
22206 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22207 };
22208
22209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 (arg1)->Add(arg2,arg3);
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 Py_INCREF(Py_None); resultobj = Py_None;
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22227 PyObject *obj;
22228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22229 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22230 Py_INCREF(obj);
22231 return Py_BuildValue((char *)"");
22232 }
22233 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxString const &arg1_defvalue = wxPyEmptyString ;
22236 wxString *arg1 = (wxString *) &arg1_defvalue ;
22237 wxTextDataObject *result;
22238 bool temp1 = False ;
22239 PyObject * obj0 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "text", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22245 if (obj0) {
22246 {
22247 arg1 = wxString_in_helper(obj0);
22248 if (arg1 == NULL) SWIG_fail;
22249 temp1 = True;
22250 }
22251 }
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22260 {
22261 if (temp1)
22262 delete arg1;
22263 }
22264 return resultobj;
22265 fail:
22266 {
22267 if (temp1)
22268 delete arg1;
22269 }
22270 return NULL;
22271 }
22272
22273
22274 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22277 size_t result;
22278 PyObject * obj0 = 0 ;
22279 char *kwnames[] = {
22280 (char *) "self", NULL
22281 };
22282
22283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 result = (size_t)(arg1)->GetTextLength();
22288
22289 wxPyEndAllowThreads(__tstate);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 }
22292 resultobj = PyInt_FromLong((long)result);
22293 return resultobj;
22294 fail:
22295 return NULL;
22296 }
22297
22298
22299 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22300 PyObject *resultobj;
22301 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22302 wxString result;
22303 PyObject * obj0 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 result = (arg1)->GetText();
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 {
22318 #if wxUSE_UNICODE
22319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22320 #else
22321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22322 #endif
22323 }
22324 return resultobj;
22325 fail:
22326 return NULL;
22327 }
22328
22329
22330 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22331 PyObject *resultobj;
22332 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22333 wxString *arg2 = 0 ;
22334 bool temp2 = False ;
22335 PyObject * obj0 = 0 ;
22336 PyObject * obj1 = 0 ;
22337 char *kwnames[] = {
22338 (char *) "self",(char *) "text", NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22343 {
22344 arg2 = wxString_in_helper(obj1);
22345 if (arg2 == NULL) SWIG_fail;
22346 temp2 = True;
22347 }
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 (arg1)->SetText((wxString const &)*arg2);
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 Py_INCREF(Py_None); resultobj = Py_None;
22356 {
22357 if (temp2)
22358 delete arg2;
22359 }
22360 return resultobj;
22361 fail:
22362 {
22363 if (temp2)
22364 delete arg2;
22365 }
22366 return NULL;
22367 }
22368
22369
22370 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22371 PyObject *obj;
22372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22373 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22374 Py_INCREF(obj);
22375 return Py_BuildValue((char *)"");
22376 }
22377 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22378 PyObject *resultobj;
22379 wxString const &arg1_defvalue = wxPyEmptyString ;
22380 wxString *arg1 = (wxString *) &arg1_defvalue ;
22381 wxPyTextDataObject *result;
22382 bool temp1 = False ;
22383 PyObject * obj0 = 0 ;
22384 char *kwnames[] = {
22385 (char *) "text", NULL
22386 };
22387
22388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22389 if (obj0) {
22390 {
22391 arg1 = wxString_in_helper(obj0);
22392 if (arg1 == NULL) SWIG_fail;
22393 temp1 = True;
22394 }
22395 }
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
22398 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22404 {
22405 if (temp1)
22406 delete arg1;
22407 }
22408 return resultobj;
22409 fail:
22410 {
22411 if (temp1)
22412 delete arg1;
22413 }
22414 return NULL;
22415 }
22416
22417
22418 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22419 PyObject *resultobj;
22420 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22421 PyObject *arg2 = (PyObject *) 0 ;
22422 PyObject *arg3 = (PyObject *) 0 ;
22423 PyObject * obj0 = 0 ;
22424 PyObject * obj1 = 0 ;
22425 PyObject * obj2 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self",(char *) "self",(char *) "_class", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22432 arg2 = obj1;
22433 arg3 = obj2;
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 (arg1)->_setCallbackInfo(arg2,arg3);
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 Py_INCREF(Py_None); resultobj = Py_None;
22442 return resultobj;
22443 fail:
22444 return NULL;
22445 }
22446
22447
22448 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22449 PyObject *obj;
22450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22451 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22452 Py_INCREF(obj);
22453 return Py_BuildValue((char *)"");
22454 }
22455 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj;
22457 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22458 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22459 wxBitmapDataObject *result;
22460 PyObject * obj0 = 0 ;
22461 char *kwnames[] = {
22462 (char *) "bitmap", NULL
22463 };
22464
22465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22466 if (obj0) {
22467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22468 if (arg1 == NULL) {
22469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22470 }
22471 }
22472 {
22473 PyThreadState* __tstate = wxPyBeginAllowThreads();
22474 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22475
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22480 return resultobj;
22481 fail:
22482 return NULL;
22483 }
22484
22485
22486 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22487 PyObject *resultobj;
22488 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22489 wxBitmap result;
22490 PyObject * obj0 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 {
22505 wxBitmap * resultptr;
22506 resultptr = new wxBitmap((wxBitmap &) result);
22507 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22508 }
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22518 wxBitmap *arg2 = 0 ;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "bitmap", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22528 if (arg2 == NULL) {
22529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22530 }
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 Py_INCREF(Py_None); resultobj = Py_None;
22539 return resultobj;
22540 fail:
22541 return NULL;
22542 }
22543
22544
22545 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22546 PyObject *obj;
22547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22548 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22549 Py_INCREF(obj);
22550 return Py_BuildValue((char *)"");
22551 }
22552 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj;
22554 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22555 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22556 wxPyBitmapDataObject *result;
22557 PyObject * obj0 = 0 ;
22558 char *kwnames[] = {
22559 (char *) "bitmap", NULL
22560 };
22561
22562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22563 if (obj0) {
22564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22565 if (arg1 == NULL) {
22566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22567 }
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj;
22585 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22586 PyObject *arg2 = (PyObject *) 0 ;
22587 PyObject *arg3 = (PyObject *) 0 ;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 PyObject * obj2 = 0 ;
22591 char *kwnames[] = {
22592 (char *) "self",(char *) "self",(char *) "_class", NULL
22593 };
22594
22595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22597 arg2 = obj1;
22598 arg3 = obj2;
22599 {
22600 PyThreadState* __tstate = wxPyBeginAllowThreads();
22601 (arg1)->_setCallbackInfo(arg2,arg3);
22602
22603 wxPyEndAllowThreads(__tstate);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 }
22606 Py_INCREF(Py_None); resultobj = Py_None;
22607 return resultobj;
22608 fail:
22609 return NULL;
22610 }
22611
22612
22613 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22614 PyObject *obj;
22615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22616 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22617 Py_INCREF(obj);
22618 return Py_BuildValue((char *)"");
22619 }
22620 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22621 PyObject *resultobj;
22622 wxFileDataObject *result;
22623 char *kwnames[] = {
22624 NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 result = (wxFileDataObject *)new wxFileDataObject();
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22645 wxArrayString *result;
22646 PyObject * obj0 = 0 ;
22647 char *kwnames[] = {
22648 (char *) "self", NULL
22649 };
22650
22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 {
22656 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22657 result = (wxArrayString *) &_result_ref;
22658 }
22659
22660 wxPyEndAllowThreads(__tstate);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 {
22664 resultobj = wxArrayString2PyList_helper(*result);
22665 }
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22673 PyObject *obj;
22674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22675 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22676 Py_INCREF(obj);
22677 return Py_BuildValue((char *)"");
22678 }
22679 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22680 PyObject *resultobj;
22681 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22682 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22683 wxCustomDataObject *result;
22684 PyObject * obj0 = 0 ;
22685 char *kwnames[] = {
22686 (char *) "format", NULL
22687 };
22688
22689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22690 if (obj0) {
22691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22692 if (arg1 == NULL) {
22693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22694 }
22695 }
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22699
22700 wxPyEndAllowThreads(__tstate);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
22703 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22704 return resultobj;
22705 fail:
22706 return NULL;
22707 }
22708
22709
22710 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22711 PyObject *resultobj;
22712 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22713 PyObject *arg2 = (PyObject *) 0 ;
22714 PyObject * obj0 = 0 ;
22715 PyObject * obj1 = 0 ;
22716 char *kwnames[] = {
22717 (char *) "self",(char *) "data", NULL
22718 };
22719
22720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22722 arg2 = obj1;
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 wxCustomDataObject_TakeData(arg1,arg2);
22726
22727 wxPyEndAllowThreads(__tstate);
22728 if (PyErr_Occurred()) SWIG_fail;
22729 }
22730 Py_INCREF(Py_None); resultobj = Py_None;
22731 return resultobj;
22732 fail:
22733 return NULL;
22734 }
22735
22736
22737 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj;
22739 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22740 PyObject *arg2 = (PyObject *) 0 ;
22741 bool result;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self",(char *) "data", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22750 arg2 = obj1;
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22754
22755 wxPyEndAllowThreads(__tstate);
22756 if (PyErr_Occurred()) SWIG_fail;
22757 }
22758 resultobj = PyInt_FromLong((long)result);
22759 return resultobj;
22760 fail:
22761 return NULL;
22762 }
22763
22764
22765 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22768 size_t result;
22769 PyObject * obj0 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self", NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
22775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 result = (size_t)(arg1)->GetSize();
22779
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 resultobj = PyInt_FromLong((long)result);
22784 return resultobj;
22785 fail:
22786 return NULL;
22787 }
22788
22789
22790 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22791 PyObject *resultobj;
22792 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22793 PyObject *result;
22794 PyObject * obj0 = 0 ;
22795 char *kwnames[] = {
22796 (char *) "self", NULL
22797 };
22798
22799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
22800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 result = (PyObject *)wxCustomDataObject_GetData(arg1);
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 resultobj = result;
22809 return resultobj;
22810 fail:
22811 return NULL;
22812 }
22813
22814
22815 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
22816 PyObject *obj;
22817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22818 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
22819 Py_INCREF(obj);
22820 return Py_BuildValue((char *)"");
22821 }
22822 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22823 PyObject *resultobj;
22824 wxURLDataObject *result;
22825 char *kwnames[] = {
22826 NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = (wxURLDataObject *)new wxURLDataObject();
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
22838 return resultobj;
22839 fail:
22840 return NULL;
22841 }
22842
22843
22844 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj;
22846 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22847 wxString result;
22848 PyObject * obj0 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self", NULL
22851 };
22852
22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
22854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = (arg1)->GetURL();
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 {
22863 #if wxUSE_UNICODE
22864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22865 #else
22866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22867 #endif
22868 }
22869 return resultobj;
22870 fail:
22871 return NULL;
22872 }
22873
22874
22875 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj;
22877 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22878 wxString *arg2 = 0 ;
22879 bool temp2 = False ;
22880 PyObject * obj0 = 0 ;
22881 PyObject * obj1 = 0 ;
22882 char *kwnames[] = {
22883 (char *) "self",(char *) "url", NULL
22884 };
22885
22886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
22887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22888 {
22889 arg2 = wxString_in_helper(obj1);
22890 if (arg2 == NULL) SWIG_fail;
22891 temp2 = True;
22892 }
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 (arg1)->SetURL((wxString const &)*arg2);
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 Py_INCREF(Py_None); resultobj = Py_None;
22901 {
22902 if (temp2)
22903 delete arg2;
22904 }
22905 return resultobj;
22906 fail:
22907 {
22908 if (temp2)
22909 delete arg2;
22910 }
22911 return NULL;
22912 }
22913
22914
22915 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
22916 PyObject *obj;
22917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22918 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
22919 Py_INCREF(obj);
22920 return Py_BuildValue((char *)"");
22921 }
22922 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxMetafileDataObject *result;
22925 char *kwnames[] = {
22926 NULL
22927 };
22928
22929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = (wxMetafileDataObject *)new wxMetafileDataObject();
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
22945 PyObject *obj;
22946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22947 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
22948 Py_INCREF(obj);
22949 return Py_BuildValue((char *)"");
22950 }
22951 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22952 PyObject *resultobj;
22953 int arg1 ;
22954 bool result;
22955 char *kwnames[] = {
22956 (char *) "res", NULL
22957 };
22958
22959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
22960 {
22961 PyThreadState* __tstate = wxPyBeginAllowThreads();
22962 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
22963
22964 wxPyEndAllowThreads(__tstate);
22965 if (PyErr_Occurred()) SWIG_fail;
22966 }
22967 resultobj = PyInt_FromLong((long)result);
22968 return resultobj;
22969 fail:
22970 return NULL;
22971 }
22972
22973
22974 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
22975 PyObject *resultobj;
22976 wxWindow *arg1 = (wxWindow *) NULL ;
22977 wxIcon const &arg2_defvalue = wxNullIcon ;
22978 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
22979 wxIcon const &arg3_defvalue = wxNullIcon ;
22980 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
22981 wxIcon const &arg4_defvalue = wxNullIcon ;
22982 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
22983 wxPyDropSource *result;
22984 PyObject * obj0 = 0 ;
22985 PyObject * obj1 = 0 ;
22986 PyObject * obj2 = 0 ;
22987 PyObject * obj3 = 0 ;
22988 char *kwnames[] = {
22989 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
22990 };
22991
22992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22993 if (obj0) {
22994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22995 }
22996 if (obj1) {
22997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22998 if (arg2 == NULL) {
22999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23000 }
23001 }
23002 if (obj2) {
23003 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23004 if (arg3 == NULL) {
23005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23006 }
23007 }
23008 if (obj3) {
23009 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23010 if (arg4 == NULL) {
23011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23012 }
23013 }
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23022 return resultobj;
23023 fail:
23024 return NULL;
23025 }
23026
23027
23028 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23031 PyObject *arg2 = (PyObject *) 0 ;
23032 PyObject *arg3 = (PyObject *) 0 ;
23033 int arg4 ;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 PyObject * obj2 = 0 ;
23037 char *kwnames[] = {
23038 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23039 };
23040
23041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23043 arg2 = obj1;
23044 arg3 = obj2;
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
23047 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23048
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 Py_INCREF(Py_None); resultobj = Py_None;
23053 return resultobj;
23054 fail:
23055 return NULL;
23056 }
23057
23058
23059 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23060 PyObject *resultobj;
23061 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23062 PyObject * obj0 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "self", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 delete arg1;
23072
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
23076 Py_INCREF(Py_None); resultobj = Py_None;
23077 return resultobj;
23078 fail:
23079 return NULL;
23080 }
23081
23082
23083 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23084 PyObject *resultobj;
23085 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23086 wxDataObject *arg2 = 0 ;
23087 PyObject * obj0 = 0 ;
23088 PyObject * obj1 = 0 ;
23089 char *kwnames[] = {
23090 (char *) "self",(char *) "data", NULL
23091 };
23092
23093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23096 if (arg2 == NULL) {
23097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23098 }
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 (arg1)->SetData(*arg2);
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 Py_INCREF(Py_None); resultobj = Py_None;
23107 return resultobj;
23108 fail:
23109 return NULL;
23110 }
23111
23112
23113 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23114 PyObject *resultobj;
23115 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23116 wxDataObject *result;
23117 PyObject * obj0 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (wxDataObject *)(arg1)->GetDataObject();
23127
23128 wxPyEndAllowThreads(__tstate);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
23131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23132 return resultobj;
23133 fail:
23134 return NULL;
23135 }
23136
23137
23138 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23139 PyObject *resultobj;
23140 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23141 int arg2 ;
23142 wxCursor *arg3 = 0 ;
23143 PyObject * obj0 = 0 ;
23144 PyObject * obj2 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self",(char *) "res",(char *) "cursor", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23151 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23152 if (arg3 == NULL) {
23153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23154 }
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 Py_INCREF(Py_None); resultobj = Py_None;
23163 return resultobj;
23164 fail:
23165 return NULL;
23166 }
23167
23168
23169 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23170 PyObject *resultobj;
23171 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23172 int arg2 = (int) wxDrag_CopyOnly ;
23173 int result;
23174 PyObject * obj0 = 0 ;
23175 char *kwnames[] = {
23176 (char *) "self",(char *) "flags", NULL
23177 };
23178
23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 result = (int)(arg1)->DoDragDrop(arg2);
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 resultobj = PyInt_FromLong((long)result);
23189 return resultobj;
23190 fail:
23191 return NULL;
23192 }
23193
23194
23195 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23196 PyObject *resultobj;
23197 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23198 int arg2 ;
23199 bool result;
23200 PyObject * obj0 = 0 ;
23201 char *kwnames[] = {
23202 (char *) "self",(char *) "effect", NULL
23203 };
23204
23205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23210
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 resultobj = PyInt_FromLong((long)result);
23215 return resultobj;
23216 fail:
23217 return NULL;
23218 }
23219
23220
23221 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23222 PyObject *obj;
23223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23224 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23225 Py_INCREF(obj);
23226 return Py_BuildValue((char *)"");
23227 }
23228 static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj;
23230 wxDataObject *arg1 = (wxDataObject *) NULL ;
23231 wxPyDropTarget *result;
23232 PyObject * obj0 = 0 ;
23233 char *kwnames[] = {
23234 (char *) "dataObject", NULL
23235 };
23236
23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
23238 if (obj0) {
23239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23240 }
23241 {
23242 PyThreadState* __tstate = wxPyBeginAllowThreads();
23243 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23244
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23249 return resultobj;
23250 fail:
23251 return NULL;
23252 }
23253
23254
23255 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23256 PyObject *resultobj;
23257 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23258 PyObject *arg2 = (PyObject *) 0 ;
23259 PyObject *arg3 = (PyObject *) 0 ;
23260 PyObject * obj0 = 0 ;
23261 PyObject * obj1 = 0 ;
23262 PyObject * obj2 = 0 ;
23263 char *kwnames[] = {
23264 (char *) "self",(char *) "self",(char *) "_class", NULL
23265 };
23266
23267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23269 arg2 = obj1;
23270 arg3 = obj2;
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 (arg1)->_setCallbackInfo(arg2,arg3);
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 Py_INCREF(Py_None); resultobj = Py_None;
23279 return resultobj;
23280 fail:
23281 return NULL;
23282 }
23283
23284
23285 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23286 PyObject *resultobj;
23287 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23288 PyObject * obj0 = 0 ;
23289 char *kwnames[] = {
23290 (char *) "self", NULL
23291 };
23292
23293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 delete arg1;
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 Py_INCREF(Py_None); resultobj = Py_None;
23303 return resultobj;
23304 fail:
23305 return NULL;
23306 }
23307
23308
23309 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23310 PyObject *resultobj;
23311 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23312 wxDataObject *result;
23313 PyObject * obj0 = 0 ;
23314 char *kwnames[] = {
23315 (char *) "self", NULL
23316 };
23317
23318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23320 {
23321 PyThreadState* __tstate = wxPyBeginAllowThreads();
23322 result = (wxDataObject *)(arg1)->GetDataObject();
23323
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj;
23336 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23337 wxDataObject *arg2 = (wxDataObject *) 0 ;
23338 PyObject * obj0 = 0 ;
23339 PyObject * obj1 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "self",(char *) "dataObject", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 (arg1)->SetDataObject(arg2);
23350
23351 wxPyEndAllowThreads(__tstate);
23352 if (PyErr_Occurred()) SWIG_fail;
23353 }
23354 Py_INCREF(Py_None); resultobj = Py_None;
23355 return resultobj;
23356 fail:
23357 return NULL;
23358 }
23359
23360
23361 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23362 PyObject *resultobj;
23363 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23364 int arg2 ;
23365 int arg3 ;
23366 int arg4 ;
23367 int result;
23368 PyObject * obj0 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23375 {
23376 PyThreadState* __tstate = wxPyBeginAllowThreads();
23377 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23378
23379 wxPyEndAllowThreads(__tstate);
23380 if (PyErr_Occurred()) SWIG_fail;
23381 }
23382 resultobj = PyInt_FromLong((long)result);
23383 return resultobj;
23384 fail:
23385 return NULL;
23386 }
23387
23388
23389 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23390 PyObject *resultobj;
23391 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23392 int arg2 ;
23393 int arg3 ;
23394 int arg4 ;
23395 int result;
23396 PyObject * obj0 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 resultobj = PyInt_FromLong((long)result);
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj;
23419 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23420 PyObject * obj0 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 (arg1)->base_OnLeave();
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 Py_INCREF(Py_None); resultobj = Py_None;
23435 return resultobj;
23436 fail:
23437 return NULL;
23438 }
23439
23440
23441 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23442 PyObject *resultobj;
23443 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23444 int arg2 ;
23445 int arg3 ;
23446 bool result;
23447 PyObject * obj0 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self",(char *) "x",(char *) "y", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 resultobj = PyInt_FromLong((long)result);
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23471 bool result;
23472 PyObject * obj0 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 result = (bool)(arg1)->GetData();
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 resultobj = PyInt_FromLong((long)result);
23487 return resultobj;
23488 fail:
23489 return NULL;
23490 }
23491
23492
23493 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23494 PyObject *obj;
23495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23496 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23497 Py_INCREF(obj);
23498 return Py_BuildValue((char *)"");
23499 }
23500 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj;
23502 wxPyTextDropTarget *result;
23503 char *kwnames[] = {
23504 NULL
23505 };
23506
23507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23508 {
23509 PyThreadState* __tstate = wxPyBeginAllowThreads();
23510 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23511
23512 wxPyEndAllowThreads(__tstate);
23513 if (PyErr_Occurred()) SWIG_fail;
23514 }
23515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23516 return resultobj;
23517 fail:
23518 return NULL;
23519 }
23520
23521
23522 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23523 PyObject *resultobj;
23524 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23525 PyObject *arg2 = (PyObject *) 0 ;
23526 PyObject *arg3 = (PyObject *) 0 ;
23527 PyObject * obj0 = 0 ;
23528 PyObject * obj1 = 0 ;
23529 PyObject * obj2 = 0 ;
23530 char *kwnames[] = {
23531 (char *) "self",(char *) "self",(char *) "_class", NULL
23532 };
23533
23534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23536 arg2 = obj1;
23537 arg3 = obj2;
23538 {
23539 PyThreadState* __tstate = wxPyBeginAllowThreads();
23540 (arg1)->_setCallbackInfo(arg2,arg3);
23541
23542 wxPyEndAllowThreads(__tstate);
23543 if (PyErr_Occurred()) SWIG_fail;
23544 }
23545 Py_INCREF(Py_None); resultobj = Py_None;
23546 return resultobj;
23547 fail:
23548 return NULL;
23549 }
23550
23551
23552 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23553 PyObject *resultobj;
23554 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23555 int arg2 ;
23556 int arg3 ;
23557 int arg4 ;
23558 int result;
23559 PyObject * obj0 = 0 ;
23560 char *kwnames[] = {
23561 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23562 };
23563
23564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23569
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
23573 resultobj = PyInt_FromLong((long)result);
23574 return resultobj;
23575 fail:
23576 return NULL;
23577 }
23578
23579
23580 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23581 PyObject *resultobj;
23582 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23583 int arg2 ;
23584 int arg3 ;
23585 int arg4 ;
23586 int result;
23587 PyObject * obj0 = 0 ;
23588 char *kwnames[] = {
23589 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23590 };
23591
23592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23594 {
23595 PyThreadState* __tstate = wxPyBeginAllowThreads();
23596 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23597
23598 wxPyEndAllowThreads(__tstate);
23599 if (PyErr_Occurred()) SWIG_fail;
23600 }
23601 resultobj = PyInt_FromLong((long)result);
23602 return resultobj;
23603 fail:
23604 return NULL;
23605 }
23606
23607
23608 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23609 PyObject *resultobj;
23610 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23611 PyObject * obj0 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23618 {
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 (arg1)->base_OnLeave();
23621
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 Py_INCREF(Py_None); resultobj = Py_None;
23626 return resultobj;
23627 fail:
23628 return NULL;
23629 }
23630
23631
23632 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23633 PyObject *resultobj;
23634 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23635 int arg2 ;
23636 int arg3 ;
23637 bool result;
23638 PyObject * obj0 = 0 ;
23639 char *kwnames[] = {
23640 (char *) "self",(char *) "x",(char *) "y", NULL
23641 };
23642
23643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23645 {
23646 PyThreadState* __tstate = wxPyBeginAllowThreads();
23647 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23648
23649 wxPyEndAllowThreads(__tstate);
23650 if (PyErr_Occurred()) SWIG_fail;
23651 }
23652 resultobj = PyInt_FromLong((long)result);
23653 return resultobj;
23654 fail:
23655 return NULL;
23656 }
23657
23658
23659 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23660 PyObject *resultobj;
23661 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23662 int arg2 ;
23663 int arg3 ;
23664 int arg4 ;
23665 int result;
23666 PyObject * obj0 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23676
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 resultobj = PyInt_FromLong((long)result);
23681 return resultobj;
23682 fail:
23683 return NULL;
23684 }
23685
23686
23687 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23688 PyObject *obj;
23689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23690 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23691 Py_INCREF(obj);
23692 return Py_BuildValue((char *)"");
23693 }
23694 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23695 PyObject *resultobj;
23696 wxPyFileDropTarget *result;
23697 char *kwnames[] = {
23698 NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23719 PyObject *arg2 = (PyObject *) 0 ;
23720 PyObject *arg3 = (PyObject *) 0 ;
23721 PyObject * obj0 = 0 ;
23722 PyObject * obj1 = 0 ;
23723 PyObject * obj2 = 0 ;
23724 char *kwnames[] = {
23725 (char *) "self",(char *) "self",(char *) "_class", NULL
23726 };
23727
23728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23730 arg2 = obj1;
23731 arg3 = obj2;
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 (arg1)->_setCallbackInfo(arg2,arg3);
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 Py_INCREF(Py_None); resultobj = Py_None;
23740 return resultobj;
23741 fail:
23742 return NULL;
23743 }
23744
23745
23746 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23747 PyObject *resultobj;
23748 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23749 int arg2 ;
23750 int arg3 ;
23751 int arg4 ;
23752 int result;
23753 PyObject * obj0 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 resultobj = PyInt_FromLong((long)result);
23768 return resultobj;
23769 fail:
23770 return NULL;
23771 }
23772
23773
23774 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23775 PyObject *resultobj;
23776 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23777 int arg2 ;
23778 int arg3 ;
23779 int arg4 ;
23780 int result;
23781 PyObject * obj0 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 resultobj = PyInt_FromLong((long)result);
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23805 PyObject * obj0 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 (arg1)->base_OnLeave();
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 Py_INCREF(Py_None); resultobj = Py_None;
23820 return resultobj;
23821 fail:
23822 return NULL;
23823 }
23824
23825
23826 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23827 PyObject *resultobj;
23828 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23829 int arg2 ;
23830 int arg3 ;
23831 bool result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self",(char *) "x",(char *) "y", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23839 {
23840 PyThreadState* __tstate = wxPyBeginAllowThreads();
23841 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 resultobj = PyInt_FromLong((long)result);
23847 return resultobj;
23848 fail:
23849 return NULL;
23850 }
23851
23852
23853 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj;
23855 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23856 int arg2 ;
23857 int arg3 ;
23858 int arg4 ;
23859 int result;
23860 PyObject * obj0 = 0 ;
23861 char *kwnames[] = {
23862 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23863 };
23864
23865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23867 {
23868 PyThreadState* __tstate = wxPyBeginAllowThreads();
23869 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23870
23871 wxPyEndAllowThreads(__tstate);
23872 if (PyErr_Occurred()) SWIG_fail;
23873 }
23874 resultobj = PyInt_FromLong((long)result);
23875 return resultobj;
23876 fail:
23877 return NULL;
23878 }
23879
23880
23881 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
23882 PyObject *obj;
23883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23884 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
23885 Py_INCREF(obj);
23886 return Py_BuildValue((char *)"");
23887 }
23888 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23889 PyObject *resultobj;
23890 wxClipboard *result;
23891 char *kwnames[] = {
23892 NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = (wxClipboard *)new wxClipboard();
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxClipboard *arg1 = (wxClipboard *) 0 ;
23913 PyObject * obj0 = 0 ;
23914 char *kwnames[] = {
23915 (char *) "self", NULL
23916 };
23917
23918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
23919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23920 {
23921 PyThreadState* __tstate = wxPyBeginAllowThreads();
23922 delete arg1;
23923
23924 wxPyEndAllowThreads(__tstate);
23925 if (PyErr_Occurred()) SWIG_fail;
23926 }
23927 Py_INCREF(Py_None); resultobj = Py_None;
23928 return resultobj;
23929 fail:
23930 return NULL;
23931 }
23932
23933
23934 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
23935 PyObject *resultobj;
23936 wxClipboard *arg1 = (wxClipboard *) 0 ;
23937 bool result;
23938 PyObject * obj0 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "self", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
23944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 result = (bool)(arg1)->Open();
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 resultobj = PyInt_FromLong((long)result);
23953 return resultobj;
23954 fail:
23955 return NULL;
23956 }
23957
23958
23959 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
23960 PyObject *resultobj;
23961 wxClipboard *arg1 = (wxClipboard *) 0 ;
23962 PyObject * obj0 = 0 ;
23963 char *kwnames[] = {
23964 (char *) "self", NULL
23965 };
23966
23967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
23968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23969 {
23970 PyThreadState* __tstate = wxPyBeginAllowThreads();
23971 (arg1)->Close();
23972
23973 wxPyEndAllowThreads(__tstate);
23974 if (PyErr_Occurred()) SWIG_fail;
23975 }
23976 Py_INCREF(Py_None); resultobj = Py_None;
23977 return resultobj;
23978 fail:
23979 return NULL;
23980 }
23981
23982
23983 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
23984 PyObject *resultobj;
23985 wxClipboard *arg1 = (wxClipboard *) 0 ;
23986 bool result;
23987 PyObject * obj0 = 0 ;
23988 char *kwnames[] = {
23989 (char *) "self", NULL
23990 };
23991
23992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
23993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 result = (bool)((wxClipboard const *)arg1)->IsOpened();
23997
23998 wxPyEndAllowThreads(__tstate);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 }
24001 resultobj = PyInt_FromLong((long)result);
24002 return resultobj;
24003 fail:
24004 return NULL;
24005 }
24006
24007
24008 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24009 PyObject *resultobj;
24010 wxClipboard *arg1 = (wxClipboard *) 0 ;
24011 wxDataObject *arg2 = (wxDataObject *) 0 ;
24012 bool result;
24013 PyObject * obj0 = 0 ;
24014 PyObject * obj1 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self",(char *) "data", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (bool)(arg1)->AddData(arg2);
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 resultobj = PyInt_FromLong((long)result);
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24037 PyObject *resultobj;
24038 wxClipboard *arg1 = (wxClipboard *) 0 ;
24039 wxDataObject *arg2 = (wxDataObject *) 0 ;
24040 bool result;
24041 PyObject * obj0 = 0 ;
24042 PyObject * obj1 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self",(char *) "data", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24050 {
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
24052 result = (bool)(arg1)->SetData(arg2);
24053
24054 wxPyEndAllowThreads(__tstate);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 }
24057 resultobj = PyInt_FromLong((long)result);
24058 return resultobj;
24059 fail:
24060 return NULL;
24061 }
24062
24063
24064 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24065 PyObject *resultobj;
24066 wxClipboard *arg1 = (wxClipboard *) 0 ;
24067 wxDataFormat *arg2 = 0 ;
24068 bool result;
24069 PyObject * obj0 = 0 ;
24070 PyObject * obj1 = 0 ;
24071 char *kwnames[] = {
24072 (char *) "self",(char *) "format", NULL
24073 };
24074
24075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24078 if (arg2 == NULL) {
24079 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24080 }
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24084
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 resultobj = PyInt_FromLong((long)result);
24089 return resultobj;
24090 fail:
24091 return NULL;
24092 }
24093
24094
24095 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj;
24097 wxClipboard *arg1 = (wxClipboard *) 0 ;
24098 wxDataObject *arg2 = 0 ;
24099 bool result;
24100 PyObject * obj0 = 0 ;
24101 PyObject * obj1 = 0 ;
24102 char *kwnames[] = {
24103 (char *) "self",(char *) "data", NULL
24104 };
24105
24106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24109 if (arg2 == NULL) {
24110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24111 }
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 result = (bool)(arg1)->GetData(*arg2);
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 resultobj = PyInt_FromLong((long)result);
24120 return resultobj;
24121 fail:
24122 return NULL;
24123 }
24124
24125
24126 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj;
24128 wxClipboard *arg1 = (wxClipboard *) 0 ;
24129 PyObject * obj0 = 0 ;
24130 char *kwnames[] = {
24131 (char *) "self", NULL
24132 };
24133
24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24136 {
24137 PyThreadState* __tstate = wxPyBeginAllowThreads();
24138 (arg1)->Clear();
24139
24140 wxPyEndAllowThreads(__tstate);
24141 if (PyErr_Occurred()) SWIG_fail;
24142 }
24143 Py_INCREF(Py_None); resultobj = Py_None;
24144 return resultobj;
24145 fail:
24146 return NULL;
24147 }
24148
24149
24150 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24151 PyObject *resultobj;
24152 wxClipboard *arg1 = (wxClipboard *) 0 ;
24153 bool result;
24154 PyObject * obj0 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 result = (bool)(arg1)->Flush();
24164
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 resultobj = PyInt_FromLong((long)result);
24169 return resultobj;
24170 fail:
24171 return NULL;
24172 }
24173
24174
24175 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24176 PyObject *resultobj;
24177 wxClipboard *arg1 = (wxClipboard *) 0 ;
24178 bool arg2 = (bool) False ;
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "primary", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24187 if (obj1) {
24188 arg2 = PyInt_AsLong(obj1) ? true : false;
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 (arg1)->UsePrimarySelection(arg2);
24194
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 Py_INCREF(Py_None); resultobj = Py_None;
24199 return resultobj;
24200 fail:
24201 return NULL;
24202 }
24203
24204
24205 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24206 PyObject *obj;
24207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24208 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24209 Py_INCREF(obj);
24210 return Py_BuildValue((char *)"");
24211 }
24212 static int _wrap_TheClipboard_set(PyObject *_val) {
24213 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24214 return 1;
24215 }
24216
24217
24218 static PyObject *_wrap_TheClipboard_get() {
24219 PyObject *pyobj;
24220
24221 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24222 return pyobj;
24223 }
24224
24225
24226 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24227 PyObject *resultobj;
24228 wxClipboard *arg1 = (wxClipboard *) NULL ;
24229 wxClipboardLocker *result;
24230 PyObject * obj0 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "clipboard", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24236 if (obj0) {
24237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24238 }
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24242
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj;
24255 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24256 PyObject * obj0 = 0 ;
24257 char *kwnames[] = {
24258 (char *) "self", NULL
24259 };
24260
24261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24263 {
24264 PyThreadState* __tstate = wxPyBeginAllowThreads();
24265 delete arg1;
24266
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 Py_INCREF(Py_None); resultobj = Py_None;
24271 return resultobj;
24272 fail:
24273 return NULL;
24274 }
24275
24276
24277 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24278 PyObject *resultobj;
24279 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24280 bool result;
24281 PyObject * obj0 = 0 ;
24282 char *kwnames[] = {
24283 (char *) "self", NULL
24284 };
24285
24286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = (bool)wxClipboardLocker___nonzero__(arg1);
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 resultobj = PyInt_FromLong((long)result);
24296 return resultobj;
24297 fail:
24298 return NULL;
24299 }
24300
24301
24302 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24303 PyObject *obj;
24304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24305 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24306 Py_INCREF(obj);
24307 return Py_BuildValue((char *)"");
24308 }
24309 static PyMethodDef SwigMethods[] = {
24310 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24311 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24317 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24321 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24324 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24325 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24383 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24391 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24407 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24412 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24415 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24418 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24424 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24438 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24444 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24450 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24453 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24465 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24468 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24469 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24472 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24499 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24501 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24503 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24505 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24512 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24518 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"LogTrace", (PyCFunction) _wrap_LogTrace, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"LogTraceMask", (PyCFunction) _wrap_LogTraceMask, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24537 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24540 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24557 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24565 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24611 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24639 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24645 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24661 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24677 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24691 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24700 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
24743 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
24747 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
24750 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
24753 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
24845 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
24846 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
24847 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
24848 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
24849 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
24850 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
24851 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
24852 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
24853 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
24854 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
24865 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
24910 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
24944 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
24952 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
24953 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
24958 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
24967 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
24971 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
24974 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
24977 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
24982 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
24985 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
24989 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
24992 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
24995 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25001 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25005 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25007 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25017 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25028 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25036 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25044 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25057 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25061 { NULL, NULL }
25062 };
25063
25064
25065 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25066
25067 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25068 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25069 }
25070 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25071 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25072 }
25073 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25074 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25075 }
25076 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25077 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25078 }
25079 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25080 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25081 }
25082 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25083 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25084 }
25085 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25086 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25087 }
25088 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25089 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25090 }
25091 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25092 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25093 }
25094 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25095 return (void *)((wxEvent *) ((wxPyEvent *) x));
25096 }
25097 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25099 }
25100 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25101 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25102 }
25103 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25104 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25105 }
25106 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25107 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25108 }
25109 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25110 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25111 }
25112 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25113 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25114 }
25115 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25116 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25117 }
25118 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25119 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25120 }
25121 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25122 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25123 }
25124 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25125 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25126 }
25127 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25128 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25129 }
25130 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25131 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25132 }
25133 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25134 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25135 }
25136 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25137 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25138 }
25139 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25140 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25141 }
25142 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25143 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25144 }
25145 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25146 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25147 }
25148 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25149 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25150 }
25151 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25152 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25153 }
25154 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25155 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25156 }
25157 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25158 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25159 }
25160 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25161 return (void *)((wxEvent *) ((wxShowEvent *) x));
25162 }
25163 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25164 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25165 }
25166 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25167 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25168 }
25169 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25170 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25171 }
25172 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25173 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25174 }
25175 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25176 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25177 }
25178 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25179 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25180 }
25181 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25182 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25183 }
25184 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25185 return (void *)((wxConfigBase *) ((wxConfig *) x));
25186 }
25187 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25188 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25189 }
25190 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25191 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25192 }
25193 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25194 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25195 }
25196 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25197 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25198 }
25199 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25200 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25201 }
25202 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25203 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25204 }
25205 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25206 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25207 }
25208 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25209 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25210 }
25211 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25212 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25213 }
25214 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25215 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25216 }
25217 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25218 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25219 }
25220 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25221 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25222 }
25223 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25224 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25225 }
25226 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25227 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25228 }
25229 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25230 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25231 }
25232 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25233 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25234 }
25235 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25236 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25237 }
25238 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25239 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25240 }
25241 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25242 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25243 }
25244 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25245 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25246 }
25247 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25248 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25249 }
25250 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25251 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25252 }
25253 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25254 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25255 }
25256 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25257 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25258 }
25259 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25260 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25261 }
25262 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25263 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25264 }
25265 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25266 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25267 }
25268 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25269 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25270 }
25271 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25272 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25273 }
25274 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25275 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25276 }
25277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25278 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25279 }
25280 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25281 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25282 }
25283 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25284 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25285 }
25286 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25287 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25288 }
25289 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25290 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25291 }
25292 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25293 return (void *)((wxObject *) ((wxSizerItem *) x));
25294 }
25295 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25296 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25297 }
25298 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25299 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25300 }
25301 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25302 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25303 }
25304 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25305 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25306 }
25307 static void *_p_wxSizerTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) ((wxSizer *) x));
25309 }
25310 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25312 }
25313 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) ((wxFileHistory *) x));
25315 }
25316 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25318 }
25319 static void *_p_wxEventTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) ((wxEvent *) x));
25321 }
25322 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25324 }
25325 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25327 }
25328 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25330 }
25331 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25333 }
25334 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25336 }
25337 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25339 }
25340 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25342 }
25343 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25345 }
25346 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25348 }
25349 static void *_p_wxControlTo_p_wxObject(void *x) {
25350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25351 }
25352 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25353 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25354 }
25355 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25356 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25357 }
25358 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25359 return (void *)((wxObject *) ((wxFSFile *) x));
25360 }
25361 static void *_p_wxClipboardTo_p_wxObject(void *x) {
25362 return (void *)((wxObject *) ((wxClipboard *) x));
25363 }
25364 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25365 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25366 }
25367 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25368 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25369 }
25370 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25371 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25372 }
25373 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25374 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25375 }
25376 static void *_p_wxToolTipTo_p_wxObject(void *x) {
25377 return (void *)((wxObject *) ((wxToolTip *) x));
25378 }
25379 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25380 return (void *)((wxObject *) ((wxMenuItem *) x));
25381 }
25382 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25383 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25384 }
25385 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25386 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25387 }
25388 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25389 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25390 }
25391 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25392 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25393 }
25394 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25395 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25396 }
25397 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25398 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25399 }
25400 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25401 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25402 }
25403 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25404 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25405 }
25406 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25407 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25408 }
25409 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25410 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25411 }
25412 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25413 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25414 }
25415 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25416 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25417 }
25418 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25419 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25420 }
25421 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25422 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25423 }
25424 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25425 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25426 }
25427 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25428 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25429 }
25430 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25431 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25432 }
25433 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25434 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25435 }
25436 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25437 return (void *)((wxObject *) ((wxImageHandler *) x));
25438 }
25439 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25440 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25441 }
25442 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25443 return (void *)((wxObject *) ((wxEvtHandler *) x));
25444 }
25445 static void *_p_wxImageTo_p_wxObject(void *x) {
25446 return (void *)((wxObject *) ((wxImage *) x));
25447 }
25448 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25449 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25450 }
25451 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25452 return (void *)((wxObject *) ((wxSystemOptions *) x));
25453 }
25454 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25455 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25456 }
25457 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25458 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25459 }
25460 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25461 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25462 }
25463 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25464 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25465 }
25466 static void *_p_wxWindowTo_p_wxObject(void *x) {
25467 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25468 }
25469 static void *_p_wxMenuTo_p_wxObject(void *x) {
25470 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25471 }
25472 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25474 }
25475 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25476 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25477 }
25478 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25479 return (void *)((wxObject *) ((wxFileSystem *) x));
25480 }
25481 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25482 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25483 }
25484 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25485 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25486 }
25487 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25488 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25489 }
25490 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25491 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25492 }
25493 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25494 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25495 }
25496 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25497 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25498 }
25499 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25500 return (void *)((wxObject *) ((wxBusyInfo *) x));
25501 }
25502 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25503 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25504 }
25505 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25506 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25507 }
25508 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25509 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25510 }
25511 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25512 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25513 }
25514 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25516 }
25517 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25518 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25519 }
25520 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25522 }
25523 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25524 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25525 }
25526 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25527 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25528 }
25529 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25530 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25531 }
25532 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25533 return (void *)((wxLog *) ((wxLogStderr *) x));
25534 }
25535 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25536 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25537 }
25538 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25539 return (void *)((wxLog *) ((wxLogWindow *) x));
25540 }
25541 static void *_p_wxLogChainTo_p_wxLog(void *x) {
25542 return (void *)((wxLog *) ((wxLogChain *) x));
25543 }
25544 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25545 return (void *)((wxLog *) ((wxLogGui *) x));
25546 }
25547 static void *_p_wxPyLogTo_p_wxLog(void *x) {
25548 return (void *)((wxLog *) ((wxPyLog *) x));
25549 }
25550 static void *_p_wxControlTo_p_wxWindow(void *x) {
25551 return (void *)((wxWindow *) ((wxControl *) x));
25552 }
25553 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25554 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25555 }
25556 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25557 return (void *)((wxWindow *) ((wxMenuBar *) x));
25558 }
25559 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25560 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25561 }
25562 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25563 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25564 }
25565 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25566 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25567 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25568 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}};
25569 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25570 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25571 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}};
25572 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}};
25573 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25574 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25575 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25576 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25577 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25578 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25579 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25580 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25581 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25582 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25583 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25584 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25585 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25586 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25587 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25588 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25589 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25590 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25591 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25592 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25593 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25594 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25595 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25596 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}};
25597 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25598 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25599 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25600 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25601 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25602 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25603 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25604 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25605 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25606 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25607 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25608 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25609 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25610 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}};
25611 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}};
25612 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25613 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25614 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25615 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25616 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25617 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25618 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25619 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25620 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25621 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25622 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25623 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25624 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25625 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25626 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
25627 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25628 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25629 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25630 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}};
25631 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25632 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25633 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25634 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25635 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25636 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25637 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}};
25638 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25639 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25640 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25641 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25642 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25643 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25644 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25645 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25646 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25647
25648 static swig_type_info *swig_types_initial[] = {
25649 _swigt__p_wxLogChain,
25650 _swigt__p_wxMutexGuiLocker,
25651 _swigt__p_wxFileHistory,
25652 _swigt__p_wxLog,
25653 _swigt__p_wxDateTime__TimeZone,
25654 _swigt__p_wxMenu,
25655 _swigt__p_wxEvent,
25656 _swigt__p_wxConfigBase,
25657 _swigt__p_wxWave,
25658 _swigt__p_wxFileType,
25659 _swigt__p_wxLogGui,
25660 _swigt__p_wxFont,
25661 _swigt__p_wxDataFormat,
25662 _swigt__p_wxTimerEvent,
25663 _swigt__p_wxCaret,
25664 _swigt__p_int,
25665 _swigt__p_wxSize,
25666 _swigt__p_wxClipboard,
25667 _swigt__p_wxStopWatch,
25668 _swigt__p_wxDC,
25669 _swigt__p_wxClipboardLocker,
25670 _swigt__p_wxIcon,
25671 _swigt__p_wxLogStderr,
25672 _swigt__p_wxLogTextCtrl,
25673 _swigt__p_wxTextCtrl,
25674 _swigt__p_wxBusyCursor,
25675 _swigt__p_wxFileDataObject,
25676 _swigt__p_wxPyBitmapDataObject,
25677 _swigt__p_wxPyTextDataObject,
25678 _swigt__p_wxBitmapDataObject,
25679 _swigt__p_wxTextDataObject,
25680 _swigt__p_wxDataObject,
25681 _swigt__p_wxCustomDataObject,
25682 _swigt__p_wxURLDataObject,
25683 _swigt__p_wxMetafileDataObject,
25684 _swigt__p_wxTimerRunner,
25685 _swigt__p_wxLogWindow,
25686 _swigt__p_wxTimeSpan,
25687 _swigt__p_wxArrayString,
25688 _swigt__p_wxWindowDisabler,
25689 _swigt__p_wxToolTip,
25690 _swigt__p_wxDataObjectComposite,
25691 _swigt__p_wxFileConfig,
25692 _swigt__p_wxSystemSettings,
25693 _swigt__p_wxPyDataObjectSimple,
25694 _swigt__p_wxDataObjectSimple,
25695 _swigt__p_wxEvtHandler,
25696 _swigt__p_wxRect,
25697 _swigt__p_wxSingleInstanceChecker,
25698 _swigt__p_wxFileTypeInfo,
25699 _swigt__p_wxFrame,
25700 _swigt__p_wxTimer,
25701 _swigt__p_wxMimeTypesManager,
25702 _swigt__p_wxPyArtProvider,
25703 _swigt__p_wxPyTipProvider,
25704 _swigt__p_wxTipProvider,
25705 _swigt__p_wxJoystick,
25706 _swigt__p_wxSystemOptions,
25707 _swigt__p_wxPoint,
25708 _swigt__p_wxJoystickEvent,
25709 _swigt__p_wxCursor,
25710 _swigt__p_wxObject,
25711 _swigt__p_wxOutputStream,
25712 _swigt__p_wxDateTime,
25713 _swigt__p_wxPyDropSource,
25714 _swigt__p_wxWindow,
25715 _swigt__p_wxString,
25716 _swigt__p_wxPyProcess,
25717 _swigt__p_wxBitmap,
25718 _swigt__p_wxConfig,
25719 _swigt__p_wxChar,
25720 _swigt__p_wxBusyInfo,
25721 _swigt__p_wxPyDropTarget,
25722 _swigt__p_wxPyTextDropTarget,
25723 _swigt__p_wxPyFileDropTarget,
25724 _swigt__p_wxProcessEvent,
25725 _swigt__p_wxPyLog,
25726 _swigt__p_wxLogNull,
25727 _swigt__p_wxColour,
25728 _swigt__p_wxConfigPathChanger,
25729 _swigt__p_wxPyTimer,
25730 _swigt__p_wxDateSpan,
25731 0
25732 };
25733
25734
25735 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25736
25737 static swig_const_info swig_const_table[] = {
25738 { SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
25739 { SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
25740 { SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
25741 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
25742 { SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
25743 { SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
25744 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
25745 { SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
25746 { SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
25747 { SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
25748 { SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
25749 { SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
25750 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
25751 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
25752 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
25753 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
25754 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
25755 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
25756 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
25757 { SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
25758 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
25759 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
25760 { SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
25761 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
25762 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
25763 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
25764 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
25765 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
25766 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
25767 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
25768 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
25769 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
25770 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
25771 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
25772 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
25773 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
25774 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
25775 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
25776 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
25777 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
25778 { SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
25779 { SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
25780 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
25781 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
25782 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
25783 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
25784 { SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
25785 { SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
25786 { SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
25787 { SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
25788 { SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
25789 { SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
25790 { SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
25791 { SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
25792 { SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
25793 { SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
25794 { SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
25795 { SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
25796 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
25797 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
25798 { SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
25799 { SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
25800 { SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
25801 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
25802 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
25803 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
25804 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
25805 { SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
25806 { SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
25807 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
25808 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
25809 { SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
25810 { SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
25811 { SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
25812 { SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
25813 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
25814 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
25815 { SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
25816 { SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
25817 { SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
25818 { SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
25819 { SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
25820 { SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
25821 { SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
25822 { SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
25823 { SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
25824 { SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
25825 { SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
25826 { SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
25827 { SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
25828 { SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
25829 { SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
25830 { SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
25831 { SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
25832 { SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
25833 { SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
25834 { SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
25835 { SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
25836 { SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
25837 { SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
25838 { SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
25839 { SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
25840 { SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
25841 { SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
25842 { SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
25843 { SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
25844 { SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
25845 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25846 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25847 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25848 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25849 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25850 { SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25851 { SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25852 { SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25853 { SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25854 { SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25855 { SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
25856 { SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
25857 { SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
25858 { SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
25859 { SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
25860 { SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
25861 { SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
25862 { SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
25863 { SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
25864 { SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
25865 { SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
25866 { SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
25867 { SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
25868 { SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
25869 { SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
25870 { SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
25871 { SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
25872 { SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
25873 { SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
25874 { SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
25875 { SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
25876 { SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
25877 { SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
25878 { SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
25879 { SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
25880 { SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
25881 { SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
25882 { SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
25883 { SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
25884 { SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
25885 { SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
25886 { SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
25887 { SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
25888 { SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
25889 { SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
25890 { SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
25891 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
25892 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
25893 { SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
25894 { SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
25895 { SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
25896 { SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
25897 { SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
25898 { SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
25899 { SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
25900 { SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
25901 { SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
25902 { SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
25903 { SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
25904 { SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
25905 { SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
25906 { SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
25907 { SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
25908 { SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
25909 { SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
25910 { SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
25911 { SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
25912 { SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
25913 { SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
25914 { SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
25915 { SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
25916 { SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
25917 { SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
25918 { SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
25919 { SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
25920 { SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
25921 { SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
25922 { SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
25923 { SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
25924 { SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
25925 { SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
25926 { SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
25927 { SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
25928 { SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
25929 { SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
25930 { SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
25931 { SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
25932 { SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
25933 { SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
25934 { SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
25935 { SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
25936 { SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
25937 { SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
25938 { SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
25939 { SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
25940 { SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
25941 { SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
25942 { SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
25943 { SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
25944 { SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
25945 { SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
25946 { SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
25947 { SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
25948 { SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
25949 { SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
25950 { SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
25951 { SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
25952 { SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
25953 { SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
25954 { SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
25955 { SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
25956 { SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
25957 { SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
25958 { SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
25959 { SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
25960 { SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
25961 { SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
25962 { SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
25963 { SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
25964 { SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
25965 { SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
25966 { SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
25967 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
25968 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
25969 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
25970 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
25971 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
25972 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
25973 { SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
25974 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
25975 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
25976 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
25977 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
25978 { SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
25979 { SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
25980 { SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
25981 { SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
25982 { SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
25983 { SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
25984 { SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
25985 { SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
25986 { SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
25987 { SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
25988 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
25989 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
25990 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
25991 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
25992 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
25993 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
25994 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
25995 { SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
25996 { SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
25997 { SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
25998 { SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
25999 { SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26000 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26001 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26002 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26003 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26004 { SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26005 { SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26006 { SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26007 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26008 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26009 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26010 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26011 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26012 { SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26013 { SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26014 { SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26015 { SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26016 { SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26017 { SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26018 { SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26019 { SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26020 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26021 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26022 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26023 { SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26024 { SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26025 { SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26026 { SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26027 { SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26028 { SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26029 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26030 { SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26031 { SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26032 { SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26033 { SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26034 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26035 { SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26036 { SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26037 { SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26038 { SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26039 { SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26040 { SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26041 { SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26042 { SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26043 { SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26044 { SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26045 { SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26046 { SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26047 { SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26048 { SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26049 { SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26050 { SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26051 { SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26052 { SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26053 { SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26054 { SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26055 { SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26056 { SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26057 { SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26058 { SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26059 { SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26060 { SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26061 { SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26062 { SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26063 { SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26064 { SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26065 { SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26066 { SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26067 { SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26068 { SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26069 { SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26070 { SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26071 { SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26072 { SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26073 { SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26074 { SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26075 { SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26076 { SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26077 { SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26078 { SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26079 { SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26080 { SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26081 { SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26082 { SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26083 { SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26084 { SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26085 { SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26086 { SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26087 { SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26088 { SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26089 { SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26090 { SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26091 { SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26092 { SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26093 { SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26094 { SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26095 { SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26096 {0}};
26097
26098 #ifdef __cplusplus
26099 }
26100 #endif
26101
26102 #ifdef __cplusplus
26103 extern "C"
26104 #endif
26105 SWIGEXPORT(void) SWIG_init(void) {
26106 static PyObject *SWIG_globals = 0;
26107 static int typeinit = 0;
26108 PyObject *m, *d;
26109 int i;
26110 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26111 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26112 d = PyModule_GetDict(m);
26113
26114 if (!typeinit) {
26115 for (i = 0; swig_types_initial[i]; i++) {
26116 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26117 }
26118 typeinit = 1;
26119 }
26120 SWIG_InstallConstants(d,swig_const_table);
26121
26122 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26123 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26124
26125 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26126
26127 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26128 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26129 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26130 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26131 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26132 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26133 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26134 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26135 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26136 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26137 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26138 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26139 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26140 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26141 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26142 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26143 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26144 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26145 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26146 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26147 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26148 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26149 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26150 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26151 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26152 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26153 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26154 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26155 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26156 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26157 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26158 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26159 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26160 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26161 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26162 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26163 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26164 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26165 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26166 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26167 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26168 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26169 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26170 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26171
26172 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26173
26174 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26175
26176 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26177 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26178 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26179 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26180
26181 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26182 }
26183