]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc_wrap.cpp
More docstrings and rearrainged a couple things.
[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 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
793
794
795
796 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
797 PyObject* ret = PyTuple_New(3);
798 if (ret) {
799 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
800 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
801 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
802 }
803 return ret;
804 }
805
806 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
807 bool cont;
808 long index = 0;
809 wxString value;
810
811 cont = self->GetFirstGroup(value, index);
812 return __EnumerationHelper(cont, value, index);
813 }
814 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
815 bool cont;
816 wxString value;
817
818 cont = self->GetNextGroup(value, index);
819 return __EnumerationHelper(cont, value, index);
820 }
821 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
822 bool cont;
823 long index = 0;
824 wxString value;
825
826 cont = self->GetFirstEntry(value, index);
827 return __EnumerationHelper(cont, value, index);
828 }
829 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
830 bool cont;
831 wxString value;
832
833 cont = self->GetNextEntry(value, index);
834 return __EnumerationHelper(cont, value, index);
835 }
836 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
837 long rv;
838 self->Read(key, &rv, defaultVal);
839 return rv;
840 }
841 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
842 double rv;
843 self->Read(key, &rv, defaultVal);
844 return rv;
845 }
846 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
847 bool rv;
848 self->Read(key, &rv, defaultVal);
849 return rv;
850 }
851
852 #include <wx/datetime.h>
853
854 DECLARE_DEF_STRING2(DateFormatStr, wxT("%c"));
855 DECLARE_DEF_STRING2(TimeSpanFormatStr, wxT("%H:%M:%S"));
856
857
858
859 #define LOCAL_TZ wxDateTime::Local
860
861 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
862 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
863 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
864 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
865 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
866 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
867 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
868 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
869 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
870 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
871 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
872 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
873 const wxChar* rv;
874 const wxChar* _date = date;
875 rv = self->ParseRfc822Date(_date);
876 if (rv == NULL) return -1;
877 return rv - _date;
878 }
879 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
880 const wxChar* rv;
881 const wxChar* _date = date;
882 rv = self->ParseFormat(_date, format, dateDef);
883 if (rv == NULL) return -1;
884 return rv - _date;
885 }
886 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
887 const wxChar* rv;
888 const wxChar* _datetime = datetime;
889 rv = self->ParseDateTime(_datetime);
890 if (rv == NULL) return -1;
891 return rv - _datetime;
892 }
893 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
894 const wxChar* rv;
895 const wxChar* _date = date;
896 rv = self->ParseDate(_date);
897 if (rv == NULL) return -1;
898 return rv - _date;
899 }
900 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
901 const wxChar* rv;
902 const wxChar* _time = time;
903 rv = self->ParseTime(_time);
904 if (rv == NULL) return -1;
905 return rv - _time;
906 }
907 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
908 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
909 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
910 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
911 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
912 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
913 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
914 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
915 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
916 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
917 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
918 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
919 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
920 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
921 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
922 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
923
924 #include <wx/dataobj.h>
925
926 // Create a new class for wxPython to use
927 class wxPyDataObjectSimple : public wxDataObjectSimple {
928 public:
929 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
930 : wxDataObjectSimple(format) {}
931
932 DEC_PYCALLBACK_SIZET__const(GetDataSize);
933 bool GetDataHere(void *buf) const;
934 bool SetData(size_t len, const void *buf) const;
935 PYPRIVATE;
936 };
937
938 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
939
940 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
941 // We need to get the data for this object and write it to buf. I think
942 // the best way to do this for wxPython is to have the Python method
943 // return either a string or None and then act appropriately with the
944 // C++ version.
945
946 bool rval = False;
947 wxPyBeginBlockThreads();
948 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
949 PyObject* ro;
950 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
951 if (ro) {
952 rval = (ro != Py_None && PyString_Check(ro));
953 if (rval)
954 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
955 Py_DECREF(ro);
956 }
957 }
958 wxPyEndBlockThreads();
959 return rval;
960 }
961
962 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
963 // For this one we simply need to make a string from buf and len
964 // and send it to the Python method.
965 bool rval = False;
966 wxPyBeginBlockThreads();
967 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
968 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
969 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
970 Py_DECREF(data);
971 }
972 wxPyEndBlockThreads();
973 return rval;
974 }
975
976 // Create a new class for wxPython to use
977 class wxPyTextDataObject : public wxTextDataObject {
978 public:
979 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
980 : wxTextDataObject(text) {}
981
982 DEC_PYCALLBACK_SIZET__const(GetTextLength);
983 DEC_PYCALLBACK_STRING__const(GetText);
984 DEC_PYCALLBACK__STRING(SetText);
985 PYPRIVATE;
986 };
987
988 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
989 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
990 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
991
992
993 // Create a new class for wxPython to use
994 class wxPyBitmapDataObject : public wxBitmapDataObject {
995 public:
996 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
997 : wxBitmapDataObject(bitmap) {}
998
999 wxBitmap GetBitmap() const;
1000 void SetBitmap(const wxBitmap& bitmap);
1001 PYPRIVATE;
1002 };
1003
1004 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1005 wxBitmap* rval = &wxNullBitmap;
1006 wxPyBeginBlockThreads();
1007 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1008 PyObject* ro;
1009 wxBitmap* ptr;
1010 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1011 if (ro) {
1012 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1013 rval = ptr;
1014 Py_DECREF(ro);
1015 }
1016 }
1017 wxPyEndBlockThreads();
1018 return *rval;
1019 }
1020
1021 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1022 wxPyBeginBlockThreads();
1023 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1024 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1025 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1026 Py_DECREF(bo);
1027 }
1028 wxPyEndBlockThreads();
1029 }
1030
1031 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1032 if (PyString_Check(data)) {
1033 // for Python we just call SetData here since we always need it to make a copy.
1034 self->SetData(PyString_Size(data), PyString_AsString(data));
1035 }
1036 else {
1037 // raise a TypeError if not a string
1038 PyErr_SetString(PyExc_TypeError, "String expected.");
1039 }
1040 }
1041 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1042 if (PyString_Check(data)) {
1043 return self->SetData(PyString_Size(data), PyString_AsString(data));
1044 }
1045 else {
1046 // raise a TypeError if not a string
1047 PyErr_SetString(PyExc_TypeError, "String expected.");
1048 return False;
1049 }
1050 }
1051 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1052 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1053 }
1054
1055 class wxMetafileDataObject : public wxDataObjectSimple
1056 {
1057 public:
1058 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); }
1059 };
1060
1061
1062
1063
1064 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1065
1066
1067 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1068 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1069 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1070 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1071 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1072
1073
1074 class wxPyTextDropTarget : public wxTextDropTarget {
1075 public:
1076 wxPyTextDropTarget() {}
1077
1078 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1079
1080 DEC_PYCALLBACK__(OnLeave);
1081 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1082 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1083 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1084 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1085
1086 PYPRIVATE;
1087 };
1088
1089 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1090 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1091 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1092 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1093 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1094 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1095
1096
1097
1098 class wxPyFileDropTarget : public wxFileDropTarget {
1099 public:
1100 wxPyFileDropTarget() {}
1101
1102 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1103
1104 DEC_PYCALLBACK__(OnLeave);
1105 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1106 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1107 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1108 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1109
1110 PYPRIVATE;
1111 };
1112
1113 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1114 const wxArrayString& filenames) {
1115 bool rval = False;
1116 wxPyBeginBlockThreads();
1117 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1118 PyObject* list = wxArrayString2PyList_helper(filenames);
1119 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1120 Py_DECREF(list);
1121 }
1122 wxPyEndBlockThreads();
1123 return rval;
1124 }
1125
1126
1127
1128 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1129 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1130 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1131 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1132 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1133
1134
1135
1136
1137 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1138 #ifdef __cplusplus
1139 extern "C" {
1140 #endif
1141 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1142 PyObject *resultobj;
1143 int arg1 ;
1144 wxColour result;
1145 char *kwnames[] = {
1146 (char *) "index", NULL
1147 };
1148
1149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1150 {
1151 PyThreadState* __tstate = wxPyBeginAllowThreads();
1152 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1153
1154 wxPyEndAllowThreads(__tstate);
1155 if (PyErr_Occurred()) SWIG_fail;
1156 }
1157 {
1158 wxColour * resultptr;
1159 resultptr = new wxColour((wxColour &) result);
1160 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1161 }
1162 return resultobj;
1163 fail:
1164 return NULL;
1165 }
1166
1167
1168 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1169 PyObject *resultobj;
1170 int arg1 ;
1171 wxFont result;
1172 char *kwnames[] = {
1173 (char *) "index", NULL
1174 };
1175
1176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1177 {
1178 PyThreadState* __tstate = wxPyBeginAllowThreads();
1179 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1180
1181 wxPyEndAllowThreads(__tstate);
1182 if (PyErr_Occurred()) SWIG_fail;
1183 }
1184 {
1185 wxFont * resultptr;
1186 resultptr = new wxFont((wxFont &) result);
1187 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1188 }
1189 return resultobj;
1190 fail:
1191 return NULL;
1192 }
1193
1194
1195 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1196 PyObject *resultobj;
1197 int arg1 ;
1198 int result;
1199 char *kwnames[] = {
1200 (char *) "index", NULL
1201 };
1202
1203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1204 {
1205 PyThreadState* __tstate = wxPyBeginAllowThreads();
1206 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1207
1208 wxPyEndAllowThreads(__tstate);
1209 if (PyErr_Occurred()) SWIG_fail;
1210 }
1211 resultobj = PyInt_FromLong((long)result);
1212 return resultobj;
1213 fail:
1214 return NULL;
1215 }
1216
1217
1218 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1219 PyObject *resultobj;
1220 int arg1 ;
1221 bool result;
1222 char *kwnames[] = {
1223 (char *) "index", NULL
1224 };
1225
1226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1227 {
1228 PyThreadState* __tstate = wxPyBeginAllowThreads();
1229 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1230
1231 wxPyEndAllowThreads(__tstate);
1232 if (PyErr_Occurred()) SWIG_fail;
1233 }
1234 resultobj = PyInt_FromLong((long)result);
1235 return resultobj;
1236 fail:
1237 return NULL;
1238 }
1239
1240
1241 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1242 PyObject *resultobj;
1243 int result;
1244 char *kwnames[] = {
1245 NULL
1246 };
1247
1248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1249 {
1250 PyThreadState* __tstate = wxPyBeginAllowThreads();
1251 result = (int)wxSystemSettings::GetScreenType();
1252
1253 wxPyEndAllowThreads(__tstate);
1254 if (PyErr_Occurred()) SWIG_fail;
1255 }
1256 resultobj = PyInt_FromLong((long)result);
1257 return resultobj;
1258 fail:
1259 return NULL;
1260 }
1261
1262
1263 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1264 PyObject *resultobj;
1265 int arg1 ;
1266 char *kwnames[] = {
1267 (char *) "screen", NULL
1268 };
1269
1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1271 {
1272 PyThreadState* __tstate = wxPyBeginAllowThreads();
1273 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1274
1275 wxPyEndAllowThreads(__tstate);
1276 if (PyErr_Occurred()) SWIG_fail;
1277 }
1278 Py_INCREF(Py_None); resultobj = Py_None;
1279 return resultobj;
1280 fail:
1281 return NULL;
1282 }
1283
1284
1285 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1286 PyObject *obj;
1287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1288 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1289 Py_INCREF(obj);
1290 return Py_BuildValue((char *)"");
1291 }
1292 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject *resultobj;
1294 wxSystemOptions *result;
1295 char *kwnames[] = {
1296 NULL
1297 };
1298
1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1300 {
1301 PyThreadState* __tstate = wxPyBeginAllowThreads();
1302 result = (wxSystemOptions *)new wxSystemOptions();
1303
1304 wxPyEndAllowThreads(__tstate);
1305 if (PyErr_Occurred()) SWIG_fail;
1306 }
1307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1308 return resultobj;
1309 fail:
1310 return NULL;
1311 }
1312
1313
1314 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1315 PyObject *resultobj;
1316 wxString *arg1 = 0 ;
1317 wxString *arg2 = 0 ;
1318 bool temp1 = False ;
1319 bool temp2 = False ;
1320 PyObject * obj0 = 0 ;
1321 PyObject * obj1 = 0 ;
1322 char *kwnames[] = {
1323 (char *) "name",(char *) "value", NULL
1324 };
1325
1326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1327 {
1328 arg1 = wxString_in_helper(obj0);
1329 if (arg1 == NULL) SWIG_fail;
1330 temp1 = True;
1331 }
1332 {
1333 arg2 = wxString_in_helper(obj1);
1334 if (arg2 == NULL) SWIG_fail;
1335 temp2 = True;
1336 }
1337 {
1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
1339 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1340
1341 wxPyEndAllowThreads(__tstate);
1342 if (PyErr_Occurred()) SWIG_fail;
1343 }
1344 Py_INCREF(Py_None); resultobj = Py_None;
1345 {
1346 if (temp1)
1347 delete arg1;
1348 }
1349 {
1350 if (temp2)
1351 delete arg2;
1352 }
1353 return resultobj;
1354 fail:
1355 {
1356 if (temp1)
1357 delete arg1;
1358 }
1359 {
1360 if (temp2)
1361 delete arg2;
1362 }
1363 return NULL;
1364 }
1365
1366
1367 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxString *arg1 = 0 ;
1370 int arg2 ;
1371 bool temp1 = False ;
1372 PyObject * obj0 = 0 ;
1373 char *kwnames[] = {
1374 (char *) "name",(char *) "value", NULL
1375 };
1376
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1378 {
1379 arg1 = wxString_in_helper(obj0);
1380 if (arg1 == NULL) SWIG_fail;
1381 temp1 = True;
1382 }
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 Py_INCREF(Py_None); resultobj = Py_None;
1391 {
1392 if (temp1)
1393 delete arg1;
1394 }
1395 return resultobj;
1396 fail:
1397 {
1398 if (temp1)
1399 delete arg1;
1400 }
1401 return NULL;
1402 }
1403
1404
1405 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1406 PyObject *resultobj;
1407 wxString *arg1 = 0 ;
1408 wxString result;
1409 bool temp1 = False ;
1410 PyObject * obj0 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "name", NULL
1413 };
1414
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1416 {
1417 arg1 = wxString_in_helper(obj0);
1418 if (arg1 == NULL) SWIG_fail;
1419 temp1 = True;
1420 }
1421 {
1422 PyThreadState* __tstate = wxPyBeginAllowThreads();
1423 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1424
1425 wxPyEndAllowThreads(__tstate);
1426 if (PyErr_Occurred()) SWIG_fail;
1427 }
1428 {
1429 #if wxUSE_UNICODE
1430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1431 #else
1432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1433 #endif
1434 }
1435 {
1436 if (temp1)
1437 delete arg1;
1438 }
1439 return resultobj;
1440 fail:
1441 {
1442 if (temp1)
1443 delete arg1;
1444 }
1445 return NULL;
1446 }
1447
1448
1449 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject *resultobj;
1451 wxString *arg1 = 0 ;
1452 int result;
1453 bool temp1 = False ;
1454 PyObject * obj0 = 0 ;
1455 char *kwnames[] = {
1456 (char *) "name", NULL
1457 };
1458
1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1460 {
1461 arg1 = wxString_in_helper(obj0);
1462 if (arg1 == NULL) SWIG_fail;
1463 temp1 = True;
1464 }
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 resultobj = PyInt_FromLong((long)result);
1473 {
1474 if (temp1)
1475 delete arg1;
1476 }
1477 return resultobj;
1478 fail:
1479 {
1480 if (temp1)
1481 delete arg1;
1482 }
1483 return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxString *arg1 = 0 ;
1490 bool result;
1491 bool temp1 = False ;
1492 PyObject * obj0 = 0 ;
1493 char *kwnames[] = {
1494 (char *) "name", NULL
1495 };
1496
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1498 {
1499 arg1 = wxString_in_helper(obj0);
1500 if (arg1 == NULL) SWIG_fail;
1501 temp1 = True;
1502 }
1503 {
1504 PyThreadState* __tstate = wxPyBeginAllowThreads();
1505 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1506
1507 wxPyEndAllowThreads(__tstate);
1508 if (PyErr_Occurred()) SWIG_fail;
1509 }
1510 resultobj = PyInt_FromLong((long)result);
1511 {
1512 if (temp1)
1513 delete arg1;
1514 }
1515 return resultobj;
1516 fail:
1517 {
1518 if (temp1)
1519 delete arg1;
1520 }
1521 return NULL;
1522 }
1523
1524
1525 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1526 PyObject *obj;
1527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1528 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1529 Py_INCREF(obj);
1530 return Py_BuildValue((char *)"");
1531 }
1532 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1533 PyObject *resultobj;
1534 long result;
1535 char *kwnames[] = {
1536 NULL
1537 };
1538
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (long)wxNewId();
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = PyInt_FromLong((long)result);
1548 return resultobj;
1549 fail:
1550 return NULL;
1551 }
1552
1553
1554 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1555 PyObject *resultobj;
1556 long arg1 ;
1557 char *kwnames[] = {
1558 (char *) "id", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1562 {
1563 PyThreadState* __tstate = wxPyBeginAllowThreads();
1564 wxRegisterId(arg1);
1565
1566 wxPyEndAllowThreads(__tstate);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
1569 Py_INCREF(Py_None); resultobj = Py_None;
1570 return resultobj;
1571 fail:
1572 return NULL;
1573 }
1574
1575
1576 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1577 PyObject *resultobj;
1578 long result;
1579 char *kwnames[] = {
1580 NULL
1581 };
1582
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1584 {
1585 PyThreadState* __tstate = wxPyBeginAllowThreads();
1586 result = (long)wxGetCurrentId();
1587
1588 wxPyEndAllowThreads(__tstate);
1589 if (PyErr_Occurred()) SWIG_fail;
1590 }
1591 resultobj = PyInt_FromLong((long)result);
1592 return resultobj;
1593 fail:
1594 return NULL;
1595 }
1596
1597
1598 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1599 PyObject *resultobj;
1600 char *kwnames[] = {
1601 NULL
1602 };
1603
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 wxBell();
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 Py_INCREF(Py_None); resultobj = Py_None;
1613 return resultobj;
1614 fail:
1615 return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 char *kwnames[] = {
1622 NULL
1623 };
1624
1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1626 {
1627 PyThreadState* __tstate = wxPyBeginAllowThreads();
1628 wxEndBusyCursor();
1629
1630 wxPyEndAllowThreads(__tstate);
1631 if (PyErr_Occurred()) SWIG_fail;
1632 }
1633 Py_INCREF(Py_None); resultobj = Py_None;
1634 return resultobj;
1635 fail:
1636 return NULL;
1637 }
1638
1639
1640 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1641 PyObject *resultobj;
1642 bool arg1 = (bool) True ;
1643 long result;
1644 PyObject * obj0 = 0 ;
1645 char *kwnames[] = {
1646 (char *) "resetTimer", NULL
1647 };
1648
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1650 if (obj0) {
1651 arg1 = PyInt_AsLong(obj0) ? true : false;
1652 if (PyErr_Occurred()) SWIG_fail;
1653 }
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
1656 result = (long)wxGetElapsedTime(arg1);
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
1661 resultobj = PyInt_FromLong((long)result);
1662 return resultobj;
1663 fail:
1664 return NULL;
1665 }
1666
1667
1668 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1669 PyObject *resultobj;
1670 int *arg1 = (int *) 0 ;
1671 int *arg2 = (int *) 0 ;
1672 int temp1 ;
1673 int temp2 ;
1674 char *kwnames[] = {
1675 NULL
1676 };
1677
1678 arg1 = &temp1;
1679 arg2 = &temp2;
1680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 wxGetMousePosition(arg1,arg2);
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 Py_INCREF(Py_None); resultobj = Py_None;
1689 {
1690 PyObject *o = PyInt_FromLong((long) (*arg1));
1691 resultobj = t_output_helper(resultobj,o);
1692 }
1693 {
1694 PyObject *o = PyInt_FromLong((long) (*arg2));
1695 resultobj = t_output_helper(resultobj,o);
1696 }
1697 return resultobj;
1698 fail:
1699 return NULL;
1700 }
1701
1702
1703 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject *resultobj;
1705 bool result;
1706 char *kwnames[] = {
1707 NULL
1708 };
1709
1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 result = (bool)wxIsBusy();
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 resultobj = PyInt_FromLong((long)result);
1719 return resultobj;
1720 fail:
1721 return NULL;
1722 }
1723
1724
1725 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1726 PyObject *resultobj;
1727 wxString result;
1728 char *kwnames[] = {
1729 NULL
1730 };
1731
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1733 {
1734 PyThreadState* __tstate = wxPyBeginAllowThreads();
1735 result = wxNow();
1736
1737 wxPyEndAllowThreads(__tstate);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 }
1740 {
1741 #if wxUSE_UNICODE
1742 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1743 #else
1744 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1745 #endif
1746 }
1747 return resultobj;
1748 fail:
1749 return NULL;
1750 }
1751
1752
1753 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject *resultobj;
1755 wxString const &arg1_defvalue = wxPyEmptyString ;
1756 wxString *arg1 = (wxString *) &arg1_defvalue ;
1757 bool result;
1758 bool temp1 = False ;
1759 PyObject * obj0 = 0 ;
1760 char *kwnames[] = {
1761 (char *) "command", NULL
1762 };
1763
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1765 if (obj0) {
1766 {
1767 arg1 = wxString_in_helper(obj0);
1768 if (arg1 == NULL) SWIG_fail;
1769 temp1 = True;
1770 }
1771 }
1772 {
1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
1774 result = (bool)wxShell((wxString const &)*arg1);
1775
1776 wxPyEndAllowThreads(__tstate);
1777 if (PyErr_Occurred()) SWIG_fail;
1778 }
1779 resultobj = PyInt_FromLong((long)result);
1780 {
1781 if (temp1)
1782 delete arg1;
1783 }
1784 return resultobj;
1785 fail:
1786 {
1787 if (temp1)
1788 delete arg1;
1789 }
1790 return NULL;
1791 }
1792
1793
1794 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject *resultobj;
1796 char *kwnames[] = {
1797 NULL
1798 };
1799
1800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1801 {
1802 PyThreadState* __tstate = wxPyBeginAllowThreads();
1803 wxStartTimer();
1804
1805 wxPyEndAllowThreads(__tstate);
1806 if (PyErr_Occurred()) SWIG_fail;
1807 }
1808 Py_INCREF(Py_None); resultobj = Py_None;
1809 return resultobj;
1810 fail:
1811 return NULL;
1812 }
1813
1814
1815 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1816 PyObject *resultobj;
1817 int *arg1 = (int *) 0 ;
1818 int *arg2 = (int *) 0 ;
1819 int result;
1820 int temp1 ;
1821 int temp2 ;
1822 char *kwnames[] = {
1823 NULL
1824 };
1825
1826 arg1 = &temp1;
1827 arg2 = &temp2;
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 result = (int)wxGetOsVersion(arg1,arg2);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 resultobj = PyInt_FromLong((long)result);
1837 {
1838 PyObject *o = PyInt_FromLong((long) (*arg1));
1839 resultobj = t_output_helper(resultobj,o);
1840 }
1841 {
1842 PyObject *o = PyInt_FromLong((long) (*arg2));
1843 resultobj = t_output_helper(resultobj,o);
1844 }
1845 return resultobj;
1846 fail:
1847 return NULL;
1848 }
1849
1850
1851 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1852 PyObject *resultobj;
1853 wxString result;
1854 char *kwnames[] = {
1855 NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 result = wxGetOsDescription();
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 {
1867 #if wxUSE_UNICODE
1868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1869 #else
1870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1871 #endif
1872 }
1873 return resultobj;
1874 fail:
1875 return NULL;
1876 }
1877
1878
1879 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1880 PyObject *resultobj;
1881 long result;
1882 char *kwnames[] = {
1883 NULL
1884 };
1885
1886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 result = (long)wxGetFreeMemory();
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 resultobj = PyInt_FromLong((long)result);
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 int arg1 ;
1904 bool result;
1905 char *kwnames[] = {
1906 (char *) "wFlags", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1910 {
1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
1912 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1913
1914 wxPyEndAllowThreads(__tstate);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 resultobj = PyInt_FromLong((long)result);
1918 return resultobj;
1919 fail:
1920 return NULL;
1921 }
1922
1923
1924 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1925 PyObject *resultobj;
1926 int arg1 ;
1927 char *kwnames[] = {
1928 (char *) "secs", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 wxSleep(arg1);
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 Py_INCREF(Py_None); resultobj = Py_None;
1940 return resultobj;
1941 fail:
1942 return NULL;
1943 }
1944
1945
1946 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 unsigned long arg1 ;
1949 PyObject * obj0 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "milliseconds", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
1955 arg1 = (unsigned long) PyInt_AsLong(obj0);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 {
1958 PyThreadState* __tstate = wxPyBeginAllowThreads();
1959 wxUsleep(arg1);
1960
1961 wxPyEndAllowThreads(__tstate);
1962 if (PyErr_Occurred()) SWIG_fail;
1963 }
1964 Py_INCREF(Py_None); resultobj = Py_None;
1965 return resultobj;
1966 fail:
1967 return NULL;
1968 }
1969
1970
1971 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
1972 PyObject *resultobj;
1973 bool arg1 ;
1974 PyObject * obj0 = 0 ;
1975 char *kwnames[] = {
1976 (char *) "enable", NULL
1977 };
1978
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
1980 arg1 = PyInt_AsLong(obj0) ? true : false;
1981 if (PyErr_Occurred()) SWIG_fail;
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 wxEnableTopLevelWindows(arg1);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 Py_INCREF(Py_None); resultobj = Py_None;
1990 return resultobj;
1991 fail:
1992 return NULL;
1993 }
1994
1995
1996 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 wxString *arg1 = 0 ;
1999 wxString result;
2000 bool temp1 = False ;
2001 PyObject * obj0 = 0 ;
2002 char *kwnames[] = {
2003 (char *) "in", NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2007 {
2008 arg1 = wxString_in_helper(obj0);
2009 if (arg1 == NULL) SWIG_fail;
2010 temp1 = True;
2011 }
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 result = wxStripMenuCodes((wxString const &)*arg1);
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
2019 {
2020 #if wxUSE_UNICODE
2021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2022 #else
2023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2024 #endif
2025 }
2026 {
2027 if (temp1)
2028 delete arg1;
2029 }
2030 return resultobj;
2031 fail:
2032 {
2033 if (temp1)
2034 delete arg1;
2035 }
2036 return NULL;
2037 }
2038
2039
2040 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject *resultobj;
2042 wxString result;
2043 char *kwnames[] = {
2044 NULL
2045 };
2046
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2048 {
2049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2050 result = wxGetEmailAddress();
2051
2052 wxPyEndAllowThreads(__tstate);
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 {
2056 #if wxUSE_UNICODE
2057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2058 #else
2059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2060 #endif
2061 }
2062 return resultobj;
2063 fail:
2064 return NULL;
2065 }
2066
2067
2068 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxString result;
2071 char *kwnames[] = {
2072 NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 result = wxGetHostName();
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 }
2083 {
2084 #if wxUSE_UNICODE
2085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2086 #else
2087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2088 #endif
2089 }
2090 return resultobj;
2091 fail:
2092 return NULL;
2093 }
2094
2095
2096 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2097 PyObject *resultobj;
2098 wxString result;
2099 char *kwnames[] = {
2100 NULL
2101 };
2102
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2104 {
2105 PyThreadState* __tstate = wxPyBeginAllowThreads();
2106 result = wxGetFullHostName();
2107
2108 wxPyEndAllowThreads(__tstate);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 }
2111 {
2112 #if wxUSE_UNICODE
2113 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2114 #else
2115 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2116 #endif
2117 }
2118 return resultobj;
2119 fail:
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2125 PyObject *resultobj;
2126 wxString result;
2127 char *kwnames[] = {
2128 NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2132 {
2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
2134 result = wxGetUserId();
2135
2136 wxPyEndAllowThreads(__tstate);
2137 if (PyErr_Occurred()) SWIG_fail;
2138 }
2139 {
2140 #if wxUSE_UNICODE
2141 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2142 #else
2143 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2144 #endif
2145 }
2146 return resultobj;
2147 fail:
2148 return NULL;
2149 }
2150
2151
2152 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2153 PyObject *resultobj;
2154 wxString result;
2155 char *kwnames[] = {
2156 NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 result = wxGetUserName();
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
2167 {
2168 #if wxUSE_UNICODE
2169 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2170 #else
2171 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2172 #endif
2173 }
2174 return resultobj;
2175 fail:
2176 return NULL;
2177 }
2178
2179
2180 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2181 PyObject *resultobj;
2182 wxString result;
2183 char *kwnames[] = {
2184 NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2188 {
2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
2190 result = wxGetHomeDir();
2191
2192 wxPyEndAllowThreads(__tstate);
2193 if (PyErr_Occurred()) SWIG_fail;
2194 }
2195 {
2196 #if wxUSE_UNICODE
2197 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2198 #else
2199 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2200 #endif
2201 }
2202 return resultobj;
2203 fail:
2204 return NULL;
2205 }
2206
2207
2208 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2209 PyObject *resultobj;
2210 wxString const &arg1_defvalue = wxPyEmptyString ;
2211 wxString *arg1 = (wxString *) &arg1_defvalue ;
2212 wxString result;
2213 bool temp1 = False ;
2214 PyObject * obj0 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "user", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2220 if (obj0) {
2221 {
2222 arg1 = wxString_in_helper(obj0);
2223 if (arg1 == NULL) SWIG_fail;
2224 temp1 = True;
2225 }
2226 }
2227 {
2228 PyThreadState* __tstate = wxPyBeginAllowThreads();
2229 result = wxGetUserHome((wxString const &)*arg1);
2230
2231 wxPyEndAllowThreads(__tstate);
2232 if (PyErr_Occurred()) SWIG_fail;
2233 }
2234 {
2235 #if wxUSE_UNICODE
2236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2237 #else
2238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2239 #endif
2240 }
2241 {
2242 if (temp1)
2243 delete arg1;
2244 }
2245 return resultobj;
2246 fail:
2247 {
2248 if (temp1)
2249 delete arg1;
2250 }
2251 return NULL;
2252 }
2253
2254
2255 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2256 PyObject *resultobj;
2257 unsigned long result;
2258 char *kwnames[] = {
2259 NULL
2260 };
2261
2262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2263 {
2264 PyThreadState* __tstate = wxPyBeginAllowThreads();
2265 result = (unsigned long)wxGetProcessId();
2266
2267 wxPyEndAllowThreads(__tstate);
2268 if (PyErr_Occurred()) SWIG_fail;
2269 }
2270 resultobj = PyInt_FromLong((long)result);
2271 return resultobj;
2272 fail:
2273 return NULL;
2274 }
2275
2276
2277 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2278 PyObject *resultobj;
2279 char *kwnames[] = {
2280 NULL
2281 };
2282
2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 wxTrap();
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 Py_INCREF(Py_None); resultobj = Py_None;
2292 return resultobj;
2293 fail:
2294 return NULL;
2295 }
2296
2297
2298 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject *resultobj;
2300 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2301 wxString *arg1 = (wxString *) &arg1_defvalue ;
2302 wxString const &arg2_defvalue = wxPyEmptyString ;
2303 wxString *arg2 = (wxString *) &arg2_defvalue ;
2304 wxString const &arg3_defvalue = wxPyEmptyString ;
2305 wxString *arg3 = (wxString *) &arg3_defvalue ;
2306 wxString const &arg4_defvalue = wxPyEmptyString ;
2307 wxString *arg4 = (wxString *) &arg4_defvalue ;
2308 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2309 wxString *arg5 = (wxString *) &arg5_defvalue ;
2310 int arg6 = (int) 0 ;
2311 wxWindow *arg7 = (wxWindow *) NULL ;
2312 int arg8 = (int) -1 ;
2313 int arg9 = (int) -1 ;
2314 wxString result;
2315 bool temp1 = False ;
2316 bool temp2 = False ;
2317 bool temp3 = False ;
2318 bool temp4 = False ;
2319 bool temp5 = False ;
2320 PyObject * obj0 = 0 ;
2321 PyObject * obj1 = 0 ;
2322 PyObject * obj2 = 0 ;
2323 PyObject * obj3 = 0 ;
2324 PyObject * obj4 = 0 ;
2325 PyObject * obj6 = 0 ;
2326 char *kwnames[] = {
2327 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2328 };
2329
2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2331 if (obj0) {
2332 {
2333 arg1 = wxString_in_helper(obj0);
2334 if (arg1 == NULL) SWIG_fail;
2335 temp1 = True;
2336 }
2337 }
2338 if (obj1) {
2339 {
2340 arg2 = wxString_in_helper(obj1);
2341 if (arg2 == NULL) SWIG_fail;
2342 temp2 = True;
2343 }
2344 }
2345 if (obj2) {
2346 {
2347 arg3 = wxString_in_helper(obj2);
2348 if (arg3 == NULL) SWIG_fail;
2349 temp3 = True;
2350 }
2351 }
2352 if (obj3) {
2353 {
2354 arg4 = wxString_in_helper(obj3);
2355 if (arg4 == NULL) SWIG_fail;
2356 temp4 = True;
2357 }
2358 }
2359 if (obj4) {
2360 {
2361 arg5 = wxString_in_helper(obj4);
2362 if (arg5 == NULL) SWIG_fail;
2363 temp5 = True;
2364 }
2365 }
2366 if (obj6) {
2367 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2368 }
2369 {
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2372
2373 wxPyEndAllowThreads(__tstate);
2374 if (PyErr_Occurred()) SWIG_fail;
2375 }
2376 {
2377 #if wxUSE_UNICODE
2378 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2379 #else
2380 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2381 #endif
2382 }
2383 {
2384 if (temp1)
2385 delete arg1;
2386 }
2387 {
2388 if (temp2)
2389 delete arg2;
2390 }
2391 {
2392 if (temp3)
2393 delete arg3;
2394 }
2395 {
2396 if (temp4)
2397 delete arg4;
2398 }
2399 {
2400 if (temp5)
2401 delete arg5;
2402 }
2403 return resultobj;
2404 fail:
2405 {
2406 if (temp1)
2407 delete arg1;
2408 }
2409 {
2410 if (temp2)
2411 delete arg2;
2412 }
2413 {
2414 if (temp3)
2415 delete arg3;
2416 }
2417 {
2418 if (temp4)
2419 delete arg4;
2420 }
2421 {
2422 if (temp5)
2423 delete arg5;
2424 }
2425 return NULL;
2426 }
2427
2428
2429 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2430 PyObject *resultobj;
2431 wxString *arg1 = 0 ;
2432 wxString *arg2 = 0 ;
2433 wxString const &arg3_defvalue = wxPyEmptyString ;
2434 wxString *arg3 = (wxString *) &arg3_defvalue ;
2435 wxWindow *arg4 = (wxWindow *) NULL ;
2436 wxString result;
2437 bool temp1 = False ;
2438 bool temp2 = False ;
2439 bool temp3 = False ;
2440 PyObject * obj0 = 0 ;
2441 PyObject * obj1 = 0 ;
2442 PyObject * obj2 = 0 ;
2443 PyObject * obj3 = 0 ;
2444 char *kwnames[] = {
2445 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2446 };
2447
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2449 {
2450 arg1 = wxString_in_helper(obj0);
2451 if (arg1 == NULL) SWIG_fail;
2452 temp1 = True;
2453 }
2454 {
2455 arg2 = wxString_in_helper(obj1);
2456 if (arg2 == NULL) SWIG_fail;
2457 temp2 = True;
2458 }
2459 if (obj2) {
2460 {
2461 arg3 = wxString_in_helper(obj2);
2462 if (arg3 == NULL) SWIG_fail;
2463 temp3 = True;
2464 }
2465 }
2466 if (obj3) {
2467 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2468 }
2469 {
2470 PyThreadState* __tstate = wxPyBeginAllowThreads();
2471 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2472
2473 wxPyEndAllowThreads(__tstate);
2474 if (PyErr_Occurred()) SWIG_fail;
2475 }
2476 {
2477 #if wxUSE_UNICODE
2478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2479 #else
2480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2481 #endif
2482 }
2483 {
2484 if (temp1)
2485 delete arg1;
2486 }
2487 {
2488 if (temp2)
2489 delete arg2;
2490 }
2491 {
2492 if (temp3)
2493 delete arg3;
2494 }
2495 return resultobj;
2496 fail:
2497 {
2498 if (temp1)
2499 delete arg1;
2500 }
2501 {
2502 if (temp2)
2503 delete arg2;
2504 }
2505 {
2506 if (temp3)
2507 delete arg3;
2508 }
2509 return NULL;
2510 }
2511
2512
2513 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject *resultobj;
2515 wxString *arg1 = 0 ;
2516 wxString *arg2 = 0 ;
2517 wxString const &arg3_defvalue = wxPyEmptyString ;
2518 wxString *arg3 = (wxString *) &arg3_defvalue ;
2519 wxWindow *arg4 = (wxWindow *) NULL ;
2520 wxString result;
2521 bool temp1 = False ;
2522 bool temp2 = False ;
2523 bool temp3 = False ;
2524 PyObject * obj0 = 0 ;
2525 PyObject * obj1 = 0 ;
2526 PyObject * obj2 = 0 ;
2527 PyObject * obj3 = 0 ;
2528 char *kwnames[] = {
2529 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2530 };
2531
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2533 {
2534 arg1 = wxString_in_helper(obj0);
2535 if (arg1 == NULL) SWIG_fail;
2536 temp1 = True;
2537 }
2538 {
2539 arg2 = wxString_in_helper(obj1);
2540 if (arg2 == NULL) SWIG_fail;
2541 temp2 = True;
2542 }
2543 if (obj2) {
2544 {
2545 arg3 = wxString_in_helper(obj2);
2546 if (arg3 == NULL) SWIG_fail;
2547 temp3 = True;
2548 }
2549 }
2550 if (obj3) {
2551 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2552 }
2553 {
2554 PyThreadState* __tstate = wxPyBeginAllowThreads();
2555 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2556
2557 wxPyEndAllowThreads(__tstate);
2558 if (PyErr_Occurred()) SWIG_fail;
2559 }
2560 {
2561 #if wxUSE_UNICODE
2562 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2563 #else
2564 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2565 #endif
2566 }
2567 {
2568 if (temp1)
2569 delete arg1;
2570 }
2571 {
2572 if (temp2)
2573 delete arg2;
2574 }
2575 {
2576 if (temp3)
2577 delete arg3;
2578 }
2579 return resultobj;
2580 fail:
2581 {
2582 if (temp1)
2583 delete arg1;
2584 }
2585 {
2586 if (temp2)
2587 delete arg2;
2588 }
2589 {
2590 if (temp3)
2591 delete arg3;
2592 }
2593 return NULL;
2594 }
2595
2596
2597 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2598 PyObject *resultobj;
2599 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2600 wxString *arg1 = (wxString *) &arg1_defvalue ;
2601 wxString const &arg2_defvalue = wxPyEmptyString ;
2602 wxString *arg2 = (wxString *) &arg2_defvalue ;
2603 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2604 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2605 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2606 wxWindow *arg5 = (wxWindow *) NULL ;
2607 wxString result;
2608 bool temp1 = False ;
2609 bool temp2 = False ;
2610 wxPoint temp4 ;
2611 PyObject * obj0 = 0 ;
2612 PyObject * obj1 = 0 ;
2613 PyObject * obj3 = 0 ;
2614 PyObject * obj4 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2620 if (obj0) {
2621 {
2622 arg1 = wxString_in_helper(obj0);
2623 if (arg1 == NULL) SWIG_fail;
2624 temp1 = True;
2625 }
2626 }
2627 if (obj1) {
2628 {
2629 arg2 = wxString_in_helper(obj1);
2630 if (arg2 == NULL) SWIG_fail;
2631 temp2 = True;
2632 }
2633 }
2634 if (obj3) {
2635 {
2636 arg4 = &temp4;
2637 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2638 }
2639 }
2640 if (obj4) {
2641 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2642 }
2643 {
2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
2645 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2646
2647 wxPyEndAllowThreads(__tstate);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 }
2650 {
2651 #if wxUSE_UNICODE
2652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2653 #else
2654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2655 #endif
2656 }
2657 {
2658 if (temp1)
2659 delete arg1;
2660 }
2661 {
2662 if (temp2)
2663 delete arg2;
2664 }
2665 return resultobj;
2666 fail:
2667 {
2668 if (temp1)
2669 delete arg1;
2670 }
2671 {
2672 if (temp2)
2673 delete arg2;
2674 }
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2680 PyObject *resultobj;
2681 wxString *arg1 = 0 ;
2682 wxString const &arg2_defvalue = wxPyEmptyString ;
2683 wxString *arg2 = (wxString *) &arg2_defvalue ;
2684 wxString const &arg3_defvalue = wxPyEmptyString ;
2685 wxString *arg3 = (wxString *) &arg3_defvalue ;
2686 wxWindow *arg4 = (wxWindow *) NULL ;
2687 int arg5 = (int) -1 ;
2688 int arg6 = (int) -1 ;
2689 bool arg7 = (bool) True ;
2690 wxString result;
2691 bool temp1 = False ;
2692 bool temp2 = False ;
2693 bool temp3 = False ;
2694 PyObject * obj0 = 0 ;
2695 PyObject * obj1 = 0 ;
2696 PyObject * obj2 = 0 ;
2697 PyObject * obj3 = 0 ;
2698 PyObject * obj6 = 0 ;
2699 char *kwnames[] = {
2700 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2701 };
2702
2703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2704 {
2705 arg1 = wxString_in_helper(obj0);
2706 if (arg1 == NULL) SWIG_fail;
2707 temp1 = True;
2708 }
2709 if (obj1) {
2710 {
2711 arg2 = wxString_in_helper(obj1);
2712 if (arg2 == NULL) SWIG_fail;
2713 temp2 = True;
2714 }
2715 }
2716 if (obj2) {
2717 {
2718 arg3 = wxString_in_helper(obj2);
2719 if (arg3 == NULL) SWIG_fail;
2720 temp3 = True;
2721 }
2722 }
2723 if (obj3) {
2724 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2725 }
2726 if (obj6) {
2727 arg7 = PyInt_AsLong(obj6) ? true : false;
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 }
2737 {
2738 #if wxUSE_UNICODE
2739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2740 #else
2741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2742 #endif
2743 }
2744 {
2745 if (temp1)
2746 delete arg1;
2747 }
2748 {
2749 if (temp2)
2750 delete arg2;
2751 }
2752 {
2753 if (temp3)
2754 delete arg3;
2755 }
2756 return resultobj;
2757 fail:
2758 {
2759 if (temp1)
2760 delete arg1;
2761 }
2762 {
2763 if (temp2)
2764 delete arg2;
2765 }
2766 {
2767 if (temp3)
2768 delete arg3;
2769 }
2770 return NULL;
2771 }
2772
2773
2774 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2775 PyObject *resultobj;
2776 wxString *arg1 = 0 ;
2777 wxString const &arg2_defvalue = wxPyEmptyString ;
2778 wxString *arg2 = (wxString *) &arg2_defvalue ;
2779 wxString const &arg3_defvalue = wxPyEmptyString ;
2780 wxString *arg3 = (wxString *) &arg3_defvalue ;
2781 wxWindow *arg4 = (wxWindow *) NULL ;
2782 wxString result;
2783 bool temp1 = False ;
2784 bool temp2 = False ;
2785 bool temp3 = False ;
2786 PyObject * obj0 = 0 ;
2787 PyObject * obj1 = 0 ;
2788 PyObject * obj2 = 0 ;
2789 PyObject * obj3 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2795 {
2796 arg1 = wxString_in_helper(obj0);
2797 if (arg1 == NULL) SWIG_fail;
2798 temp1 = True;
2799 }
2800 if (obj1) {
2801 {
2802 arg2 = wxString_in_helper(obj1);
2803 if (arg2 == NULL) SWIG_fail;
2804 temp2 = True;
2805 }
2806 }
2807 if (obj2) {
2808 {
2809 arg3 = wxString_in_helper(obj2);
2810 if (arg3 == NULL) SWIG_fail;
2811 temp3 = True;
2812 }
2813 }
2814 if (obj3) {
2815 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2816 }
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 {
2825 #if wxUSE_UNICODE
2826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2827 #else
2828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2829 #endif
2830 }
2831 {
2832 if (temp1)
2833 delete arg1;
2834 }
2835 {
2836 if (temp2)
2837 delete arg2;
2838 }
2839 {
2840 if (temp3)
2841 delete arg3;
2842 }
2843 return resultobj;
2844 fail:
2845 {
2846 if (temp1)
2847 delete arg1;
2848 }
2849 {
2850 if (temp2)
2851 delete arg2;
2852 }
2853 {
2854 if (temp3)
2855 delete arg3;
2856 }
2857 return NULL;
2858 }
2859
2860
2861 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2862 PyObject *resultobj;
2863 wxString *arg1 = 0 ;
2864 wxString *arg2 = 0 ;
2865 int arg3 ;
2866 wxString *arg4 = (wxString *) 0 ;
2867 wxWindow *arg5 = (wxWindow *) NULL ;
2868 int arg6 = (int) -1 ;
2869 int arg7 = (int) -1 ;
2870 bool arg8 = (bool) True ;
2871 int arg9 = (int) 150 ;
2872 int arg10 = (int) 200 ;
2873 wxString result;
2874 bool temp1 = False ;
2875 bool temp2 = False ;
2876 PyObject * obj0 = 0 ;
2877 PyObject * obj1 = 0 ;
2878 PyObject * obj2 = 0 ;
2879 PyObject * obj3 = 0 ;
2880 PyObject * obj6 = 0 ;
2881 char *kwnames[] = {
2882 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2883 };
2884
2885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2886 {
2887 arg1 = wxString_in_helper(obj0);
2888 if (arg1 == NULL) SWIG_fail;
2889 temp1 = True;
2890 }
2891 {
2892 arg2 = wxString_in_helper(obj1);
2893 if (arg2 == NULL) SWIG_fail;
2894 temp2 = True;
2895 }
2896 {
2897 arg3 = PyList_Size(obj2);
2898 arg4 = wxString_LIST_helper(obj2);
2899 if (arg4 == NULL) SWIG_fail;
2900 }
2901 if (obj3) {
2902 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2903 }
2904 if (obj6) {
2905 arg8 = PyInt_AsLong(obj6) ? true : false;
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 {
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2911
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 {
2916 #if wxUSE_UNICODE
2917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2918 #else
2919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2920 #endif
2921 }
2922 {
2923 if (temp1)
2924 delete arg1;
2925 }
2926 {
2927 if (temp2)
2928 delete arg2;
2929 }
2930 {
2931 if (arg4) delete [] arg4;
2932 }
2933 return resultobj;
2934 fail:
2935 {
2936 if (temp1)
2937 delete arg1;
2938 }
2939 {
2940 if (temp2)
2941 delete arg2;
2942 }
2943 {
2944 if (arg4) delete [] arg4;
2945 }
2946 return NULL;
2947 }
2948
2949
2950 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject *resultobj;
2952 wxString *arg1 = 0 ;
2953 wxString *arg2 = 0 ;
2954 int arg3 ;
2955 wxString *arg4 = (wxString *) 0 ;
2956 wxWindow *arg5 = (wxWindow *) NULL ;
2957 int arg6 = (int) -1 ;
2958 int arg7 = (int) -1 ;
2959 bool arg8 = (bool) True ;
2960 int arg9 = (int) 150 ;
2961 int arg10 = (int) 200 ;
2962 int result;
2963 bool temp1 = False ;
2964 bool temp2 = False ;
2965 PyObject * obj0 = 0 ;
2966 PyObject * obj1 = 0 ;
2967 PyObject * obj2 = 0 ;
2968 PyObject * obj3 = 0 ;
2969 PyObject * obj6 = 0 ;
2970 char *kwnames[] = {
2971 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2972 };
2973
2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2975 {
2976 arg1 = wxString_in_helper(obj0);
2977 if (arg1 == NULL) SWIG_fail;
2978 temp1 = True;
2979 }
2980 {
2981 arg2 = wxString_in_helper(obj1);
2982 if (arg2 == NULL) SWIG_fail;
2983 temp2 = True;
2984 }
2985 {
2986 arg3 = PyList_Size(obj2);
2987 arg4 = wxString_LIST_helper(obj2);
2988 if (arg4 == NULL) SWIG_fail;
2989 }
2990 if (obj3) {
2991 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2992 }
2993 if (obj6) {
2994 arg8 = PyInt_AsLong(obj6) ? true : false;
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 {
2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
2999 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3000
3001 wxPyEndAllowThreads(__tstate);
3002 if (PyErr_Occurred()) SWIG_fail;
3003 }
3004 resultobj = PyInt_FromLong((long)result);
3005 {
3006 if (temp1)
3007 delete arg1;
3008 }
3009 {
3010 if (temp2)
3011 delete arg2;
3012 }
3013 {
3014 if (arg4) delete [] arg4;
3015 }
3016 return resultobj;
3017 fail:
3018 {
3019 if (temp1)
3020 delete arg1;
3021 }
3022 {
3023 if (temp2)
3024 delete arg2;
3025 }
3026 {
3027 if (arg4) delete [] arg4;
3028 }
3029 return NULL;
3030 }
3031
3032
3033 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3034 PyObject *resultobj;
3035 wxString *arg1 = 0 ;
3036 wxString const &arg2_defvalue = wxPyEmptyString ;
3037 wxString *arg2 = (wxString *) &arg2_defvalue ;
3038 int arg3 = (int) wxOK|wxCENTRE ;
3039 wxWindow *arg4 = (wxWindow *) NULL ;
3040 int arg5 = (int) -1 ;
3041 int arg6 = (int) -1 ;
3042 int result;
3043 bool temp1 = False ;
3044 bool temp2 = False ;
3045 PyObject * obj0 = 0 ;
3046 PyObject * obj1 = 0 ;
3047 PyObject * obj3 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3053 {
3054 arg1 = wxString_in_helper(obj0);
3055 if (arg1 == NULL) SWIG_fail;
3056 temp1 = True;
3057 }
3058 if (obj1) {
3059 {
3060 arg2 = wxString_in_helper(obj1);
3061 if (arg2 == NULL) SWIG_fail;
3062 temp2 = True;
3063 }
3064 }
3065 if (obj3) {
3066 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3067 }
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) SWIG_fail;
3074 }
3075 resultobj = PyInt_FromLong((long)result);
3076 {
3077 if (temp1)
3078 delete arg1;
3079 }
3080 {
3081 if (temp2)
3082 delete arg2;
3083 }
3084 return resultobj;
3085 fail:
3086 {
3087 if (temp1)
3088 delete arg1;
3089 }
3090 {
3091 if (temp2)
3092 delete arg2;
3093 }
3094 return NULL;
3095 }
3096
3097
3098 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3099 PyObject *resultobj;
3100 wxString *arg1 = 0 ;
3101 wxString *arg2 = 0 ;
3102 wxString *arg3 = 0 ;
3103 long arg4 ;
3104 long arg5 = (long) 0 ;
3105 long arg6 = (long) 100 ;
3106 wxWindow *arg7 = (wxWindow *) NULL ;
3107 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3108 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3109 long result;
3110 bool temp1 = False ;
3111 bool temp2 = False ;
3112 bool temp3 = False ;
3113 wxPoint temp8 ;
3114 PyObject * obj0 = 0 ;
3115 PyObject * obj1 = 0 ;
3116 PyObject * obj2 = 0 ;
3117 PyObject * obj6 = 0 ;
3118 PyObject * obj7 = 0 ;
3119 char *kwnames[] = {
3120 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3121 };
3122
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3124 {
3125 arg1 = wxString_in_helper(obj0);
3126 if (arg1 == NULL) SWIG_fail;
3127 temp1 = True;
3128 }
3129 {
3130 arg2 = wxString_in_helper(obj1);
3131 if (arg2 == NULL) SWIG_fail;
3132 temp2 = True;
3133 }
3134 {
3135 arg3 = wxString_in_helper(obj2);
3136 if (arg3 == NULL) SWIG_fail;
3137 temp3 = True;
3138 }
3139 if (obj6) {
3140 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 }
3142 if (obj7) {
3143 {
3144 arg8 = &temp8;
3145 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3146 }
3147 }
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 resultobj = PyInt_FromLong((long)result);
3156 {
3157 if (temp1)
3158 delete arg1;
3159 }
3160 {
3161 if (temp2)
3162 delete arg2;
3163 }
3164 {
3165 if (temp3)
3166 delete arg3;
3167 }
3168 return resultobj;
3169 fail:
3170 {
3171 if (temp1)
3172 delete arg1;
3173 }
3174 {
3175 if (temp2)
3176 delete arg2;
3177 }
3178 {
3179 if (temp3)
3180 delete arg3;
3181 }
3182 return NULL;
3183 }
3184
3185
3186 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3187 PyObject *resultobj;
3188 bool result;
3189 char *kwnames[] = {
3190 NULL
3191 };
3192
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3194 {
3195 PyThreadState* __tstate = wxPyBeginAllowThreads();
3196 result = (bool)wxColourDisplay();
3197
3198 wxPyEndAllowThreads(__tstate);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 resultobj = PyInt_FromLong((long)result);
3202 return resultobj;
3203 fail:
3204 return NULL;
3205 }
3206
3207
3208 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject *resultobj;
3210 int result;
3211 char *kwnames[] = {
3212 NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 result = (int)wxDisplayDepth();
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 resultobj = PyInt_FromLong((long)result);
3224 return resultobj;
3225 fail:
3226 return NULL;
3227 }
3228
3229
3230 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 int result;
3233 char *kwnames[] = {
3234 NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 result = (int)wxGetDisplayDepth();
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 resultobj = PyInt_FromLong((long)result);
3246 return resultobj;
3247 fail:
3248 return NULL;
3249 }
3250
3251
3252 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3253 PyObject *resultobj;
3254 int *arg1 = (int *) 0 ;
3255 int *arg2 = (int *) 0 ;
3256 int temp1 ;
3257 int temp2 ;
3258 char *kwnames[] = {
3259 NULL
3260 };
3261
3262 arg1 = &temp1;
3263 arg2 = &temp2;
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 wxDisplaySize(arg1,arg2);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 Py_INCREF(Py_None); resultobj = Py_None;
3273 {
3274 PyObject *o = PyInt_FromLong((long) (*arg1));
3275 resultobj = t_output_helper(resultobj,o);
3276 }
3277 {
3278 PyObject *o = PyInt_FromLong((long) (*arg2));
3279 resultobj = t_output_helper(resultobj,o);
3280 }
3281 return resultobj;
3282 fail:
3283 return NULL;
3284 }
3285
3286
3287 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject *resultobj;
3289 wxSize result;
3290 char *kwnames[] = {
3291 NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 result = wxGetDisplaySize();
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 {
3303 wxSize * resultptr;
3304 resultptr = new wxSize((wxSize &) result);
3305 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3306 }
3307 return resultobj;
3308 fail:
3309 return NULL;
3310 }
3311
3312
3313 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 int *arg1 = (int *) 0 ;
3316 int *arg2 = (int *) 0 ;
3317 int temp1 ;
3318 int temp2 ;
3319 char *kwnames[] = {
3320 NULL
3321 };
3322
3323 arg1 = &temp1;
3324 arg2 = &temp2;
3325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 wxDisplaySizeMM(arg1,arg2);
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 Py_INCREF(Py_None); resultobj = Py_None;
3334 {
3335 PyObject *o = PyInt_FromLong((long) (*arg1));
3336 resultobj = t_output_helper(resultobj,o);
3337 }
3338 {
3339 PyObject *o = PyInt_FromLong((long) (*arg2));
3340 resultobj = t_output_helper(resultobj,o);
3341 }
3342 return resultobj;
3343 fail:
3344 return NULL;
3345 }
3346
3347
3348 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3349 PyObject *resultobj;
3350 wxSize result;
3351 char *kwnames[] = {
3352 NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 result = wxGetDisplaySizeMM();
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 {
3364 wxSize * resultptr;
3365 resultptr = new wxSize((wxSize &) result);
3366 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3367 }
3368 return resultobj;
3369 fail:
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 int *arg1 = (int *) 0 ;
3377 int *arg2 = (int *) 0 ;
3378 int *arg3 = (int *) 0 ;
3379 int *arg4 = (int *) 0 ;
3380 int temp1 ;
3381 int temp2 ;
3382 int temp3 ;
3383 int temp4 ;
3384 char *kwnames[] = {
3385 NULL
3386 };
3387
3388 arg1 = &temp1;
3389 arg2 = &temp2;
3390 arg3 = &temp3;
3391 arg4 = &temp4;
3392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3396
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 Py_INCREF(Py_None); resultobj = Py_None;
3401 {
3402 PyObject *o = PyInt_FromLong((long) (*arg1));
3403 resultobj = t_output_helper(resultobj,o);
3404 }
3405 {
3406 PyObject *o = PyInt_FromLong((long) (*arg2));
3407 resultobj = t_output_helper(resultobj,o);
3408 }
3409 {
3410 PyObject *o = PyInt_FromLong((long) (*arg3));
3411 resultobj = t_output_helper(resultobj,o);
3412 }
3413 {
3414 PyObject *o = PyInt_FromLong((long) (*arg4));
3415 resultobj = t_output_helper(resultobj,o);
3416 }
3417 return resultobj;
3418 fail:
3419 return NULL;
3420 }
3421
3422
3423 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3424 PyObject *resultobj;
3425 wxRect result;
3426 char *kwnames[] = {
3427 NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3431 {
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 result = wxGetClientDisplayRect();
3434
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 {
3439 wxRect * resultptr;
3440 resultptr = new wxRect((wxRect &) result);
3441 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3442 }
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxCursor *arg1 = 0 ;
3452 PyObject * obj0 = 0 ;
3453 char *kwnames[] = {
3454 (char *) "cursor", NULL
3455 };
3456
3457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3459 if (arg1 == NULL) {
3460 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3461 }
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 wxSetCursor(*arg1);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj;
3478 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3479 PyObject * obj0 = 0 ;
3480 char *kwnames[] = {
3481 (char *) "cursor", NULL
3482 };
3483
3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3485 if (obj0) {
3486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3487 }
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 wxBeginBusyCursor(arg1);
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 Py_INCREF(Py_None); resultobj = Py_None;
3496 return resultobj;
3497 fail:
3498 return NULL;
3499 }
3500
3501
3502 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3503 PyObject *resultobj;
3504 wxWindow *result;
3505 char *kwnames[] = {
3506 NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3510 {
3511 PyThreadState* __tstate = wxPyBeginAllowThreads();
3512 result = (wxWindow *)wxGetActiveWindow();
3513
3514 wxPyEndAllowThreads(__tstate);
3515 if (PyErr_Occurred()) SWIG_fail;
3516 }
3517 {
3518 resultobj = wxPyMake_wxObject(result);
3519 }
3520 return resultobj;
3521 fail:
3522 return NULL;
3523 }
3524
3525
3526 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxPoint *arg1 = 0 ;
3529 wxWindow *result;
3530 wxPoint temp1 ;
3531 PyObject * obj0 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "pt", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3537 {
3538 arg1 = &temp1;
3539 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3540 }
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 {
3549 resultobj = wxPyMake_wxObject(result);
3550 }
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxPoint *arg1 = 0 ;
3560 wxWindow *result;
3561 wxPoint temp1 ;
3562 PyObject * obj0 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "pt", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3568 {
3569 arg1 = &temp1;
3570 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3571 }
3572 {
3573 PyThreadState* __tstate = wxPyBeginAllowThreads();
3574 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3575
3576 wxPyEndAllowThreads(__tstate);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 }
3579 {
3580 resultobj = wxPyMake_wxObject(result);
3581 }
3582 return resultobj;
3583 fail:
3584 return NULL;
3585 }
3586
3587
3588 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3589 PyObject *resultobj;
3590 wxWindow *arg1 = (wxWindow *) 0 ;
3591 wxWindow *result;
3592 PyObject * obj0 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "win", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (wxWindow *)wxGetTopLevelParent(arg1);
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 {
3607 resultobj = wxPyMake_wxObject(result);
3608 }
3609 return resultobj;
3610 fail:
3611 return NULL;
3612 }
3613
3614
3615 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3616 PyObject *resultobj;
3617 char *kwnames[] = {
3618 NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3622 {
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 wxWakeUpMainThread();
3625
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 Py_INCREF(Py_None); resultobj = Py_None;
3630 return resultobj;
3631 fail:
3632 return NULL;
3633 }
3634
3635
3636 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3637 PyObject *resultobj;
3638 char *kwnames[] = {
3639 NULL
3640 };
3641
3642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 wxMutexGuiEnter();
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 Py_INCREF(Py_None); resultobj = Py_None;
3651 return resultobj;
3652 fail:
3653 return NULL;
3654 }
3655
3656
3657 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3658 PyObject *resultobj;
3659 char *kwnames[] = {
3660 NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 wxMutexGuiLeave();
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 Py_INCREF(Py_None); resultobj = Py_None;
3672 return resultobj;
3673 fail:
3674 return NULL;
3675 }
3676
3677
3678 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3679 PyObject *resultobj;
3680 wxMutexGuiLocker *result;
3681 char *kwnames[] = {
3682 NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj;
3702 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3703 PyObject * obj0 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 delete arg1;
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 Py_INCREF(Py_None); resultobj = Py_None;
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3725 PyObject *obj;
3726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3727 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3728 Py_INCREF(obj);
3729 return Py_BuildValue((char *)"");
3730 }
3731 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj;
3733 bool result;
3734 char *kwnames[] = {
3735 NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3739 {
3740 PyThreadState* __tstate = wxPyBeginAllowThreads();
3741 result = (bool)wxThread_IsMain();
3742
3743 wxPyEndAllowThreads(__tstate);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 resultobj = PyInt_FromLong((long)result);
3747 return resultobj;
3748 fail:
3749 return NULL;
3750 }
3751
3752
3753 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3754 PyObject *resultobj;
3755 wxString *arg1 = 0 ;
3756 wxToolTip *result;
3757 bool temp1 = False ;
3758 PyObject * obj0 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "tip", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3764 {
3765 arg1 = wxString_in_helper(obj0);
3766 if (arg1 == NULL) SWIG_fail;
3767 temp1 = True;
3768 }
3769 {
3770 PyThreadState* __tstate = wxPyBeginAllowThreads();
3771 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3772
3773 wxPyEndAllowThreads(__tstate);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 {
3777 resultobj = wxPyMake_wxObject(result);
3778 }
3779 {
3780 if (temp1)
3781 delete arg1;
3782 }
3783 return resultobj;
3784 fail:
3785 {
3786 if (temp1)
3787 delete arg1;
3788 }
3789 return NULL;
3790 }
3791
3792
3793 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject *resultobj;
3795 wxToolTip *arg1 = (wxToolTip *) 0 ;
3796 wxString *arg2 = 0 ;
3797 bool temp2 = False ;
3798 PyObject * obj0 = 0 ;
3799 PyObject * obj1 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "self",(char *) "tip", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3806 {
3807 arg2 = wxString_in_helper(obj1);
3808 if (arg2 == NULL) SWIG_fail;
3809 temp2 = True;
3810 }
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 (arg1)->SetTip((wxString const &)*arg2);
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 Py_INCREF(Py_None); resultobj = Py_None;
3819 {
3820 if (temp2)
3821 delete arg2;
3822 }
3823 return resultobj;
3824 fail:
3825 {
3826 if (temp2)
3827 delete arg2;
3828 }
3829 return NULL;
3830 }
3831
3832
3833 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxToolTip *arg1 = (wxToolTip *) 0 ;
3836 wxString result;
3837 PyObject * obj0 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 result = (arg1)->GetTip();
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 {
3852 #if wxUSE_UNICODE
3853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3854 #else
3855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3856 #endif
3857 }
3858 return resultobj;
3859 fail:
3860 return NULL;
3861 }
3862
3863
3864 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3865 PyObject *resultobj;
3866 wxToolTip *arg1 = (wxToolTip *) 0 ;
3867 wxWindow *result;
3868 PyObject * obj0 = 0 ;
3869 char *kwnames[] = {
3870 (char *) "self", NULL
3871 };
3872
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 result = (wxWindow *)(arg1)->GetWindow();
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 {
3883 resultobj = wxPyMake_wxObject(result);
3884 }
3885 return resultobj;
3886 fail:
3887 return NULL;
3888 }
3889
3890
3891 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj;
3893 bool arg1 ;
3894 PyObject * obj0 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "flag", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3900 arg1 = PyInt_AsLong(obj0) ? true : false;
3901 if (PyErr_Occurred()) SWIG_fail;
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 wxToolTip::Enable(arg1);
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 Py_INCREF(Py_None); resultobj = Py_None;
3910 return resultobj;
3911 fail:
3912 return NULL;
3913 }
3914
3915
3916 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3917 PyObject *resultobj;
3918 long arg1 ;
3919 char *kwnames[] = {
3920 (char *) "milliseconds", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 wxToolTip::SetDelay(arg1);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 Py_INCREF(Py_None); resultobj = Py_None;
3932 return resultobj;
3933 fail:
3934 return NULL;
3935 }
3936
3937
3938 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
3939 PyObject *obj;
3940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3941 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
3942 Py_INCREF(obj);
3943 return Py_BuildValue((char *)"");
3944 }
3945 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxWindow *arg1 = (wxWindow *) 0 ;
3948 wxSize *arg2 = 0 ;
3949 wxCaret *result;
3950 wxSize temp2 ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "window",(char *) "size", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
3958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3959 {
3960 arg2 = &temp2;
3961 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3962 }
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
3971 return resultobj;
3972 fail:
3973 return NULL;
3974 }
3975
3976
3977 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3978 PyObject *resultobj;
3979 wxCaret *arg1 = (wxCaret *) 0 ;
3980 PyObject * obj0 = 0 ;
3981 char *kwnames[] = {
3982 (char *) "self", NULL
3983 };
3984
3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
3986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3987 {
3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
3989 delete arg1;
3990
3991 wxPyEndAllowThreads(__tstate);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
3994 Py_INCREF(Py_None); resultobj = Py_None;
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject *resultobj;
4003 wxCaret *arg1 = (wxCaret *) 0 ;
4004 bool result;
4005 PyObject * obj0 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "self", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = (bool)(arg1)->IsOk();
4015
4016 wxPyEndAllowThreads(__tstate);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 }
4019 resultobj = PyInt_FromLong((long)result);
4020 return resultobj;
4021 fail:
4022 return NULL;
4023 }
4024
4025
4026 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4027 PyObject *resultobj;
4028 wxCaret *arg1 = (wxCaret *) 0 ;
4029 bool result;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (bool)(arg1)->IsVisible();
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = PyInt_FromLong((long)result);
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxCaret *arg1 = (wxCaret *) 0 ;
4054 wxPoint result;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 result = (arg1)->GetPosition();
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 {
4070 wxPoint * resultptr;
4071 resultptr = new wxPoint((wxPoint &) result);
4072 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4073 }
4074 return resultobj;
4075 fail:
4076 return NULL;
4077 }
4078
4079
4080 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4081 PyObject *resultobj;
4082 wxCaret *arg1 = (wxCaret *) 0 ;
4083 int *arg2 = (int *) 0 ;
4084 int *arg3 = (int *) 0 ;
4085 int temp2 ;
4086 int temp3 ;
4087 PyObject * obj0 = 0 ;
4088 char *kwnames[] = {
4089 (char *) "self", NULL
4090 };
4091
4092 arg2 = &temp2;
4093 arg3 = &temp3;
4094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4096 {
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 (arg1)->GetPosition(arg2,arg3);
4099
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 Py_INCREF(Py_None); resultobj = Py_None;
4104 {
4105 PyObject *o = PyInt_FromLong((long) (*arg2));
4106 resultobj = t_output_helper(resultobj,o);
4107 }
4108 {
4109 PyObject *o = PyInt_FromLong((long) (*arg3));
4110 resultobj = t_output_helper(resultobj,o);
4111 }
4112 return resultobj;
4113 fail:
4114 return NULL;
4115 }
4116
4117
4118 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxCaret *arg1 = (wxCaret *) 0 ;
4121 wxSize result;
4122 PyObject * obj0 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129 {
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 result = (arg1)->GetSize();
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 {
4137 wxSize * resultptr;
4138 resultptr = new wxSize((wxSize &) result);
4139 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4140 }
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxCaret *arg1 = (wxCaret *) 0 ;
4150 int *arg2 = (int *) 0 ;
4151 int *arg3 = (int *) 0 ;
4152 int temp2 ;
4153 int temp3 ;
4154 PyObject * obj0 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "self", NULL
4157 };
4158
4159 arg2 = &temp2;
4160 arg3 = &temp3;
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 (arg1)->GetSize(arg2,arg3);
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 Py_INCREF(Py_None); resultobj = Py_None;
4171 {
4172 PyObject *o = PyInt_FromLong((long) (*arg2));
4173 resultobj = t_output_helper(resultobj,o);
4174 }
4175 {
4176 PyObject *o = PyInt_FromLong((long) (*arg3));
4177 resultobj = t_output_helper(resultobj,o);
4178 }
4179 return resultobj;
4180 fail:
4181 return NULL;
4182 }
4183
4184
4185 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj;
4187 wxCaret *arg1 = (wxCaret *) 0 ;
4188 wxWindow *result;
4189 PyObject * obj0 = 0 ;
4190 char *kwnames[] = {
4191 (char *) "self", NULL
4192 };
4193
4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4196 {
4197 PyThreadState* __tstate = wxPyBeginAllowThreads();
4198 result = (wxWindow *)(arg1)->GetWindow();
4199
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 {
4204 resultobj = wxPyMake_wxObject(result);
4205 }
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxCaret *arg1 = (wxCaret *) 0 ;
4215 int arg2 ;
4216 int arg3 ;
4217 PyObject * obj0 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self",(char *) "x",(char *) "y", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 (arg1)->Move(arg2,arg3);
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 Py_INCREF(Py_None); resultobj = Py_None;
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj;
4240 wxCaret *arg1 = (wxCaret *) 0 ;
4241 wxPoint *arg2 = 0 ;
4242 wxPoint temp2 ;
4243 PyObject * obj0 = 0 ;
4244 PyObject * obj1 = 0 ;
4245 char *kwnames[] = {
4246 (char *) "self",(char *) "pt", NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4251 {
4252 arg2 = &temp2;
4253 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4254 }
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 (arg1)->Move((wxPoint const &)*arg2);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 Py_INCREF(Py_None); resultobj = Py_None;
4263 return resultobj;
4264 fail:
4265 return NULL;
4266 }
4267
4268
4269 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxCaret *arg1 = (wxCaret *) 0 ;
4272 int arg2 ;
4273 int arg3 ;
4274 PyObject * obj0 = 0 ;
4275 char *kwnames[] = {
4276 (char *) "self",(char *) "width",(char *) "height", NULL
4277 };
4278
4279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 (arg1)->SetSize(arg2,arg3);
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 Py_INCREF(Py_None); resultobj = Py_None;
4289 return resultobj;
4290 fail:
4291 return NULL;
4292 }
4293
4294
4295 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj;
4297 wxCaret *arg1 = (wxCaret *) 0 ;
4298 wxSize *arg2 = 0 ;
4299 wxSize temp2 ;
4300 PyObject * obj0 = 0 ;
4301 PyObject * obj1 = 0 ;
4302 char *kwnames[] = {
4303 (char *) "self",(char *) "size", NULL
4304 };
4305
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4308 {
4309 arg2 = &temp2;
4310 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4311 }
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 (arg1)->SetSize((wxSize const &)*arg2);
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 Py_INCREF(Py_None); resultobj = Py_None;
4320 return resultobj;
4321 fail:
4322 return NULL;
4323 }
4324
4325
4326 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj;
4328 wxCaret *arg1 = (wxCaret *) 0 ;
4329 int arg2 = (int) True ;
4330 PyObject * obj0 = 0 ;
4331 char *kwnames[] = {
4332 (char *) "self",(char *) "show", NULL
4333 };
4334
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 (arg1)->Show(arg2);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 Py_INCREF(Py_None); resultobj = Py_None;
4345 return resultobj;
4346 fail:
4347 return NULL;
4348 }
4349
4350
4351 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj;
4353 wxCaret *arg1 = (wxCaret *) 0 ;
4354 PyObject * obj0 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 (arg1)->Hide();
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 Py_INCREF(Py_None); resultobj = Py_None;
4369 return resultobj;
4370 fail:
4371 return NULL;
4372 }
4373
4374
4375 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4376 PyObject *obj;
4377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4378 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4379 Py_INCREF(obj);
4380 return Py_BuildValue((char *)"");
4381 }
4382 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj;
4384 int result;
4385 char *kwnames[] = {
4386 NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 result = (int)wxCaret_GetBlinkTime();
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 resultobj = PyInt_FromLong((long)result);
4398 return resultobj;
4399 fail:
4400 return NULL;
4401 }
4402
4403
4404 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4405 PyObject *resultobj;
4406 int arg1 ;
4407 char *kwnames[] = {
4408 (char *) "milliseconds", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 wxCaret_SetBlinkTime(arg1);
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 Py_INCREF(Py_None); resultobj = Py_None;
4420 return resultobj;
4421 fail:
4422 return NULL;
4423 }
4424
4425
4426 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject *resultobj;
4428 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4429 wxBusyCursor *result;
4430 PyObject * obj0 = 0 ;
4431 char *kwnames[] = {
4432 (char *) "cursor", NULL
4433 };
4434
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4436 if (obj0) {
4437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4438 }
4439 {
4440 PyThreadState* __tstate = wxPyBeginAllowThreads();
4441 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4442
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4447 return resultobj;
4448 fail:
4449 return NULL;
4450 }
4451
4452
4453 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4454 PyObject *resultobj;
4455 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4456 PyObject * obj0 = 0 ;
4457 char *kwnames[] = {
4458 (char *) "self", NULL
4459 };
4460
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 delete arg1;
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 Py_INCREF(Py_None); resultobj = Py_None;
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4478 PyObject *obj;
4479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4480 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4481 Py_INCREF(obj);
4482 return Py_BuildValue((char *)"");
4483 }
4484 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxWindow *arg1 = (wxWindow *) NULL ;
4487 wxWindowDisabler *result;
4488 PyObject * obj0 = 0 ;
4489 char *kwnames[] = {
4490 (char *) "winToSkip", NULL
4491 };
4492
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4494 if (obj0) {
4495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4496 }
4497 {
4498 PyThreadState* __tstate = wxPyBeginAllowThreads();
4499 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4500
4501 wxPyEndAllowThreads(__tstate);
4502 if (PyErr_Occurred()) SWIG_fail;
4503 }
4504 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4505 return resultobj;
4506 fail:
4507 return NULL;
4508 }
4509
4510
4511 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4512 PyObject *resultobj;
4513 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4514 PyObject * obj0 = 0 ;
4515 char *kwnames[] = {
4516 (char *) "self", NULL
4517 };
4518
4519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 delete arg1;
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 Py_INCREF(Py_None); resultobj = Py_None;
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4536 PyObject *obj;
4537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4538 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4539 Py_INCREF(obj);
4540 return Py_BuildValue((char *)"");
4541 }
4542 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj;
4544 wxString *arg1 = 0 ;
4545 wxBusyInfo *result;
4546 bool temp1 = False ;
4547 PyObject * obj0 = 0 ;
4548 char *kwnames[] = {
4549 (char *) "message", NULL
4550 };
4551
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4553 {
4554 arg1 = wxString_in_helper(obj0);
4555 if (arg1 == NULL) SWIG_fail;
4556 temp1 = True;
4557 }
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4566 {
4567 if (temp1)
4568 delete arg1;
4569 }
4570 return resultobj;
4571 fail:
4572 {
4573 if (temp1)
4574 delete arg1;
4575 }
4576 return NULL;
4577 }
4578
4579
4580 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj;
4582 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4583 PyObject * obj0 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self", NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4590 {
4591 PyThreadState* __tstate = wxPyBeginAllowThreads();
4592 delete arg1;
4593
4594 wxPyEndAllowThreads(__tstate);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 Py_INCREF(Py_None); resultobj = Py_None;
4598 return resultobj;
4599 fail:
4600 return NULL;
4601 }
4602
4603
4604 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4605 PyObject *obj;
4606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4607 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4608 Py_INCREF(obj);
4609 return Py_BuildValue((char *)"");
4610 }
4611 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4612 PyObject *resultobj;
4613 wxStopWatch *result;
4614 char *kwnames[] = {
4615 NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 result = (wxStopWatch *)new wxStopWatch();
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4627 return resultobj;
4628 fail:
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4636 long arg2 = (long) 0 ;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self",(char *) "t0", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 (arg1)->Start(arg2);
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 Py_INCREF(Py_None); resultobj = Py_None;
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj;
4660 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4661 PyObject * obj0 = 0 ;
4662 char *kwnames[] = {
4663 (char *) "self", NULL
4664 };
4665
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 (arg1)->Pause();
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 Py_INCREF(Py_None); resultobj = Py_None;
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4685 PyObject * obj0 = 0 ;
4686 char *kwnames[] = {
4687 (char *) "self", NULL
4688 };
4689
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 (arg1)->Resume();
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 Py_INCREF(Py_None); resultobj = Py_None;
4700 return resultobj;
4701 fail:
4702 return NULL;
4703 }
4704
4705
4706 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject *resultobj;
4708 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4709 long result;
4710 PyObject * obj0 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "self", NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (long)((wxStopWatch const *)arg1)->Time();
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = PyInt_FromLong((long)result);
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4732 PyObject *obj;
4733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4735 Py_INCREF(obj);
4736 return Py_BuildValue((char *)"");
4737 }
4738 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 int arg1 = (int) 9 ;
4741 wxFileHistory *result;
4742 char *kwnames[] = {
4743 (char *) "maxFiles", NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (wxFileHistory *)new wxFileHistory(arg1);
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4755 return resultobj;
4756 fail:
4757 return NULL;
4758 }
4759
4760
4761 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj;
4763 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 delete arg1;
4774
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 Py_INCREF(Py_None); resultobj = Py_None;
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject *resultobj;
4787 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4788 wxString *arg2 = 0 ;
4789 bool temp2 = False ;
4790 PyObject * obj0 = 0 ;
4791 PyObject * obj1 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "self",(char *) "file", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4798 {
4799 arg2 = wxString_in_helper(obj1);
4800 if (arg2 == NULL) SWIG_fail;
4801 temp2 = True;
4802 }
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 (arg1)->AddFileToHistory((wxString const &)*arg2);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 Py_INCREF(Py_None); resultobj = Py_None;
4811 {
4812 if (temp2)
4813 delete arg2;
4814 }
4815 return resultobj;
4816 fail:
4817 {
4818 if (temp2)
4819 delete arg2;
4820 }
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4828 int arg2 ;
4829 PyObject * obj0 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self",(char *) "i", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 (arg1)->RemoveFileFromHistory(arg2);
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 Py_INCREF(Py_None); resultobj = Py_None;
4844 return resultobj;
4845 fail:
4846 return NULL;
4847 }
4848
4849
4850 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4851 PyObject *resultobj;
4852 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4853 int result;
4854 PyObject * obj0 = 0 ;
4855 char *kwnames[] = {
4856 (char *) "self", NULL
4857 };
4858
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 {
4862 PyThreadState* __tstate = wxPyBeginAllowThreads();
4863 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4864
4865 wxPyEndAllowThreads(__tstate);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 resultobj = PyInt_FromLong((long)result);
4869 return resultobj;
4870 fail:
4871 return NULL;
4872 }
4873
4874
4875 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4878 wxMenu *arg2 = (wxMenu *) 0 ;
4879 PyObject * obj0 = 0 ;
4880 PyObject * obj1 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "self",(char *) "menu", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4887 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 (arg1)->UseMenu(arg2);
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 Py_INCREF(Py_None); resultobj = Py_None;
4896 return resultobj;
4897 fail:
4898 return NULL;
4899 }
4900
4901
4902 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj;
4904 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4905 wxMenu *arg2 = (wxMenu *) 0 ;
4906 PyObject * obj0 = 0 ;
4907 PyObject * obj1 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "menu", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4914 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 (arg1)->RemoveMenu(arg2);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 Py_INCREF(Py_None); resultobj = Py_None;
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject *resultobj;
4931 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4932 wxConfigBase *arg2 = 0 ;
4933 PyObject * obj0 = 0 ;
4934 PyObject * obj1 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "config", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4942 if (arg2 == NULL) {
4943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4944 }
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 (arg1)->Load(*arg2);
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 Py_INCREF(Py_None); resultobj = Py_None;
4953 return resultobj;
4954 fail:
4955 return NULL;
4956 }
4957
4958
4959 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4962 wxConfigBase *arg2 = 0 ;
4963 PyObject * obj0 = 0 ;
4964 PyObject * obj1 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "self",(char *) "config", NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
4970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4972 if (arg2 == NULL) {
4973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4974 }
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 (arg1)->Save(*arg2);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 Py_INCREF(Py_None); resultobj = Py_None;
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4992 PyObject * obj0 = 0 ;
4993 char *kwnames[] = {
4994 (char *) "self", NULL
4995 };
4996
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
4998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 (arg1)->AddFilesToMenu();
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
5006 Py_INCREF(Py_None); resultobj = Py_None;
5007 return resultobj;
5008 fail:
5009 return NULL;
5010 }
5011
5012
5013 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5014 PyObject *resultobj;
5015 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5016 wxMenu *arg2 = (wxMenu *) 0 ;
5017 PyObject * obj0 = 0 ;
5018 PyObject * obj1 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self",(char *) "menu", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 (arg1)->AddFilesToMenu(arg2);
5029
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 Py_INCREF(Py_None); resultobj = Py_None;
5034 return resultobj;
5035 fail:
5036 return NULL;
5037 }
5038
5039
5040 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5041 PyObject *resultobj;
5042 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5043 int arg2 ;
5044 wxString result;
5045 PyObject * obj0 = 0 ;
5046 char *kwnames[] = {
5047 (char *) "self",(char *) "i", NULL
5048 };
5049
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 }
5059 {
5060 #if wxUSE_UNICODE
5061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5062 #else
5063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5064 #endif
5065 }
5066 return resultobj;
5067 fail:
5068 return NULL;
5069 }
5070
5071
5072 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5075 int result;
5076 PyObject * obj0 = 0 ;
5077 char *kwnames[] = {
5078 (char *) "self", NULL
5079 };
5080
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5083 {
5084 PyThreadState* __tstate = wxPyBeginAllowThreads();
5085 result = (int)((wxFileHistory const *)arg1)->GetCount();
5086
5087 wxPyEndAllowThreads(__tstate);
5088 if (PyErr_Occurred()) SWIG_fail;
5089 }
5090 resultobj = PyInt_FromLong((long)result);
5091 return resultobj;
5092 fail:
5093 return NULL;
5094 }
5095
5096
5097 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5098 PyObject *obj;
5099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5100 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5101 Py_INCREF(obj);
5102 return Py_BuildValue((char *)"");
5103 }
5104 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxString *arg1 = 0 ;
5107 wxString const &arg2_defvalue = wxPyEmptyString ;
5108 wxString *arg2 = (wxString *) &arg2_defvalue ;
5109 wxSingleInstanceChecker *result;
5110 bool temp1 = False ;
5111 bool temp2 = False ;
5112 PyObject * obj0 = 0 ;
5113 PyObject * obj1 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "name",(char *) "path", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5119 {
5120 arg1 = wxString_in_helper(obj0);
5121 if (arg1 == NULL) SWIG_fail;
5122 temp1 = True;
5123 }
5124 if (obj1) {
5125 {
5126 arg2 = wxString_in_helper(obj1);
5127 if (arg2 == NULL) SWIG_fail;
5128 temp2 = True;
5129 }
5130 }
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5134
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
5138 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5139 {
5140 if (temp1)
5141 delete arg1;
5142 }
5143 {
5144 if (temp2)
5145 delete arg2;
5146 }
5147 return resultobj;
5148 fail:
5149 {
5150 if (temp1)
5151 delete arg1;
5152 }
5153 {
5154 if (temp2)
5155 delete arg2;
5156 }
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj;
5163 wxSingleInstanceChecker *result;
5164 char *kwnames[] = {
5165 NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 delete arg1;
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 Py_INCREF(Py_None); resultobj = Py_None;
5201 return resultobj;
5202 fail:
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5210 wxString *arg2 = 0 ;
5211 wxString const &arg3_defvalue = wxPyEmptyString ;
5212 wxString *arg3 = (wxString *) &arg3_defvalue ;
5213 bool result;
5214 bool temp2 = False ;
5215 bool temp3 = False ;
5216 PyObject * obj0 = 0 ;
5217 PyObject * obj1 = 0 ;
5218 PyObject * obj2 = 0 ;
5219 char *kwnames[] = {
5220 (char *) "self",(char *) "name",(char *) "path", NULL
5221 };
5222
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5225 {
5226 arg2 = wxString_in_helper(obj1);
5227 if (arg2 == NULL) SWIG_fail;
5228 temp2 = True;
5229 }
5230 if (obj2) {
5231 {
5232 arg3 = wxString_in_helper(obj2);
5233 if (arg3 == NULL) SWIG_fail;
5234 temp3 = True;
5235 }
5236 }
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 resultobj = PyInt_FromLong((long)result);
5245 {
5246 if (temp2)
5247 delete arg2;
5248 }
5249 {
5250 if (temp3)
5251 delete arg3;
5252 }
5253 return resultobj;
5254 fail:
5255 {
5256 if (temp2)
5257 delete arg2;
5258 }
5259 {
5260 if (temp3)
5261 delete arg3;
5262 }
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5270 bool result;
5271 PyObject * obj0 = 0 ;
5272 char *kwnames[] = {
5273 (char *) "self", NULL
5274 };
5275
5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 resultobj = PyInt_FromLong((long)result);
5286 return resultobj;
5287 fail:
5288 return NULL;
5289 }
5290
5291
5292 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5293 PyObject *obj;
5294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5295 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5296 Py_INCREF(obj);
5297 return Py_BuildValue((char *)"");
5298 }
5299 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj;
5301 wxWindow *arg1 = (wxWindow *) 0 ;
5302 wxDC *arg2 = 0 ;
5303 int arg3 ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "window",(char *) "dc",(char *) "method", NULL
5308 };
5309
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5313 if (arg2 == NULL) {
5314 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5315 }
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 Py_INCREF(Py_None); resultobj = Py_None;
5324 return resultobj;
5325 fail:
5326 return NULL;
5327 }
5328
5329
5330 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject *resultobj;
5332 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5333 PyObject * obj0 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "self", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5340 {
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 delete arg1;
5343
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 Py_INCREF(Py_None); resultobj = Py_None;
5348 return resultobj;
5349 fail:
5350 return NULL;
5351 }
5352
5353
5354 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5355 PyObject *resultobj;
5356 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5357 wxString result;
5358 PyObject * obj0 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5365 {
5366 PyThreadState* __tstate = wxPyBeginAllowThreads();
5367 result = (arg1)->GetTip();
5368
5369 wxPyEndAllowThreads(__tstate);
5370 if (PyErr_Occurred()) SWIG_fail;
5371 }
5372 {
5373 #if wxUSE_UNICODE
5374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5375 #else
5376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5377 #endif
5378 }
5379 return resultobj;
5380 fail:
5381 return NULL;
5382 }
5383
5384
5385 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5386 PyObject *resultobj;
5387 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5388 size_t result;
5389 PyObject * obj0 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 result = (size_t)(arg1)->GetCurrentTip();
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 resultobj = PyInt_FromLong((long)result);
5404 return resultobj;
5405 fail:
5406 return NULL;
5407 }
5408
5409
5410 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5413 wxString *arg2 = 0 ;
5414 wxString result;
5415 bool temp2 = False ;
5416 PyObject * obj0 = 0 ;
5417 PyObject * obj1 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self",(char *) "tip", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5424 {
5425 arg2 = wxString_in_helper(obj1);
5426 if (arg2 == NULL) SWIG_fail;
5427 temp2 = True;
5428 }
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 {
5437 #if wxUSE_UNICODE
5438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5439 #else
5440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5441 #endif
5442 }
5443 {
5444 if (temp2)
5445 delete arg2;
5446 }
5447 return resultobj;
5448 fail:
5449 {
5450 if (temp2)
5451 delete arg2;
5452 }
5453 return NULL;
5454 }
5455
5456
5457 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5458 PyObject *obj;
5459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5460 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5461 Py_INCREF(obj);
5462 return Py_BuildValue((char *)"");
5463 }
5464 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5465 PyObject *resultobj;
5466 size_t arg1 ;
5467 wxPyTipProvider *result;
5468 PyObject * obj0 = 0 ;
5469 char *kwnames[] = {
5470 (char *) "currentTip", NULL
5471 };
5472
5473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5474 arg1 = (size_t) PyInt_AsLong(obj0);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5484 return resultobj;
5485 fail:
5486 return NULL;
5487 }
5488
5489
5490 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5491 PyObject *resultobj;
5492 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5493 PyObject *arg2 = (PyObject *) 0 ;
5494 PyObject *arg3 = (PyObject *) 0 ;
5495 PyObject * obj0 = 0 ;
5496 PyObject * obj1 = 0 ;
5497 PyObject * obj2 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self",(char *) "self",(char *) "_class", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5504 arg2 = obj1;
5505 arg3 = obj2;
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 (arg1)->_setCallbackInfo(arg2,arg3);
5509
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 Py_INCREF(Py_None); resultobj = Py_None;
5514 return resultobj;
5515 fail:
5516 return NULL;
5517 }
5518
5519
5520 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5521 PyObject *obj;
5522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5523 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5524 Py_INCREF(obj);
5525 return Py_BuildValue((char *)"");
5526 }
5527 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5528 PyObject *resultobj;
5529 wxWindow *arg1 = (wxWindow *) 0 ;
5530 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5531 bool arg3 = (bool) True ;
5532 bool result;
5533 PyObject * obj0 = 0 ;
5534 PyObject * obj1 = 0 ;
5535 PyObject * obj2 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5543 if (obj2) {
5544 arg3 = PyInt_AsLong(obj2) ? true : false;
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 result = (bool)wxShowTip(arg1,arg2,arg3);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 resultobj = PyInt_FromLong((long)result);
5555 return resultobj;
5556 fail:
5557 return NULL;
5558 }
5559
5560
5561 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 wxString *arg1 = 0 ;
5564 size_t arg2 ;
5565 wxTipProvider *result;
5566 bool temp1 = False ;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 char *kwnames[] = {
5570 (char *) "filename",(char *) "currentTip", NULL
5571 };
5572
5573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5574 {
5575 arg1 = wxString_in_helper(obj0);
5576 if (arg1 == NULL) SWIG_fail;
5577 temp1 = True;
5578 }
5579 arg2 = (size_t) PyInt_AsLong(obj1);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 {
5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
5583 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5584
5585 wxPyEndAllowThreads(__tstate);
5586 if (PyErr_Occurred()) SWIG_fail;
5587 }
5588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5589 {
5590 if (temp1)
5591 delete arg1;
5592 }
5593 return resultobj;
5594 fail:
5595 {
5596 if (temp1)
5597 delete arg1;
5598 }
5599 return NULL;
5600 }
5601
5602
5603 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj;
5605 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5606 int arg2 = (int) -1 ;
5607 wxPyTimer *result;
5608 PyObject * obj0 = 0 ;
5609 char *kwnames[] = {
5610 (char *) "owner",(char *) "id", NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5614 if (obj0) {
5615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5616 }
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5625 return resultobj;
5626 fail:
5627 return NULL;
5628 }
5629
5630
5631 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5634 PyObject * obj0 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "self", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 delete arg1;
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 Py_INCREF(Py_None); resultobj = Py_None;
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj;
5657 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5658 PyObject *arg2 = (PyObject *) 0 ;
5659 PyObject *arg3 = (PyObject *) 0 ;
5660 PyObject * obj0 = 0 ;
5661 PyObject * obj1 = 0 ;
5662 PyObject * obj2 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "self",(char *) "self",(char *) "_class", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5669 arg2 = obj1;
5670 arg3 = obj2;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 (arg1)->_setCallbackInfo(arg2,arg3);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 Py_INCREF(Py_None); resultobj = Py_None;
5679 return resultobj;
5680 fail:
5681 return NULL;
5682 }
5683
5684
5685 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj;
5687 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5688 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5689 int arg3 = (int) -1 ;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self",(char *) "owner",(char *) "id", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 (arg1)->SetOwner(arg2,arg3);
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
5706 Py_INCREF(Py_None); resultobj = Py_None;
5707 return resultobj;
5708 fail:
5709 return NULL;
5710 }
5711
5712
5713 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj;
5715 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5716 int arg2 = (int) -1 ;
5717 bool arg3 = (bool) False ;
5718 bool result;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj2 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5727 if (obj2) {
5728 arg3 = PyInt_AsLong(obj2) ? true : false;
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (bool)(arg1)->Start(arg2,arg3);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 resultobj = PyInt_FromLong((long)result);
5739 return resultobj;
5740 fail:
5741 return NULL;
5742 }
5743
5744
5745 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5748 PyObject * obj0 = 0 ;
5749 char *kwnames[] = {
5750 (char *) "self", NULL
5751 };
5752
5753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 (arg1)->Stop();
5758
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 Py_INCREF(Py_None); resultobj = Py_None;
5763 return resultobj;
5764 fail:
5765 return NULL;
5766 }
5767
5768
5769 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5770 PyObject *resultobj;
5771 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5772 bool result;
5773 PyObject * obj0 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "self", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5780 {
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5783
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 resultobj = PyInt_FromLong((long)result);
5788 return resultobj;
5789 fail:
5790 return NULL;
5791 }
5792
5793
5794 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5795 PyObject *resultobj;
5796 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5797 int result;
5798 PyObject * obj0 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "self", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5805 {
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 resultobj = PyInt_FromLong((long)result);
5813 return resultobj;
5814 fail:
5815 return NULL;
5816 }
5817
5818
5819 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5820 PyObject *resultobj;
5821 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5822 bool result;
5823 PyObject * obj0 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 resultobj = PyInt_FromLong((long)result);
5838 return resultobj;
5839 fail:
5840 return NULL;
5841 }
5842
5843
5844 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5845 PyObject *obj;
5846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5847 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5848 Py_INCREF(obj);
5849 return Py_BuildValue((char *)"");
5850 }
5851 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5852 PyObject *resultobj;
5853 int arg1 = (int) 0 ;
5854 int arg2 = (int) 0 ;
5855 wxTimerEvent *result;
5856 char *kwnames[] = {
5857 (char *) "timerid",(char *) "interval", NULL
5858 };
5859
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5864
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5869 return resultobj;
5870 fail:
5871 return NULL;
5872 }
5873
5874
5875 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5878 int result;
5879 PyObject * obj0 = 0 ;
5880 char *kwnames[] = {
5881 (char *) "self", NULL
5882 };
5883
5884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 resultobj = PyInt_FromLong((long)result);
5894 return resultobj;
5895 fail:
5896 return NULL;
5897 }
5898
5899
5900 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5901 PyObject *obj;
5902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5903 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5904 Py_INCREF(obj);
5905 return Py_BuildValue((char *)"");
5906 }
5907 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5908 PyObject *resultobj;
5909 wxTimer *arg1 = 0 ;
5910 wxTimerRunner *result;
5911 PyObject * obj0 = 0 ;
5912
5913 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
5914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5915 if (arg1 == NULL) {
5916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5917 }
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5926 return resultobj;
5927 fail:
5928 return NULL;
5929 }
5930
5931
5932 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
5933 PyObject *resultobj;
5934 wxTimer *arg1 = 0 ;
5935 int arg2 ;
5936 bool arg3 = (bool) False ;
5937 wxTimerRunner *result;
5938 PyObject * obj0 = 0 ;
5939 PyObject * obj2 = 0 ;
5940
5941 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
5942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5943 if (arg1 == NULL) {
5944 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5945 }
5946 if (obj2) {
5947 arg3 = PyInt_AsLong(obj2) ? true : false;
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
5965 int argc;
5966 PyObject *argv[4];
5967 int ii;
5968
5969 argc = PyObject_Length(args);
5970 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5971 argv[ii] = PyTuple_GetItem(args,ii);
5972 }
5973 if (argc == 1) {
5974 int _v;
5975 {
5976 void *ptr;
5977 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
5978 _v = 0;
5979 PyErr_Clear();
5980 } else {
5981 _v = 1;
5982 }
5983 }
5984 if (_v) {
5985 return _wrap_new_TimerRunner__SWIG_0(self,args);
5986 }
5987 }
5988 if ((argc >= 2) && (argc <= 3)) {
5989 int _v;
5990 {
5991 void *ptr;
5992 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
5993 _v = 0;
5994 PyErr_Clear();
5995 } else {
5996 _v = 1;
5997 }
5998 }
5999 if (_v) {
6000 {
6001 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6002 }
6003 if (_v) {
6004 if (argc <= 2) {
6005 return _wrap_new_TimerRunner__SWIG_1(self,args);
6006 }
6007 {
6008 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6009 }
6010 if (_v) {
6011 return _wrap_new_TimerRunner__SWIG_1(self,args);
6012 }
6013 }
6014 }
6015 }
6016
6017 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6025 PyObject * obj0 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "self", NULL
6028 };
6029
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6032 {
6033 PyThreadState* __tstate = wxPyBeginAllowThreads();
6034 delete arg1;
6035
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 Py_INCREF(Py_None); resultobj = Py_None;
6040 return resultobj;
6041 fail:
6042 return NULL;
6043 }
6044
6045
6046 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6047 PyObject *resultobj;
6048 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6049 int arg2 ;
6050 bool arg3 = (bool) False ;
6051 PyObject * obj0 = 0 ;
6052 PyObject * obj2 = 0 ;
6053 char *kwnames[] = {
6054 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6055 };
6056
6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6059 if (obj2) {
6060 arg3 = PyInt_AsLong(obj2) ? true : false;
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 {
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 (arg1)->Start(arg2,arg3);
6066
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 }
6070 Py_INCREF(Py_None); resultobj = Py_None;
6071 return resultobj;
6072 fail:
6073 return NULL;
6074 }
6075
6076
6077 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6078 PyObject *obj;
6079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6081 Py_INCREF(obj);
6082 return Py_BuildValue((char *)"");
6083 }
6084 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6085 PyObject *resultobj;
6086 wxLog *result;
6087 char *kwnames[] = {
6088 NULL
6089 };
6090
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 result = (wxLog *)new wxLog();
6095
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6107 PyObject *resultobj;
6108 bool result;
6109 char *kwnames[] = {
6110 NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (bool)wxLog::IsEnabled();
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 resultobj = PyInt_FromLong((long)result);
6122 return resultobj;
6123 fail:
6124 return NULL;
6125 }
6126
6127
6128 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj;
6130 bool arg1 = (bool) True ;
6131 bool result;
6132 PyObject * obj0 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "doIt", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6138 if (obj0) {
6139 arg1 = PyInt_AsLong(obj0) ? true : false;
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 result = (bool)wxLog::EnableLogging(arg1);
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 resultobj = PyInt_FromLong((long)result);
6150 return resultobj;
6151 fail:
6152 return NULL;
6153 }
6154
6155
6156 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj;
6158 wxLogLevel arg1 ;
6159 wxChar *arg2 = (wxChar *) 0 ;
6160 time_t arg3 ;
6161 PyObject * obj0 = 0 ;
6162 PyObject * obj1 = 0 ;
6163 PyObject * obj2 = 0 ;
6164 char *kwnames[] = {
6165 (char *) "level",(char *) "szString",(char *) "t", NULL
6166 };
6167
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6169 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6172 arg3 = (time_t) PyInt_AsLong(obj2);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 Py_INCREF(Py_None); resultobj = Py_None;
6182 return resultobj;
6183 fail:
6184 return NULL;
6185 }
6186
6187
6188 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj;
6190 wxLog *arg1 = (wxLog *) 0 ;
6191 PyObject * obj0 = 0 ;
6192 char *kwnames[] = {
6193 (char *) "self", NULL
6194 };
6195
6196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 (arg1)->Flush();
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 Py_INCREF(Py_None); resultobj = Py_None;
6206 return resultobj;
6207 fail:
6208 return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj;
6214 char *kwnames[] = {
6215 NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 wxLog::FlushActive();
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 Py_INCREF(Py_None); resultobj = Py_None;
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxLog *result;
6236 char *kwnames[] = {
6237 NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (wxLog *)wxLog::GetActiveTarget();
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxLog *arg1 = (wxLog *) 0 ;
6258 wxLog *result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "pLogger", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 char *kwnames[] = {
6283 NULL
6284 };
6285
6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 wxLog::Suspend();
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 Py_INCREF(Py_None); resultobj = Py_None;
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 char *kwnames[] = {
6304 NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 wxLog::Resume();
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 Py_INCREF(Py_None); resultobj = Py_None;
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 bool arg1 = (bool) True ;
6325 PyObject * obj0 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "bVerbose", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6331 if (obj0) {
6332 arg1 = PyInt_AsLong(obj0) ? true : false;
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 wxLog::SetVerbose(arg1);
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 Py_INCREF(Py_None); resultobj = Py_None;
6343 return resultobj;
6344 fail:
6345 return NULL;
6346 }
6347
6348
6349 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 wxLogLevel arg1 ;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "logLevel", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6358 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 wxLog::SetLogLevel(arg1);
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 Py_INCREF(Py_None); resultobj = Py_None;
6368 return resultobj;
6369 fail:
6370 return NULL;
6371 }
6372
6373
6374 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj;
6376 char *kwnames[] = {
6377 NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 wxLog::DontCreateOnDemand();
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 Py_INCREF(Py_None); resultobj = Py_None;
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxTraceMask arg1 ;
6398 PyObject * obj0 = 0 ;
6399 char *kwnames[] = {
6400 (char *) "ulMask", NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6404 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 {
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 wxLog::SetTraceMask(arg1);
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 Py_INCREF(Py_None); resultobj = Py_None;
6414 return resultobj;
6415 fail:
6416 return NULL;
6417 }
6418
6419
6420 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6421 PyObject *resultobj;
6422 wxString *arg1 = 0 ;
6423 bool temp1 = False ;
6424 PyObject * obj0 = 0 ;
6425 char *kwnames[] = {
6426 (char *) "str", NULL
6427 };
6428
6429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6430 {
6431 arg1 = wxString_in_helper(obj0);
6432 if (arg1 == NULL) SWIG_fail;
6433 temp1 = True;
6434 }
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 wxLog::AddTraceMask((wxString const &)*arg1);
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 Py_INCREF(Py_None); resultobj = Py_None;
6443 {
6444 if (temp1)
6445 delete arg1;
6446 }
6447 return resultobj;
6448 fail:
6449 {
6450 if (temp1)
6451 delete arg1;
6452 }
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxString *arg1 = 0 ;
6460 bool temp1 = False ;
6461 PyObject * obj0 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "str", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6467 {
6468 arg1 = wxString_in_helper(obj0);
6469 if (arg1 == NULL) SWIG_fail;
6470 temp1 = True;
6471 }
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 wxLog::RemoveTraceMask((wxString const &)*arg1);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 Py_INCREF(Py_None); resultobj = Py_None;
6480 {
6481 if (temp1)
6482 delete arg1;
6483 }
6484 return resultobj;
6485 fail:
6486 {
6487 if (temp1)
6488 delete arg1;
6489 }
6490 return NULL;
6491 }
6492
6493
6494 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 char *kwnames[] = {
6497 NULL
6498 };
6499
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 wxLog::ClearTraceMasks();
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 Py_INCREF(Py_None); resultobj = Py_None;
6509 return resultobj;
6510 fail:
6511 return NULL;
6512 }
6513
6514
6515 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj;
6517 wxArrayString *result;
6518 char *kwnames[] = {
6519 NULL
6520 };
6521
6522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 {
6526 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6527 result = (wxArrayString *) &_result_ref;
6528 }
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 {
6534 resultobj = wxArrayString2PyList_helper(*result);
6535 }
6536 return resultobj;
6537 fail:
6538 return NULL;
6539 }
6540
6541
6542 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6543 PyObject *resultobj;
6544 wxChar *arg1 = (wxChar *) 0 ;
6545 PyObject * obj0 = 0 ;
6546 char *kwnames[] = {
6547 (char *) "ts", NULL
6548 };
6549
6550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 wxLog::SetTimestamp((wxChar const *)arg1);
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 Py_INCREF(Py_None); resultobj = Py_None;
6560 return resultobj;
6561 fail:
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 bool result;
6569 char *kwnames[] = {
6570 NULL
6571 };
6572
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6574 {
6575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6576 result = (bool)wxLog::GetVerbose();
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 resultobj = PyInt_FromLong((long)result);
6582 return resultobj;
6583 fail:
6584 return NULL;
6585 }
6586
6587
6588 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj;
6590 wxTraceMask result;
6591 char *kwnames[] = {
6592 NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 result = (wxTraceMask)wxLog::GetTraceMask();
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 }
6603 resultobj = PyInt_FromLong((long)result);
6604 return resultobj;
6605 fail:
6606 return NULL;
6607 }
6608
6609
6610 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject *resultobj;
6612 wxChar *arg1 = (wxChar *) 0 ;
6613 bool result;
6614 PyObject * obj0 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "mask", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 resultobj = PyInt_FromLong((long)result);
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxLogLevel result;
6638 char *kwnames[] = {
6639 NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (wxLogLevel)wxLog::GetLogLevel();
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 resultobj = PyInt_FromLong((long)result);
6651 return resultobj;
6652 fail:
6653 return NULL;
6654 }
6655
6656
6657 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj;
6659 wxChar *result;
6660 char *kwnames[] = {
6661 NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (wxChar *)wxLog::GetTimestamp();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6673 return resultobj;
6674 fail:
6675 return NULL;
6676 }
6677
6678
6679 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxString result;
6682 char *kwnames[] = {
6683 NULL
6684 };
6685
6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = Log_TimeStamp();
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 #if wxUSE_UNICODE
6696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6697 #else
6698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6699 #endif
6700 }
6701 return resultobj;
6702 fail:
6703 return NULL;
6704 }
6705
6706
6707 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6708 PyObject *resultobj;
6709 wxLog *arg1 = (wxLog *) 0 ;
6710 PyObject * obj0 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "self", NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 wxLog_Destroy(arg1);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 Py_INCREF(Py_None); resultobj = Py_None;
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6732 PyObject *obj;
6733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6735 Py_INCREF(obj);
6736 return Py_BuildValue((char *)"");
6737 }
6738 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxLogStderr *result;
6741 char *kwnames[] = {
6742 NULL
6743 };
6744
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = (wxLogStderr *)new wxLogStderr();
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6754 return resultobj;
6755 fail:
6756 return NULL;
6757 }
6758
6759
6760 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6761 PyObject *obj;
6762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6763 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6764 Py_INCREF(obj);
6765 return Py_BuildValue((char *)"");
6766 }
6767 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6768 PyObject *resultobj;
6769 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6770 wxLogTextCtrl *result;
6771 PyObject * obj0 = 0 ;
6772 char *kwnames[] = {
6773 (char *) "pTextCtrl", NULL
6774 };
6775
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6786 return resultobj;
6787 fail:
6788 return NULL;
6789 }
6790
6791
6792 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6793 PyObject *obj;
6794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6795 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6796 Py_INCREF(obj);
6797 return Py_BuildValue((char *)"");
6798 }
6799 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj;
6801 wxLogGui *result;
6802 char *kwnames[] = {
6803 NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = (wxLogGui *)new wxLogGui();
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6815 return resultobj;
6816 fail:
6817 return NULL;
6818 }
6819
6820
6821 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6822 PyObject *obj;
6823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6824 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6825 Py_INCREF(obj);
6826 return Py_BuildValue((char *)"");
6827 }
6828 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj;
6830 wxFrame *arg1 = (wxFrame *) 0 ;
6831 wxString *arg2 = 0 ;
6832 bool arg3 = (bool) True ;
6833 bool arg4 = (bool) True ;
6834 wxLogWindow *result;
6835 bool temp2 = False ;
6836 PyObject * obj0 = 0 ;
6837 PyObject * obj1 = 0 ;
6838 PyObject * obj2 = 0 ;
6839 PyObject * obj3 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6846 {
6847 arg2 = wxString_in_helper(obj1);
6848 if (arg2 == NULL) SWIG_fail;
6849 temp2 = True;
6850 }
6851 if (obj2) {
6852 arg3 = PyInt_AsLong(obj2) ? true : false;
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 if (obj3) {
6856 arg4 = PyInt_AsLong(obj3) ? true : false;
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6867 {
6868 if (temp2)
6869 delete arg2;
6870 }
6871 return resultobj;
6872 fail:
6873 {
6874 if (temp2)
6875 delete arg2;
6876 }
6877 return NULL;
6878 }
6879
6880
6881 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6884 bool arg2 = (bool) True ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "bShow", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 if (obj1) {
6894 arg2 = PyInt_AsLong(obj1) ? true : false;
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 (arg1)->Show(arg2);
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 Py_INCREF(Py_None); resultobj = Py_None;
6905 return resultobj;
6906 fail:
6907 return NULL;
6908 }
6909
6910
6911 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6914 wxFrame *result;
6915 PyObject * obj0 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
6925
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 {
6930 resultobj = wxPyMake_wxObject(result);
6931 }
6932 return resultobj;
6933 fail:
6934 return NULL;
6935 }
6936
6937
6938 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj;
6940 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6941 wxLog *result;
6942 PyObject * obj0 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6957 return resultobj;
6958 fail:
6959 return NULL;
6960 }
6961
6962
6963 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6966 bool result;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = PyInt_FromLong((long)result);
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6991 bool arg2 ;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "bDoPass", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7000 arg2 = PyInt_AsLong(obj1) ? true : false;
7001 if (PyErr_Occurred()) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 (arg1)->PassMessages(arg2);
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 Py_INCREF(Py_None); resultobj = Py_None;
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7017 PyObject *obj;
7018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7019 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7020 Py_INCREF(obj);
7021 return Py_BuildValue((char *)"");
7022 }
7023 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxLog *arg1 = (wxLog *) 0 ;
7026 wxLogChain *result;
7027 PyObject * obj0 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "logger", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (wxLogChain *)new wxLogChain(arg1);
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7042 return resultobj;
7043 fail:
7044 return NULL;
7045 }
7046
7047
7048 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 wxLogChain *arg1 = (wxLogChain *) 0 ;
7051 wxLog *arg2 = (wxLog *) 0 ;
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "logger", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 (arg1)->SetLog(arg2);
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 Py_INCREF(Py_None); resultobj = Py_None;
7069 return resultobj;
7070 fail:
7071 return NULL;
7072 }
7073
7074
7075 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7076 PyObject *resultobj;
7077 wxLogChain *arg1 = (wxLogChain *) 0 ;
7078 bool arg2 ;
7079 PyObject * obj0 = 0 ;
7080 PyObject * obj1 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "self",(char *) "bDoPass", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7087 arg2 = PyInt_AsLong(obj1) ? true : false;
7088 if (PyErr_Occurred()) SWIG_fail;
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 (arg1)->PassMessages(arg2);
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 Py_INCREF(Py_None); resultobj = Py_None;
7097 return resultobj;
7098 fail:
7099 return NULL;
7100 }
7101
7102
7103 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxLogChain *arg1 = (wxLogChain *) 0 ;
7106 bool result;
7107 PyObject * obj0 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 result = (bool)(arg1)->IsPassingMessages();
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 resultobj = PyInt_FromLong((long)result);
7122 return resultobj;
7123 fail:
7124 return NULL;
7125 }
7126
7127
7128 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 wxLogChain *arg1 = (wxLogChain *) 0 ;
7131 wxLog *result;
7132 PyObject * obj0 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (wxLog *)(arg1)->GetOldLog();
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7147 return resultobj;
7148 fail:
7149 return NULL;
7150 }
7151
7152
7153 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7154 PyObject *obj;
7155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7156 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7157 Py_INCREF(obj);
7158 return Py_BuildValue((char *)"");
7159 }
7160 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 unsigned long result;
7163 char *kwnames[] = {
7164 NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = (unsigned long)wxSysErrorCode();
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 resultobj = PyInt_FromLong((long)result);
7176 return resultobj;
7177 fail:
7178 return NULL;
7179 }
7180
7181
7182 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7183 PyObject *resultobj;
7184 unsigned long arg1 = (unsigned long) 0 ;
7185 wxString result;
7186 PyObject * obj0 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "nErrCode", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7192 if (obj0) {
7193 arg1 = (unsigned long) PyInt_AsLong(obj0);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = wxSysErrorMsg(arg1);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 {
7204 #if wxUSE_UNICODE
7205 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7206 #else
7207 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7208 #endif
7209 }
7210 return resultobj;
7211 fail:
7212 return NULL;
7213 }
7214
7215
7216 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj;
7218 wxString *arg1 = 0 ;
7219 bool temp1 = False ;
7220 PyObject * obj0 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "msg", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7226 {
7227 arg1 = wxString_in_helper(obj0);
7228 if (arg1 == NULL) SWIG_fail;
7229 temp1 = True;
7230 }
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 wxLogFatalError((wxString const &)*arg1);
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 Py_INCREF(Py_None); resultobj = Py_None;
7239 {
7240 if (temp1)
7241 delete arg1;
7242 }
7243 return resultobj;
7244 fail:
7245 {
7246 if (temp1)
7247 delete arg1;
7248 }
7249 return NULL;
7250 }
7251
7252
7253 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj;
7255 wxString *arg1 = 0 ;
7256 bool temp1 = False ;
7257 PyObject * obj0 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "msg", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7263 {
7264 arg1 = wxString_in_helper(obj0);
7265 if (arg1 == NULL) SWIG_fail;
7266 temp1 = True;
7267 }
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
7270 wxLogError((wxString const &)*arg1);
7271
7272 wxPyEndAllowThreads(__tstate);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 }
7275 Py_INCREF(Py_None); resultobj = Py_None;
7276 {
7277 if (temp1)
7278 delete arg1;
7279 }
7280 return resultobj;
7281 fail:
7282 {
7283 if (temp1)
7284 delete arg1;
7285 }
7286 return NULL;
7287 }
7288
7289
7290 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj;
7292 wxString *arg1 = 0 ;
7293 bool temp1 = False ;
7294 PyObject * obj0 = 0 ;
7295 char *kwnames[] = {
7296 (char *) "msg", NULL
7297 };
7298
7299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7300 {
7301 arg1 = wxString_in_helper(obj0);
7302 if (arg1 == NULL) SWIG_fail;
7303 temp1 = True;
7304 }
7305 {
7306 PyThreadState* __tstate = wxPyBeginAllowThreads();
7307 wxLogWarning((wxString const &)*arg1);
7308
7309 wxPyEndAllowThreads(__tstate);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 }
7312 Py_INCREF(Py_None); resultobj = Py_None;
7313 {
7314 if (temp1)
7315 delete arg1;
7316 }
7317 return resultobj;
7318 fail:
7319 {
7320 if (temp1)
7321 delete arg1;
7322 }
7323 return NULL;
7324 }
7325
7326
7327 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxString *arg1 = 0 ;
7330 bool temp1 = False ;
7331 PyObject * obj0 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "msg", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7337 {
7338 arg1 = wxString_in_helper(obj0);
7339 if (arg1 == NULL) SWIG_fail;
7340 temp1 = True;
7341 }
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 wxLogMessage((wxString const &)*arg1);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 Py_INCREF(Py_None); resultobj = Py_None;
7350 {
7351 if (temp1)
7352 delete arg1;
7353 }
7354 return resultobj;
7355 fail:
7356 {
7357 if (temp1)
7358 delete arg1;
7359 }
7360 return NULL;
7361 }
7362
7363
7364 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxString *arg1 = 0 ;
7367 bool temp1 = False ;
7368 PyObject * obj0 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "msg", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7374 {
7375 arg1 = wxString_in_helper(obj0);
7376 if (arg1 == NULL) SWIG_fail;
7377 temp1 = True;
7378 }
7379 {
7380 PyThreadState* __tstate = wxPyBeginAllowThreads();
7381 wxLogInfo((wxString const &)*arg1);
7382
7383 wxPyEndAllowThreads(__tstate);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 Py_INCREF(Py_None); resultobj = Py_None;
7387 {
7388 if (temp1)
7389 delete arg1;
7390 }
7391 return resultobj;
7392 fail:
7393 {
7394 if (temp1)
7395 delete arg1;
7396 }
7397 return NULL;
7398 }
7399
7400
7401 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj;
7403 wxString *arg1 = 0 ;
7404 bool temp1 = False ;
7405 PyObject * obj0 = 0 ;
7406 char *kwnames[] = {
7407 (char *) "msg", NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7411 {
7412 arg1 = wxString_in_helper(obj0);
7413 if (arg1 == NULL) SWIG_fail;
7414 temp1 = True;
7415 }
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 wxLogDebug((wxString const &)*arg1);
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 Py_INCREF(Py_None); resultobj = Py_None;
7424 {
7425 if (temp1)
7426 delete arg1;
7427 }
7428 return resultobj;
7429 fail:
7430 {
7431 if (temp1)
7432 delete arg1;
7433 }
7434 return NULL;
7435 }
7436
7437
7438 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7439 PyObject *resultobj;
7440 wxString *arg1 = 0 ;
7441 bool temp1 = False ;
7442 PyObject * obj0 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "msg", NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7448 {
7449 arg1 = wxString_in_helper(obj0);
7450 if (arg1 == NULL) SWIG_fail;
7451 temp1 = True;
7452 }
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 wxLogVerbose((wxString const &)*arg1);
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 Py_INCREF(Py_None); resultobj = Py_None;
7461 {
7462 if (temp1)
7463 delete arg1;
7464 }
7465 return resultobj;
7466 fail:
7467 {
7468 if (temp1)
7469 delete arg1;
7470 }
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxString *arg1 = 0 ;
7478 bool temp1 = False ;
7479 PyObject * obj0 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "msg", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7485 {
7486 arg1 = wxString_in_helper(obj0);
7487 if (arg1 == NULL) SWIG_fail;
7488 temp1 = True;
7489 }
7490 {
7491 PyThreadState* __tstate = wxPyBeginAllowThreads();
7492 wxLogStatus((wxString const &)*arg1);
7493
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 Py_INCREF(Py_None); resultobj = Py_None;
7498 {
7499 if (temp1)
7500 delete arg1;
7501 }
7502 return resultobj;
7503 fail:
7504 {
7505 if (temp1)
7506 delete arg1;
7507 }
7508 return NULL;
7509 }
7510
7511
7512 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7513 PyObject *resultobj;
7514 wxFrame *arg1 = (wxFrame *) 0 ;
7515 wxString *arg2 = 0 ;
7516 bool temp2 = False ;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "pFrame",(char *) "msg", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7525 {
7526 arg2 = wxString_in_helper(obj1);
7527 if (arg2 == NULL) SWIG_fail;
7528 temp2 = True;
7529 }
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 wxLogStatus(arg1,(wxString const &)*arg2);
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 Py_INCREF(Py_None); resultobj = Py_None;
7538 {
7539 if (temp2)
7540 delete arg2;
7541 }
7542 return resultobj;
7543 fail:
7544 {
7545 if (temp2)
7546 delete arg2;
7547 }
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxString *arg1 = 0 ;
7555 bool temp1 = False ;
7556 PyObject * obj0 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "msg", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7562 {
7563 arg1 = wxString_in_helper(obj0);
7564 if (arg1 == NULL) SWIG_fail;
7565 temp1 = True;
7566 }
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 wxLogSysError((wxString const &)*arg1);
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 Py_INCREF(Py_None); resultobj = Py_None;
7575 {
7576 if (temp1)
7577 delete arg1;
7578 }
7579 return resultobj;
7580 fail:
7581 {
7582 if (temp1)
7583 delete arg1;
7584 }
7585 return NULL;
7586 }
7587
7588
7589 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj;
7591 wxString *arg1 = 0 ;
7592 bool temp1 = False ;
7593 PyObject * obj0 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "msg", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogTrace",kwnames,&obj0)) goto fail;
7599 {
7600 arg1 = wxString_in_helper(obj0);
7601 if (arg1 == NULL) SWIG_fail;
7602 temp1 = True;
7603 }
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 wxLogTrace((wxString const &)*arg1);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 {
7613 if (temp1)
7614 delete arg1;
7615 }
7616 return resultobj;
7617 fail:
7618 {
7619 if (temp1)
7620 delete arg1;
7621 }
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxString *arg1 = 0 ;
7629 wxString *arg2 = 0 ;
7630 bool temp1 = False ;
7631 bool temp2 = False ;
7632 PyObject * obj0 = 0 ;
7633 PyObject * obj1 = 0 ;
7634 char *kwnames[] = {
7635 (char *) "mask",(char *) "msg", NULL
7636 };
7637
7638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogTraceMask",kwnames,&obj0,&obj1)) goto fail;
7639 {
7640 arg1 = wxString_in_helper(obj0);
7641 if (arg1 == NULL) SWIG_fail;
7642 temp1 = True;
7643 }
7644 {
7645 arg2 = wxString_in_helper(obj1);
7646 if (arg2 == NULL) SWIG_fail;
7647 temp2 = True;
7648 }
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 Py_INCREF(Py_None); resultobj = Py_None;
7657 {
7658 if (temp1)
7659 delete arg1;
7660 }
7661 {
7662 if (temp2)
7663 delete arg2;
7664 }
7665 return resultobj;
7666 fail:
7667 {
7668 if (temp1)
7669 delete arg1;
7670 }
7671 {
7672 if (temp2)
7673 delete arg2;
7674 }
7675 return NULL;
7676 }
7677
7678
7679 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7680 PyObject *resultobj;
7681 unsigned long arg1 ;
7682 wxString *arg2 = 0 ;
7683 bool temp2 = False ;
7684 PyObject * obj0 = 0 ;
7685 PyObject * obj1 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "level",(char *) "msg", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7691 arg1 = (unsigned long) PyInt_AsLong(obj0);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 {
7694 arg2 = wxString_in_helper(obj1);
7695 if (arg2 == NULL) SWIG_fail;
7696 temp2 = True;
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 wxLogGeneric(arg1,(wxString const &)*arg2);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 Py_INCREF(Py_None); resultobj = Py_None;
7706 {
7707 if (temp2)
7708 delete arg2;
7709 }
7710 return resultobj;
7711 fail:
7712 {
7713 if (temp2)
7714 delete arg2;
7715 }
7716 return NULL;
7717 }
7718
7719
7720 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj;
7722 wxString *arg1 = 0 ;
7723 wxString *arg2 = 0 ;
7724 bool temp1 = False ;
7725 bool temp2 = False ;
7726 PyObject * obj0 = 0 ;
7727 PyObject * obj1 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "title",(char *) "text", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7733 {
7734 arg1 = wxString_in_helper(obj0);
7735 if (arg1 == NULL) SWIG_fail;
7736 temp1 = True;
7737 }
7738 {
7739 arg2 = wxString_in_helper(obj1);
7740 if (arg2 == NULL) SWIG_fail;
7741 temp2 = True;
7742 }
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7746
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 Py_INCREF(Py_None); resultobj = Py_None;
7751 {
7752 if (temp1)
7753 delete arg1;
7754 }
7755 {
7756 if (temp2)
7757 delete arg2;
7758 }
7759 return resultobj;
7760 fail:
7761 {
7762 if (temp1)
7763 delete arg1;
7764 }
7765 {
7766 if (temp2)
7767 delete arg2;
7768 }
7769 return NULL;
7770 }
7771
7772
7773 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj;
7775 wxLogNull *result;
7776 char *kwnames[] = {
7777 NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7781 {
7782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7783 result = (wxLogNull *)new wxLogNull();
7784
7785 wxPyEndAllowThreads(__tstate);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
7788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7789 return resultobj;
7790 fail:
7791 return NULL;
7792 }
7793
7794
7795 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxLogNull *arg1 = (wxLogNull *) 0 ;
7798 PyObject * obj0 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "self", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 delete arg1;
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 Py_INCREF(Py_None); resultobj = Py_None;
7813 return resultobj;
7814 fail:
7815 return NULL;
7816 }
7817
7818
7819 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7820 PyObject *obj;
7821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7822 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7823 Py_INCREF(obj);
7824 return Py_BuildValue((char *)"");
7825 }
7826 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 wxPyLog *result;
7829 char *kwnames[] = {
7830 NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = (wxPyLog *)new wxPyLog();
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7842 return resultobj;
7843 fail:
7844 return NULL;
7845 }
7846
7847
7848 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj;
7850 wxPyLog *arg1 = (wxPyLog *) 0 ;
7851 PyObject *arg2 = (PyObject *) 0 ;
7852 PyObject *arg3 = (PyObject *) 0 ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 PyObject * obj2 = 0 ;
7856 char *kwnames[] = {
7857 (char *) "self",(char *) "self",(char *) "_class", NULL
7858 };
7859
7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7862 arg2 = obj1;
7863 arg3 = obj2;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->_setCallbackInfo(arg2,arg3);
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
7879 PyObject *obj;
7880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7881 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
7882 Py_INCREF(obj);
7883 return Py_BuildValue((char *)"");
7884 }
7885 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject *resultobj;
7887 int arg1 ;
7888 int arg2 = (int) wxSIGTERM ;
7889 int result;
7890 char *kwnames[] = {
7891 (char *) "pid",(char *) "sig", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 resultobj = PyInt_FromLong((long)result);
7903 return resultobj;
7904 fail:
7905 return NULL;
7906 }
7907
7908
7909 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject *resultobj;
7911 int arg1 ;
7912 bool result;
7913 char *kwnames[] = {
7914 (char *) "pid", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 result = (bool)wxPyProcess::Exists(arg1);
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 resultobj = PyInt_FromLong((long)result);
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj;
7934 wxString *arg1 = 0 ;
7935 int arg2 = (int) wxEXEC_ASYNC ;
7936 wxPyProcess *result;
7937 bool temp1 = False ;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "cmd",(char *) "flags", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
7944 {
7945 arg1 = wxString_in_helper(obj0);
7946 if (arg1 == NULL) SWIG_fail;
7947 temp1 = True;
7948 }
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
7957 {
7958 if (temp1)
7959 delete arg1;
7960 }
7961 return resultobj;
7962 fail:
7963 {
7964 if (temp1)
7965 delete arg1;
7966 }
7967 return NULL;
7968 }
7969
7970
7971 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject *resultobj;
7973 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
7974 int arg2 = (int) -1 ;
7975 wxPyProcess *result;
7976 PyObject * obj0 = 0 ;
7977 char *kwnames[] = {
7978 (char *) "parent",(char *) "id", NULL
7979 };
7980
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
7982 if (obj0) {
7983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7984 }
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
7993 return resultobj;
7994 fail:
7995 return NULL;
7996 }
7997
7998
7999 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8000 PyObject *resultobj;
8001 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8002 PyObject *arg2 = (PyObject *) 0 ;
8003 PyObject *arg3 = (PyObject *) 0 ;
8004 PyObject * obj0 = 0 ;
8005 PyObject * obj1 = 0 ;
8006 PyObject * obj2 = 0 ;
8007 char *kwnames[] = {
8008 (char *) "self",(char *) "self",(char *) "_class", NULL
8009 };
8010
8011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8013 arg2 = obj1;
8014 arg3 = obj2;
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->_setCallbackInfo(arg2,arg3);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 Py_INCREF(Py_None); resultobj = Py_None;
8023 return resultobj;
8024 fail:
8025 return NULL;
8026 }
8027
8028
8029 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8030 PyObject *resultobj;
8031 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8032 int arg2 ;
8033 int arg3 ;
8034 PyObject * obj0 = 0 ;
8035 char *kwnames[] = {
8036 (char *) "self",(char *) "pid",(char *) "status", NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 (arg1)->base_OnTerminate(arg2,arg3);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 Py_INCREF(Py_None); resultobj = Py_None;
8049 return resultobj;
8050 fail:
8051 return NULL;
8052 }
8053
8054
8055 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8058 PyObject * obj0 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "self", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->Redirect();
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8082 bool result;
8083 PyObject * obj0 = 0 ;
8084 char *kwnames[] = {
8085 (char *) "self", NULL
8086 };
8087
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 result = (bool)(arg1)->IsRedirected();
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 resultobj = PyInt_FromLong((long)result);
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8107 PyObject * obj0 = 0 ;
8108 char *kwnames[] = {
8109 (char *) "self", NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8114 {
8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
8116 (arg1)->Detach();
8117
8118 wxPyEndAllowThreads(__tstate);
8119 if (PyErr_Occurred()) SWIG_fail;
8120 }
8121 Py_INCREF(Py_None); resultobj = Py_None;
8122 return resultobj;
8123 fail:
8124 return NULL;
8125 }
8126
8127
8128 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8129 PyObject *resultobj;
8130 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8131 wxInputStream *result;
8132 PyObject * obj0 = 0 ;
8133 char *kwnames[] = {
8134 (char *) "self", NULL
8135 };
8136
8137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8139 {
8140 PyThreadState* __tstate = wxPyBeginAllowThreads();
8141 result = (wxInputStream *)(arg1)->GetInputStream();
8142
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 {
8147 wxPyInputStream * _ptr = NULL;
8148
8149 if (result) {
8150 _ptr = new wxPyInputStream(result);
8151 }
8152 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8153 }
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj;
8162 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8163 wxInputStream *result;
8164 PyObject * obj0 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (wxInputStream *)(arg1)->GetErrorStream();
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 {
8179 wxPyInputStream * _ptr = NULL;
8180
8181 if (result) {
8182 _ptr = new wxPyInputStream(result);
8183 }
8184 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8185 }
8186 return resultobj;
8187 fail:
8188 return NULL;
8189 }
8190
8191
8192 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8195 wxOutputStream *result;
8196 PyObject * obj0 = 0 ;
8197 char *kwnames[] = {
8198 (char *) "self", NULL
8199 };
8200
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8203 {
8204 PyThreadState* __tstate = wxPyBeginAllowThreads();
8205 result = (wxOutputStream *)(arg1)->GetOutputStream();
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8211 return resultobj;
8212 fail:
8213 return NULL;
8214 }
8215
8216
8217 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj;
8219 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 (arg1)->CloseOutput();
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 Py_INCREF(Py_None); resultobj = Py_None;
8235 return resultobj;
8236 fail:
8237 return NULL;
8238 }
8239
8240
8241 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject *resultobj;
8243 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8244 bool result;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 resultobj = PyInt_FromLong((long)result);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263 }
8264
8265
8266 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8269 bool result;
8270 PyObject * obj0 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "self", NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 resultobj = PyInt_FromLong((long)result);
8285 return resultobj;
8286 fail:
8287 return NULL;
8288 }
8289
8290
8291 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8292 PyObject *resultobj;
8293 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8294 bool result;
8295 PyObject * obj0 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8305
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 resultobj = PyInt_FromLong((long)result);
8310 return resultobj;
8311 fail:
8312 return NULL;
8313 }
8314
8315
8316 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8317 PyObject *obj;
8318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8319 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8320 Py_INCREF(obj);
8321 return Py_BuildValue((char *)"");
8322 }
8323 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8324 PyObject *resultobj;
8325 int arg1 = (int) 0 ;
8326 int arg2 = (int) 0 ;
8327 int arg3 = (int) 0 ;
8328 wxProcessEvent *result;
8329 char *kwnames[] = {
8330 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8342 return resultobj;
8343 fail:
8344 return NULL;
8345 }
8346
8347
8348 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj;
8350 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8351 int result;
8352 PyObject * obj0 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 result = (int)(arg1)->GetPid();
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 resultobj = PyInt_FromLong((long)result);
8367 return resultobj;
8368 fail:
8369 return NULL;
8370 }
8371
8372
8373 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8374 PyObject *resultobj;
8375 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8376 int result;
8377 PyObject * obj0 = 0 ;
8378 char *kwnames[] = {
8379 (char *) "self", NULL
8380 };
8381
8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (int)(arg1)->GetExitCode();
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 resultobj = PyInt_FromLong((long)result);
8392 return resultobj;
8393 fail:
8394 return NULL;
8395 }
8396
8397
8398 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj;
8400 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8401 int arg2 ;
8402 PyObject * obj0 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self",(char *) "m_pid", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8409 if (arg1) (arg1)->m_pid = arg2;
8410
8411 Py_INCREF(Py_None); resultobj = Py_None;
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj;
8420 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8421 int result;
8422 PyObject * obj0 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "self", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8429 result = (int) ((arg1)->m_pid);
8430
8431 resultobj = PyInt_FromLong((long)result);
8432 return resultobj;
8433 fail:
8434 return NULL;
8435 }
8436
8437
8438 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8439 PyObject *resultobj;
8440 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8441 int arg2 ;
8442 PyObject * obj0 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self",(char *) "m_exitcode", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8449 if (arg1) (arg1)->m_exitcode = arg2;
8450
8451 Py_INCREF(Py_None); resultobj = Py_None;
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8461 int result;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8469 result = (int) ((arg1)->m_exitcode);
8470
8471 resultobj = PyInt_FromLong((long)result);
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8479 PyObject *obj;
8480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8481 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8482 Py_INCREF(obj);
8483 return Py_BuildValue((char *)"");
8484 }
8485 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8486 PyObject *resultobj;
8487 wxString *arg1 = 0 ;
8488 int arg2 = (int) wxEXEC_ASYNC ;
8489 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8490 long result;
8491 bool temp1 = False ;
8492 PyObject * obj0 = 0 ;
8493 PyObject * obj2 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "command",(char *) "flags",(char *) "process", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8499 {
8500 arg1 = wxString_in_helper(obj0);
8501 if (arg1 == NULL) SWIG_fail;
8502 temp1 = True;
8503 }
8504 if (obj2) {
8505 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8506 }
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = PyInt_FromLong((long)result);
8515 {
8516 if (temp1)
8517 delete arg1;
8518 }
8519 return resultobj;
8520 fail:
8521 {
8522 if (temp1)
8523 delete arg1;
8524 }
8525 return NULL;
8526 }
8527
8528
8529 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8530 PyObject *resultobj;
8531 int arg1 = (int) wxJOYSTICK1 ;
8532 wxJoystick *result;
8533 char *kwnames[] = {
8534 (char *) "joystick", NULL
8535 };
8536
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8538 {
8539 PyThreadState* __tstate = wxPyBeginAllowThreads();
8540 result = (wxJoystick *)new wxJoystick(arg1);
8541
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject *resultobj;
8554 wxJoystick *arg1 = (wxJoystick *) 0 ;
8555 PyObject * obj0 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 delete arg1;
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 Py_INCREF(Py_None); resultobj = Py_None;
8570 return resultobj;
8571 fail:
8572 return NULL;
8573 }
8574
8575
8576 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxJoystick *arg1 = (wxJoystick *) 0 ;
8579 wxPoint result;
8580 PyObject * obj0 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 result = (arg1)->GetPosition();
8590
8591 wxPyEndAllowThreads(__tstate);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 {
8595 wxPoint * resultptr;
8596 resultptr = new wxPoint((wxPoint &) result);
8597 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8598 }
8599 return resultobj;
8600 fail:
8601 return NULL;
8602 }
8603
8604
8605 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxJoystick *arg1 = (wxJoystick *) 0 ;
8608 int result;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 result = (int)(arg1)->GetZPosition();
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 resultobj = PyInt_FromLong((long)result);
8624 return resultobj;
8625 fail:
8626 return NULL;
8627 }
8628
8629
8630 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxJoystick *arg1 = (wxJoystick *) 0 ;
8633 int result;
8634 PyObject * obj0 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (int)(arg1)->GetButtonState();
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 resultobj = PyInt_FromLong((long)result);
8649 return resultobj;
8650 fail:
8651 return NULL;
8652 }
8653
8654
8655 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxJoystick *arg1 = (wxJoystick *) 0 ;
8658 int result;
8659 PyObject * obj0 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8666 {
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 result = (int)(arg1)->GetPOVPosition();
8669
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 resultobj = PyInt_FromLong((long)result);
8674 return resultobj;
8675 fail:
8676 return NULL;
8677 }
8678
8679
8680 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8681 PyObject *resultobj;
8682 wxJoystick *arg1 = (wxJoystick *) 0 ;
8683 int result;
8684 PyObject * obj0 = 0 ;
8685 char *kwnames[] = {
8686 (char *) "self", NULL
8687 };
8688
8689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 result = (int)(arg1)->GetPOVCTSPosition();
8694
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = PyInt_FromLong((long)result);
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8706 PyObject *resultobj;
8707 wxJoystick *arg1 = (wxJoystick *) 0 ;
8708 int result;
8709 PyObject * obj0 = 0 ;
8710 char *kwnames[] = {
8711 (char *) "self", NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (int)(arg1)->GetRudderPosition();
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 resultobj = PyInt_FromLong((long)result);
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj;
8732 wxJoystick *arg1 = (wxJoystick *) 0 ;
8733 int result;
8734 PyObject * obj0 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 result = (int)(arg1)->GetUPosition();
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 resultobj = PyInt_FromLong((long)result);
8749 return resultobj;
8750 fail:
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxJoystick *arg1 = (wxJoystick *) 0 ;
8758 int result;
8759 PyObject * obj0 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "self", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8766 {
8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
8768 result = (int)(arg1)->GetVPosition();
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 resultobj = PyInt_FromLong((long)result);
8774 return resultobj;
8775 fail:
8776 return NULL;
8777 }
8778
8779
8780 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8781 PyObject *resultobj;
8782 wxJoystick *arg1 = (wxJoystick *) 0 ;
8783 int result;
8784 PyObject * obj0 = 0 ;
8785 char *kwnames[] = {
8786 (char *) "self", NULL
8787 };
8788
8789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = (int)(arg1)->GetMovementThreshold();
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 resultobj = PyInt_FromLong((long)result);
8799 return resultobj;
8800 fail:
8801 return NULL;
8802 }
8803
8804
8805 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj;
8807 wxJoystick *arg1 = (wxJoystick *) 0 ;
8808 int arg2 ;
8809 PyObject * obj0 = 0 ;
8810 char *kwnames[] = {
8811 (char *) "self",(char *) "threshold", NULL
8812 };
8813
8814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 (arg1)->SetMovementThreshold(arg2);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 Py_INCREF(Py_None); resultobj = Py_None;
8824 return resultobj;
8825 fail:
8826 return NULL;
8827 }
8828
8829
8830 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxJoystick *arg1 = (wxJoystick *) 0 ;
8833 bool result;
8834 PyObject * obj0 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 result = (bool)(arg1)->IsOk();
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 resultobj = PyInt_FromLong((long)result);
8849 return resultobj;
8850 fail:
8851 return NULL;
8852 }
8853
8854
8855 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj;
8857 wxJoystick *arg1 = (wxJoystick *) 0 ;
8858 int result;
8859 PyObject * obj0 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (int)(arg1)->GetNumberJoysticks();
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 resultobj = PyInt_FromLong((long)result);
8874 return resultobj;
8875 fail:
8876 return NULL;
8877 }
8878
8879
8880 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 wxJoystick *arg1 = (wxJoystick *) 0 ;
8883 int result;
8884 PyObject * obj0 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "self", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
8890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 result = (int)(arg1)->GetManufacturerId();
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 resultobj = PyInt_FromLong((long)result);
8899 return resultobj;
8900 fail:
8901 return NULL;
8902 }
8903
8904
8905 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 wxJoystick *arg1 = (wxJoystick *) 0 ;
8908 int result;
8909 PyObject * obj0 = 0 ;
8910 char *kwnames[] = {
8911 (char *) "self", NULL
8912 };
8913
8914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
8915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 result = (int)(arg1)->GetProductId();
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 resultobj = PyInt_FromLong((long)result);
8924 return resultobj;
8925 fail:
8926 return NULL;
8927 }
8928
8929
8930 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
8931 PyObject *resultobj;
8932 wxJoystick *arg1 = (wxJoystick *) 0 ;
8933 wxString result;
8934 PyObject * obj0 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self", NULL
8937 };
8938
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
8940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 result = (arg1)->GetProductName();
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 {
8949 #if wxUSE_UNICODE
8950 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8951 #else
8952 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8953 #endif
8954 }
8955 return resultobj;
8956 fail:
8957 return NULL;
8958 }
8959
8960
8961 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj;
8963 wxJoystick *arg1 = (wxJoystick *) 0 ;
8964 int result;
8965 PyObject * obj0 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
8971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 result = (int)(arg1)->GetXMin();
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 resultobj = PyInt_FromLong((long)result);
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxJoystick *arg1 = (wxJoystick *) 0 ;
8989 int result;
8990 PyObject * obj0 = 0 ;
8991 char *kwnames[] = {
8992 (char *) "self", NULL
8993 };
8994
8995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
8996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 result = (int)(arg1)->GetYMin();
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 resultobj = PyInt_FromLong((long)result);
9005 return resultobj;
9006 fail:
9007 return NULL;
9008 }
9009
9010
9011 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject *resultobj;
9013 wxJoystick *arg1 = (wxJoystick *) 0 ;
9014 int result;
9015 PyObject * obj0 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (int)(arg1)->GetZMin();
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = PyInt_FromLong((long)result);
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxJoystick *arg1 = (wxJoystick *) 0 ;
9039 int result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (int)(arg1)->GetXMax();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 resultobj = PyInt_FromLong((long)result);
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxJoystick *arg1 = (wxJoystick *) 0 ;
9064 int result;
9065 PyObject * obj0 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 result = (int)(arg1)->GetYMax();
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 resultobj = PyInt_FromLong((long)result);
9080 return resultobj;
9081 fail:
9082 return NULL;
9083 }
9084
9085
9086 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxJoystick *arg1 = (wxJoystick *) 0 ;
9089 int result;
9090 PyObject * obj0 = 0 ;
9091 char *kwnames[] = {
9092 (char *) "self", NULL
9093 };
9094
9095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = (int)(arg1)->GetZMax();
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 resultobj = PyInt_FromLong((long)result);
9105 return resultobj;
9106 fail:
9107 return NULL;
9108 }
9109
9110
9111 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxJoystick *arg1 = (wxJoystick *) 0 ;
9114 int result;
9115 PyObject * obj0 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9122 {
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 result = (int)(arg1)->GetNumberButtons();
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 resultobj = PyInt_FromLong((long)result);
9130 return resultobj;
9131 fail:
9132 return NULL;
9133 }
9134
9135
9136 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9137 PyObject *resultobj;
9138 wxJoystick *arg1 = (wxJoystick *) 0 ;
9139 int result;
9140 PyObject * obj0 = 0 ;
9141 char *kwnames[] = {
9142 (char *) "self", NULL
9143 };
9144
9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 result = (int)(arg1)->GetNumberAxes();
9150
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 resultobj = PyInt_FromLong((long)result);
9155 return resultobj;
9156 fail:
9157 return NULL;
9158 }
9159
9160
9161 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9162 PyObject *resultobj;
9163 wxJoystick *arg1 = (wxJoystick *) 0 ;
9164 int result;
9165 PyObject * obj0 = 0 ;
9166 char *kwnames[] = {
9167 (char *) "self", NULL
9168 };
9169
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (int)(arg1)->GetMaxButtons();
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = PyInt_FromLong((long)result);
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxJoystick *arg1 = (wxJoystick *) 0 ;
9189 int result;
9190 PyObject * obj0 = 0 ;
9191 char *kwnames[] = {
9192 (char *) "self", NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (int)(arg1)->GetMaxAxes();
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 resultobj = PyInt_FromLong((long)result);
9205 return resultobj;
9206 fail:
9207 return NULL;
9208 }
9209
9210
9211 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxJoystick *arg1 = (wxJoystick *) 0 ;
9214 int result;
9215 PyObject * obj0 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (int)(arg1)->GetPollingMin();
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 resultobj = PyInt_FromLong((long)result);
9230 return resultobj;
9231 fail:
9232 return NULL;
9233 }
9234
9235
9236 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 wxJoystick *arg1 = (wxJoystick *) 0 ;
9239 int result;
9240 PyObject * obj0 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "self", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 result = (int)(arg1)->GetPollingMax();
9250
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 resultobj = PyInt_FromLong((long)result);
9255 return resultobj;
9256 fail:
9257 return NULL;
9258 }
9259
9260
9261 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxJoystick *arg1 = (wxJoystick *) 0 ;
9264 int result;
9265 PyObject * obj0 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (int)(arg1)->GetRudderMin();
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 resultobj = PyInt_FromLong((long)result);
9280 return resultobj;
9281 fail:
9282 return NULL;
9283 }
9284
9285
9286 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxJoystick *arg1 = (wxJoystick *) 0 ;
9289 int result;
9290 PyObject * obj0 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (int)(arg1)->GetRudderMax();
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 resultobj = PyInt_FromLong((long)result);
9305 return resultobj;
9306 fail:
9307 return NULL;
9308 }
9309
9310
9311 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxJoystick *arg1 = (wxJoystick *) 0 ;
9314 int result;
9315 PyObject * obj0 = 0 ;
9316 char *kwnames[] = {
9317 (char *) "self", NULL
9318 };
9319
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (int)(arg1)->GetUMin();
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 resultobj = PyInt_FromLong((long)result);
9330 return resultobj;
9331 fail:
9332 return NULL;
9333 }
9334
9335
9336 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxJoystick *arg1 = (wxJoystick *) 0 ;
9339 int result;
9340 PyObject * obj0 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (int)(arg1)->GetUMax();
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 resultobj = PyInt_FromLong((long)result);
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxJoystick *arg1 = (wxJoystick *) 0 ;
9364 int result;
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = (int)(arg1)->GetVMin();
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 resultobj = PyInt_FromLong((long)result);
9380 return resultobj;
9381 fail:
9382 return NULL;
9383 }
9384
9385
9386 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxJoystick *arg1 = (wxJoystick *) 0 ;
9389 int result;
9390 PyObject * obj0 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 result = (int)(arg1)->GetVMax();
9400
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
9404 resultobj = PyInt_FromLong((long)result);
9405 return resultobj;
9406 fail:
9407 return NULL;
9408 }
9409
9410
9411 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9412 PyObject *resultobj;
9413 wxJoystick *arg1 = (wxJoystick *) 0 ;
9414 bool result;
9415 PyObject * obj0 = 0 ;
9416 char *kwnames[] = {
9417 (char *) "self", NULL
9418 };
9419
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = (bool)(arg1)->HasRudder();
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = PyInt_FromLong((long)result);
9430 return resultobj;
9431 fail:
9432 return NULL;
9433 }
9434
9435
9436 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxJoystick *arg1 = (wxJoystick *) 0 ;
9439 bool result;
9440 PyObject * obj0 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (bool)(arg1)->HasZ();
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 resultobj = PyInt_FromLong((long)result);
9455 return resultobj;
9456 fail:
9457 return NULL;
9458 }
9459
9460
9461 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxJoystick *arg1 = (wxJoystick *) 0 ;
9464 bool result;
9465 PyObject * obj0 = 0 ;
9466 char *kwnames[] = {
9467 (char *) "self", NULL
9468 };
9469
9470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (bool)(arg1)->HasU();
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 resultobj = PyInt_FromLong((long)result);
9480 return resultobj;
9481 fail:
9482 return NULL;
9483 }
9484
9485
9486 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxJoystick *arg1 = (wxJoystick *) 0 ;
9489 bool result;
9490 PyObject * obj0 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (bool)(arg1)->HasV();
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 resultobj = PyInt_FromLong((long)result);
9505 return resultobj;
9506 fail:
9507 return NULL;
9508 }
9509
9510
9511 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9512 PyObject *resultobj;
9513 wxJoystick *arg1 = (wxJoystick *) 0 ;
9514 bool result;
9515 PyObject * obj0 = 0 ;
9516 char *kwnames[] = {
9517 (char *) "self", NULL
9518 };
9519
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (bool)(arg1)->HasPOV();
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = PyInt_FromLong((long)result);
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj;
9538 wxJoystick *arg1 = (wxJoystick *) 0 ;
9539 bool result;
9540 PyObject * obj0 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (bool)(arg1)->HasPOV4Dir();
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 resultobj = PyInt_FromLong((long)result);
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxJoystick *arg1 = (wxJoystick *) 0 ;
9564 bool result;
9565 PyObject * obj0 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (bool)(arg1)->HasPOVCTS();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 resultobj = PyInt_FromLong((long)result);
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxJoystick *arg1 = (wxJoystick *) 0 ;
9589 wxWindow *arg2 = (wxWindow *) 0 ;
9590 int arg3 = (int) 0 ;
9591 bool result;
9592 PyObject * obj0 = 0 ;
9593 PyObject * obj1 = 0 ;
9594 char *kwnames[] = {
9595 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9596 };
9597
9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 result = (bool)(arg1)->SetCapture(arg2,arg3);
9604
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
9608 resultobj = PyInt_FromLong((long)result);
9609 return resultobj;
9610 fail:
9611 return NULL;
9612 }
9613
9614
9615 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9616 PyObject *resultobj;
9617 wxJoystick *arg1 = (wxJoystick *) 0 ;
9618 bool result;
9619 PyObject * obj0 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "self", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 result = (bool)(arg1)->ReleaseCapture();
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 resultobj = PyInt_FromLong((long)result);
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9641 PyObject *obj;
9642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9643 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9644 Py_INCREF(obj);
9645 return Py_BuildValue((char *)"");
9646 }
9647 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9648 PyObject *resultobj;
9649 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9650 wxPoint *arg2 = (wxPoint *) 0 ;
9651 PyObject * obj0 = 0 ;
9652 PyObject * obj1 = 0 ;
9653 char *kwnames[] = {
9654 (char *) "self",(char *) "m_pos", NULL
9655 };
9656
9657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9660 if (arg1) (arg1)->m_pos = *arg2;
9661
9662 Py_INCREF(Py_None); resultobj = Py_None;
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9672 wxPoint *result;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9680 result = (wxPoint *)& ((arg1)->m_pos);
9681
9682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9683 return resultobj;
9684 fail:
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9692 int arg2 ;
9693 PyObject * obj0 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "m_zPosition", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9700 if (arg1) (arg1)->m_zPosition = arg2;
9701
9702 Py_INCREF(Py_None); resultobj = Py_None;
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9712 int result;
9713 PyObject * obj0 = 0 ;
9714 char *kwnames[] = {
9715 (char *) "self", NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9720 result = (int) ((arg1)->m_zPosition);
9721
9722 resultobj = PyInt_FromLong((long)result);
9723 return resultobj;
9724 fail:
9725 return NULL;
9726 }
9727
9728
9729 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject *resultobj;
9731 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9732 int arg2 ;
9733 PyObject * obj0 = 0 ;
9734 char *kwnames[] = {
9735 (char *) "self",(char *) "m_buttonChange", NULL
9736 };
9737
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9740 if (arg1) (arg1)->m_buttonChange = arg2;
9741
9742 Py_INCREF(Py_None); resultobj = Py_None;
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj;
9751 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9752 int result;
9753 PyObject * obj0 = 0 ;
9754 char *kwnames[] = {
9755 (char *) "self", NULL
9756 };
9757
9758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9760 result = (int) ((arg1)->m_buttonChange);
9761
9762 resultobj = PyInt_FromLong((long)result);
9763 return resultobj;
9764 fail:
9765 return NULL;
9766 }
9767
9768
9769 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9770 PyObject *resultobj;
9771 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9772 int arg2 ;
9773 PyObject * obj0 = 0 ;
9774 char *kwnames[] = {
9775 (char *) "self",(char *) "m_buttonState", NULL
9776 };
9777
9778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9780 if (arg1) (arg1)->m_buttonState = arg2;
9781
9782 Py_INCREF(Py_None); resultobj = Py_None;
9783 return resultobj;
9784 fail:
9785 return NULL;
9786 }
9787
9788
9789 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9792 int result;
9793 PyObject * obj0 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9800 result = (int) ((arg1)->m_buttonState);
9801
9802 resultobj = PyInt_FromLong((long)result);
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9812 int arg2 ;
9813 PyObject * obj0 = 0 ;
9814 char *kwnames[] = {
9815 (char *) "self",(char *) "m_joyStick", NULL
9816 };
9817
9818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9820 if (arg1) (arg1)->m_joyStick = arg2;
9821
9822 Py_INCREF(Py_None); resultobj = Py_None;
9823 return resultobj;
9824 fail:
9825 return NULL;
9826 }
9827
9828
9829 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9830 PyObject *resultobj;
9831 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9832 int result;
9833 PyObject * obj0 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "self", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9840 result = (int) ((arg1)->m_joyStick);
9841
9842 resultobj = PyInt_FromLong((long)result);
9843 return resultobj;
9844 fail:
9845 return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9852 int arg2 = (int) 0 ;
9853 int arg3 = (int) wxJOYSTICK1 ;
9854 int arg4 = (int) 0 ;
9855 wxJoystickEvent *result;
9856 char *kwnames[] = {
9857 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
9861 {
9862 PyThreadState* __tstate = wxPyBeginAllowThreads();
9863 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
9864
9865 wxPyEndAllowThreads(__tstate);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 }
9868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
9869 return resultobj;
9870 fail:
9871 return NULL;
9872 }
9873
9874
9875 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9878 wxPoint result;
9879 PyObject * obj0 = 0 ;
9880 char *kwnames[] = {
9881 (char *) "self", NULL
9882 };
9883
9884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
9885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = ((wxJoystickEvent const *)arg1)->GetPosition();
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 {
9894 wxPoint * resultptr;
9895 resultptr = new wxPoint((wxPoint &) result);
9896 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9897 }
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj;
9906 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9907 int result;
9908 PyObject * obj0 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 resultobj = PyInt_FromLong((long)result);
9923 return resultobj;
9924 fail:
9925 return NULL;
9926 }
9927
9928
9929 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject *resultobj;
9931 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9932 int result;
9933 PyObject * obj0 = 0 ;
9934 char *kwnames[] = {
9935 (char *) "self", NULL
9936 };
9937
9938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
9939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 resultobj = PyInt_FromLong((long)result);
9948 return resultobj;
9949 fail:
9950 return NULL;
9951 }
9952
9953
9954 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
9955 PyObject *resultobj;
9956 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9957 int result;
9958 PyObject * obj0 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 resultobj = PyInt_FromLong((long)result);
9973 return resultobj;
9974 fail:
9975 return NULL;
9976 }
9977
9978
9979 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9982 int result;
9983 PyObject * obj0 = 0 ;
9984 char *kwnames[] = {
9985 (char *) "self", NULL
9986 };
9987
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 resultobj = PyInt_FromLong((long)result);
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10007 int arg2 ;
10008 PyObject * obj0 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "stick", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 (arg1)->SetJoystick(arg2);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 Py_INCREF(Py_None); resultobj = Py_None;
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10032 int arg2 ;
10033 PyObject * obj0 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "self",(char *) "state", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 (arg1)->SetButtonState(arg2);
10043
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 Py_INCREF(Py_None); resultobj = Py_None;
10048 return resultobj;
10049 fail:
10050 return NULL;
10051 }
10052
10053
10054 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10055 PyObject *resultobj;
10056 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10057 int arg2 ;
10058 PyObject * obj0 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self",(char *) "change", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 (arg1)->SetButtonChange(arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 Py_INCREF(Py_None); resultobj = Py_None;
10073 return resultobj;
10074 fail:
10075 return NULL;
10076 }
10077
10078
10079 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10082 wxPoint *arg2 = 0 ;
10083 wxPoint temp2 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 char *kwnames[] = {
10087 (char *) "self",(char *) "pos", NULL
10088 };
10089
10090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10092 {
10093 arg2 = &temp2;
10094 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10095 }
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 (arg1)->SetPosition((wxPoint const &)*arg2);
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 Py_INCREF(Py_None); resultobj = Py_None;
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj;
10112 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10113 int arg2 ;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self",(char *) "zPos", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 (arg1)->SetZPosition(arg2);
10124
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 Py_INCREF(Py_None); resultobj = Py_None;
10129 return resultobj;
10130 fail:
10131 return NULL;
10132 }
10133
10134
10135 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj;
10137 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10138 bool result;
10139 PyObject * obj0 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10149
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 resultobj = PyInt_FromLong((long)result);
10154 return resultobj;
10155 fail:
10156 return NULL;
10157 }
10158
10159
10160 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10161 PyObject *resultobj;
10162 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10163 bool result;
10164 PyObject * obj0 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 resultobj = PyInt_FromLong((long)result);
10179 return resultobj;
10180 fail:
10181 return NULL;
10182 }
10183
10184
10185 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject *resultobj;
10187 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10188 bool result;
10189 PyObject * obj0 = 0 ;
10190 char *kwnames[] = {
10191 (char *) "self", NULL
10192 };
10193
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 resultobj = PyInt_FromLong((long)result);
10204 return resultobj;
10205 fail:
10206 return NULL;
10207 }
10208
10209
10210 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10211 PyObject *resultobj;
10212 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10213 int arg2 = (int) wxJOY_BUTTON_ANY ;
10214 bool result;
10215 PyObject * obj0 = 0 ;
10216 char *kwnames[] = {
10217 (char *) "self",(char *) "but", NULL
10218 };
10219
10220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 resultobj = PyInt_FromLong((long)result);
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10239 int arg2 = (int) wxJOY_BUTTON_ANY ;
10240 bool result;
10241 PyObject * obj0 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self",(char *) "but", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 resultobj = PyInt_FromLong((long)result);
10256 return resultobj;
10257 fail:
10258 return NULL;
10259 }
10260
10261
10262 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10265 int arg2 = (int) wxJOY_BUTTON_ANY ;
10266 bool result;
10267 PyObject * obj0 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "self",(char *) "but", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 resultobj = PyInt_FromLong((long)result);
10282 return resultobj;
10283 fail:
10284 return NULL;
10285 }
10286
10287
10288 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10289 PyObject *obj;
10290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10291 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10292 Py_INCREF(obj);
10293 return Py_BuildValue((char *)"");
10294 }
10295 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj;
10297 wxString *arg1 = 0 ;
10298 bool arg2 = (bool) False ;
10299 wxWave *result;
10300 bool temp1 = False ;
10301 PyObject * obj0 = 0 ;
10302 PyObject * obj1 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "fileName",(char *) "isResource", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10308 {
10309 arg1 = wxString_in_helper(obj0);
10310 if (arg1 == NULL) SWIG_fail;
10311 temp1 = True;
10312 }
10313 if (obj1) {
10314 arg2 = PyInt_AsLong(obj1) ? true : false;
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10325 {
10326 if (temp1)
10327 delete arg1;
10328 }
10329 return resultobj;
10330 fail:
10331 {
10332 if (temp1)
10333 delete arg1;
10334 }
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxString *arg1 = 0 ;
10342 wxWave *result;
10343 bool temp1 = False ;
10344 PyObject * obj0 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "data", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10350 {
10351 arg1 = wxString_in_helper(obj0);
10352 if (arg1 == NULL) SWIG_fail;
10353 temp1 = True;
10354 }
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10363 {
10364 if (temp1)
10365 delete arg1;
10366 }
10367 return resultobj;
10368 fail:
10369 {
10370 if (temp1)
10371 delete arg1;
10372 }
10373 return NULL;
10374 }
10375
10376
10377 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj;
10379 wxWave *arg1 = (wxWave *) 0 ;
10380 PyObject * obj0 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 delete arg1;
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 Py_INCREF(Py_None); resultobj = Py_None;
10395 return resultobj;
10396 fail:
10397 return NULL;
10398 }
10399
10400
10401 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxWave *arg1 = (wxWave *) 0 ;
10404 bool result;
10405 PyObject * obj0 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 result = (bool)((wxWave const *)arg1)->IsOk();
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 resultobj = PyInt_FromLong((long)result);
10420 return resultobj;
10421 fail:
10422 return NULL;
10423 }
10424
10425
10426 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10427 PyObject *resultobj;
10428 wxWave *arg1 = (wxWave *) 0 ;
10429 bool arg2 = (bool) True ;
10430 bool arg3 = (bool) False ;
10431 bool result;
10432 PyObject * obj0 = 0 ;
10433 PyObject * obj1 = 0 ;
10434 PyObject * obj2 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self",(char *) "async",(char *) "looped", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10441 if (obj1) {
10442 arg2 = PyInt_AsLong(obj1) ? true : false;
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 if (obj2) {
10446 arg3 = PyInt_AsLong(obj2) ? true : false;
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 result = (bool)(arg1)->Play(arg2,arg3);
10452
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 resultobj = PyInt_FromLong((long)result);
10457 return resultobj;
10458 fail:
10459 return NULL;
10460 }
10461
10462
10463 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10464 PyObject *obj;
10465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10466 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10467 Py_INCREF(obj);
10468 return Py_BuildValue((char *)"");
10469 }
10470 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj;
10472 wxString *arg1 = 0 ;
10473 wxString *arg2 = 0 ;
10474 wxString *arg3 = 0 ;
10475 wxString *arg4 = 0 ;
10476 wxFileTypeInfo *result;
10477 bool temp1 = False ;
10478 bool temp2 = False ;
10479 bool temp3 = False ;
10480 bool temp4 = False ;
10481 PyObject * obj0 = 0 ;
10482 PyObject * obj1 = 0 ;
10483 PyObject * obj2 = 0 ;
10484 PyObject * obj3 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10490 {
10491 arg1 = wxString_in_helper(obj0);
10492 if (arg1 == NULL) SWIG_fail;
10493 temp1 = True;
10494 }
10495 {
10496 arg2 = wxString_in_helper(obj1);
10497 if (arg2 == NULL) SWIG_fail;
10498 temp2 = True;
10499 }
10500 {
10501 arg3 = wxString_in_helper(obj2);
10502 if (arg3 == NULL) SWIG_fail;
10503 temp3 = True;
10504 }
10505 {
10506 arg4 = wxString_in_helper(obj3);
10507 if (arg4 == NULL) SWIG_fail;
10508 temp4 = True;
10509 }
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10518 {
10519 if (temp1)
10520 delete arg1;
10521 }
10522 {
10523 if (temp2)
10524 delete arg2;
10525 }
10526 {
10527 if (temp3)
10528 delete arg3;
10529 }
10530 {
10531 if (temp4)
10532 delete arg4;
10533 }
10534 return resultobj;
10535 fail:
10536 {
10537 if (temp1)
10538 delete arg1;
10539 }
10540 {
10541 if (temp2)
10542 delete arg2;
10543 }
10544 {
10545 if (temp3)
10546 delete arg3;
10547 }
10548 {
10549 if (temp4)
10550 delete arg4;
10551 }
10552 return NULL;
10553 }
10554
10555
10556 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10557 PyObject *resultobj;
10558 wxArrayString *arg1 = 0 ;
10559 wxFileTypeInfo *result;
10560 PyObject * obj0 = 0 ;
10561 char *kwnames[] = {
10562 (char *) "sArray", NULL
10563 };
10564
10565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10566 {
10567 if (! PySequence_Check(obj0)) {
10568 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10569 SWIG_fail;
10570 }
10571 arg1 = new wxArrayString;
10572 int i, len=PySequence_Length(obj0);
10573 for (i=0; i<len; i++) {
10574 PyObject* item = PySequence_GetItem(obj0, i);
10575 #if wxUSE_UNICODE
10576 PyObject* str = PyObject_Unicode(item);
10577 #else
10578 PyObject* str = PyObject_Str(item);
10579 #endif
10580 arg1->Add(Py2wxString(str));
10581 Py_DECREF(item);
10582 Py_DECREF(str);
10583 }
10584 }
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10593 {
10594 if (arg1) delete arg1;
10595 }
10596 return resultobj;
10597 fail:
10598 {
10599 if (arg1) delete arg1;
10600 }
10601 return NULL;
10602 }
10603
10604
10605 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10606 PyObject *resultobj;
10607 wxFileTypeInfo *result;
10608 char *kwnames[] = {
10609 NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10621 return resultobj;
10622 fail:
10623 return NULL;
10624 }
10625
10626
10627 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10628 PyObject *resultobj;
10629 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10630 bool result;
10631 PyObject * obj0 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "self", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 resultobj = PyInt_FromLong((long)result);
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10655 wxString *arg2 = 0 ;
10656 int arg3 = (int) 0 ;
10657 bool temp2 = False ;
10658 PyObject * obj0 = 0 ;
10659 PyObject * obj1 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 arg2 = wxString_in_helper(obj1);
10668 if (arg2 == NULL) SWIG_fail;
10669 temp2 = True;
10670 }
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
10673 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10674
10675 wxPyEndAllowThreads(__tstate);
10676 if (PyErr_Occurred()) SWIG_fail;
10677 }
10678 Py_INCREF(Py_None); resultobj = Py_None;
10679 {
10680 if (temp2)
10681 delete arg2;
10682 }
10683 return resultobj;
10684 fail:
10685 {
10686 if (temp2)
10687 delete arg2;
10688 }
10689 return NULL;
10690 }
10691
10692
10693 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10696 wxString *arg2 = 0 ;
10697 bool temp2 = False ;
10698 PyObject * obj0 = 0 ;
10699 PyObject * obj1 = 0 ;
10700 char *kwnames[] = {
10701 (char *) "self",(char *) "shortDesc", NULL
10702 };
10703
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10706 {
10707 arg2 = wxString_in_helper(obj1);
10708 if (arg2 == NULL) SWIG_fail;
10709 temp2 = True;
10710 }
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->SetShortDesc((wxString const &)*arg2);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 Py_INCREF(Py_None); resultobj = Py_None;
10719 {
10720 if (temp2)
10721 delete arg2;
10722 }
10723 return resultobj;
10724 fail:
10725 {
10726 if (temp2)
10727 delete arg2;
10728 }
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10736 wxString *result;
10737 PyObject * obj0 = 0 ;
10738 char *kwnames[] = {
10739 (char *) "self", NULL
10740 };
10741
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 {
10747 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10748 result = (wxString *) &_result_ref;
10749 }
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10755 return resultobj;
10756 fail:
10757 return NULL;
10758 }
10759
10760
10761 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10764 wxString *result;
10765 PyObject * obj0 = 0 ;
10766 char *kwnames[] = {
10767 (char *) "self", NULL
10768 };
10769
10770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 {
10775 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10776 result = (wxString *) &_result_ref;
10777 }
10778
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10783 return resultobj;
10784 fail:
10785 return NULL;
10786 }
10787
10788
10789 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10790 PyObject *resultobj;
10791 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10792 wxString *result;
10793 PyObject * obj0 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 {
10803 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10804 result = (wxString *) &_result_ref;
10805 }
10806
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10820 wxString *result;
10821 PyObject * obj0 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 {
10831 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10832 result = (wxString *) &_result_ref;
10833 }
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
10838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10839 return resultobj;
10840 fail:
10841 return NULL;
10842 }
10843
10844
10845 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj;
10847 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10848 wxString *result;
10849 PyObject * obj0 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
10855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 {
10859 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
10860 result = (wxString *) &_result_ref;
10861 }
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10867 return resultobj;
10868 fail:
10869 return NULL;
10870 }
10871
10872
10873 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj;
10875 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10876 wxArrayString *result;
10877 PyObject * obj0 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
10883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10884 {
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
10886 {
10887 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
10888 result = (wxArrayString *) &_result_ref;
10889 }
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 {
10895 resultobj = wxArrayString2PyList_helper(*result);
10896 }
10897 return resultobj;
10898 fail:
10899 return NULL;
10900 }
10901
10902
10903 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10904 PyObject *resultobj;
10905 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10906 int result;
10907 PyObject * obj0 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
10913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 resultobj = PyInt_FromLong((long)result);
10922 return resultobj;
10923 fail:
10924 return NULL;
10925 }
10926
10927
10928 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj;
10930 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10931 wxString *result;
10932 PyObject * obj0 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
10938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 {
10942 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
10943 result = (wxString *) &_result_ref;
10944 }
10945
10946 wxPyEndAllowThreads(__tstate);
10947 if (PyErr_Occurred()) SWIG_fail;
10948 }
10949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10950 return resultobj;
10951 fail:
10952 return NULL;
10953 }
10954
10955
10956 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10959 int result;
10960 PyObject * obj0 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 resultobj = PyInt_FromLong((long)result);
10975 return resultobj;
10976 fail:
10977 return NULL;
10978 }
10979
10980
10981 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
10982 PyObject *obj;
10983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10984 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
10985 Py_INCREF(obj);
10986 return Py_BuildValue((char *)"");
10987 }
10988 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
10989 PyObject *resultobj;
10990 wxFileTypeInfo *arg1 = 0 ;
10991 wxFileType *result;
10992 PyObject * obj0 = 0 ;
10993 char *kwnames[] = {
10994 (char *) "ftInfo", NULL
10995 };
10996
10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
10998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10999 if (arg1 == NULL) {
11000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11001 }
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj;
11018 wxFileType *arg1 = (wxFileType *) 0 ;
11019 PyObject * obj0 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 delete arg1;
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 Py_INCREF(Py_None); resultobj = Py_None;
11034 return resultobj;
11035 fail:
11036 return NULL;
11037 }
11038
11039
11040 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj;
11042 wxFileType *arg1 = (wxFileType *) 0 ;
11043 PyObject *result;
11044 PyObject * obj0 = 0 ;
11045 char *kwnames[] = {
11046 (char *) "self", NULL
11047 };
11048
11049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (PyObject *)wxFileType_GetMimeType(arg1);
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 resultobj = result;
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxFileType *arg1 = (wxFileType *) 0 ;
11068 PyObject *result;
11069 PyObject * obj0 = 0 ;
11070 char *kwnames[] = {
11071 (char *) "self", NULL
11072 };
11073
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11079
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 resultobj = result;
11084 return resultobj;
11085 fail:
11086 return NULL;
11087 }
11088
11089
11090 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj;
11092 wxFileType *arg1 = (wxFileType *) 0 ;
11093 PyObject *result;
11094 PyObject * obj0 = 0 ;
11095 char *kwnames[] = {
11096 (char *) "self", NULL
11097 };
11098
11099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (PyObject *)wxFileType_GetExtensions(arg1);
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 resultobj = result;
11109 return resultobj;
11110 fail:
11111 return NULL;
11112 }
11113
11114
11115 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxFileType *arg1 = (wxFileType *) 0 ;
11118 wxIcon *result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (wxIcon *)wxFileType_GetIcon(arg1);
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11134 return resultobj;
11135 fail:
11136 return NULL;
11137 }
11138
11139
11140 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11141 PyObject *resultobj;
11142 wxFileType *arg1 = (wxFileType *) 0 ;
11143 PyObject *result;
11144 PyObject * obj0 = 0 ;
11145 char *kwnames[] = {
11146 (char *) "self", NULL
11147 };
11148
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11151 {
11152 PyThreadState* __tstate = wxPyBeginAllowThreads();
11153 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11154
11155 wxPyEndAllowThreads(__tstate);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 resultobj = result;
11159 return resultobj;
11160 fail:
11161 return NULL;
11162 }
11163
11164
11165 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11166 PyObject *resultobj;
11167 wxFileType *arg1 = (wxFileType *) 0 ;
11168 PyObject *result;
11169 PyObject * obj0 = 0 ;
11170 char *kwnames[] = {
11171 (char *) "self", NULL
11172 };
11173
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 result = (PyObject *)wxFileType_GetDescription(arg1);
11179
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 resultobj = result;
11184 return resultobj;
11185 fail:
11186 return NULL;
11187 }
11188
11189
11190 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxFileType *arg1 = (wxFileType *) 0 ;
11193 wxString *arg2 = 0 ;
11194 wxString const &arg3_defvalue = wxPyEmptyString ;
11195 wxString *arg3 = (wxString *) &arg3_defvalue ;
11196 PyObject *result;
11197 bool temp2 = False ;
11198 bool temp3 = False ;
11199 PyObject * obj0 = 0 ;
11200 PyObject * obj1 = 0 ;
11201 PyObject * obj2 = 0 ;
11202 char *kwnames[] = {
11203 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11204 };
11205
11206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11208 {
11209 arg2 = wxString_in_helper(obj1);
11210 if (arg2 == NULL) SWIG_fail;
11211 temp2 = True;
11212 }
11213 if (obj2) {
11214 {
11215 arg3 = wxString_in_helper(obj2);
11216 if (arg3 == NULL) SWIG_fail;
11217 temp3 = True;
11218 }
11219 }
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 resultobj = result;
11228 {
11229 if (temp2)
11230 delete arg2;
11231 }
11232 {
11233 if (temp3)
11234 delete arg3;
11235 }
11236 return resultobj;
11237 fail:
11238 {
11239 if (temp2)
11240 delete arg2;
11241 }
11242 {
11243 if (temp3)
11244 delete arg3;
11245 }
11246 return NULL;
11247 }
11248
11249
11250 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj;
11252 wxFileType *arg1 = (wxFileType *) 0 ;
11253 wxString *arg2 = 0 ;
11254 wxString const &arg3_defvalue = wxPyEmptyString ;
11255 wxString *arg3 = (wxString *) &arg3_defvalue ;
11256 PyObject *result;
11257 bool temp2 = False ;
11258 bool temp3 = False ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 PyObject * obj2 = 0 ;
11262 char *kwnames[] = {
11263 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11264 };
11265
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11268 {
11269 arg2 = wxString_in_helper(obj1);
11270 if (arg2 == NULL) SWIG_fail;
11271 temp2 = True;
11272 }
11273 if (obj2) {
11274 {
11275 arg3 = wxString_in_helper(obj2);
11276 if (arg3 == NULL) SWIG_fail;
11277 temp3 = True;
11278 }
11279 }
11280 {
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11283
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 resultobj = result;
11288 {
11289 if (temp2)
11290 delete arg2;
11291 }
11292 {
11293 if (temp3)
11294 delete arg3;
11295 }
11296 return resultobj;
11297 fail:
11298 {
11299 if (temp2)
11300 delete arg2;
11301 }
11302 {
11303 if (temp3)
11304 delete arg3;
11305 }
11306 return NULL;
11307 }
11308
11309
11310 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxFileType *arg1 = (wxFileType *) 0 ;
11313 wxString *arg2 = 0 ;
11314 wxString const &arg3_defvalue = wxPyEmptyString ;
11315 wxString *arg3 = (wxString *) &arg3_defvalue ;
11316 PyObject *result;
11317 bool temp2 = False ;
11318 bool temp3 = False ;
11319 PyObject * obj0 = 0 ;
11320 PyObject * obj1 = 0 ;
11321 PyObject * obj2 = 0 ;
11322 char *kwnames[] = {
11323 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11324 };
11325
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11328 {
11329 arg2 = wxString_in_helper(obj1);
11330 if (arg2 == NULL) SWIG_fail;
11331 temp2 = True;
11332 }
11333 if (obj2) {
11334 {
11335 arg3 = wxString_in_helper(obj2);
11336 if (arg3 == NULL) SWIG_fail;
11337 temp3 = True;
11338 }
11339 }
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 resultobj = result;
11348 {
11349 if (temp2)
11350 delete arg2;
11351 }
11352 {
11353 if (temp3)
11354 delete arg3;
11355 }
11356 return resultobj;
11357 fail:
11358 {
11359 if (temp2)
11360 delete arg2;
11361 }
11362 {
11363 if (temp3)
11364 delete arg3;
11365 }
11366 return NULL;
11367 }
11368
11369
11370 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11371 PyObject *resultobj;
11372 wxFileType *arg1 = (wxFileType *) 0 ;
11373 wxString *arg2 = 0 ;
11374 wxString *arg3 = 0 ;
11375 bool arg4 = (bool) True ;
11376 bool result;
11377 bool temp2 = False ;
11378 bool temp3 = False ;
11379 PyObject * obj0 = 0 ;
11380 PyObject * obj1 = 0 ;
11381 PyObject * obj2 = 0 ;
11382 PyObject * obj3 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11385 };
11386
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11389 {
11390 arg2 = wxString_in_helper(obj1);
11391 if (arg2 == NULL) SWIG_fail;
11392 temp2 = True;
11393 }
11394 {
11395 arg3 = wxString_in_helper(obj2);
11396 if (arg3 == NULL) SWIG_fail;
11397 temp3 = True;
11398 }
11399 if (obj3) {
11400 arg4 = PyInt_AsLong(obj3) ? true : false;
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 resultobj = PyInt_FromLong((long)result);
11411 {
11412 if (temp2)
11413 delete arg2;
11414 }
11415 {
11416 if (temp3)
11417 delete arg3;
11418 }
11419 return resultobj;
11420 fail:
11421 {
11422 if (temp2)
11423 delete arg2;
11424 }
11425 {
11426 if (temp3)
11427 delete arg3;
11428 }
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxFileType *arg1 = (wxFileType *) 0 ;
11436 wxString const &arg2_defvalue = wxPyEmptyString ;
11437 wxString *arg2 = (wxString *) &arg2_defvalue ;
11438 int arg3 = (int) 0 ;
11439 bool result;
11440 bool temp2 = False ;
11441 PyObject * obj0 = 0 ;
11442 PyObject * obj1 = 0 ;
11443 char *kwnames[] = {
11444 (char *) "self",(char *) "cmd",(char *) "index", NULL
11445 };
11446
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11449 if (obj1) {
11450 {
11451 arg2 = wxString_in_helper(obj1);
11452 if (arg2 == NULL) SWIG_fail;
11453 temp2 = True;
11454 }
11455 }
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11459
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 resultobj = PyInt_FromLong((long)result);
11464 {
11465 if (temp2)
11466 delete arg2;
11467 }
11468 return resultobj;
11469 fail:
11470 {
11471 if (temp2)
11472 delete arg2;
11473 }
11474 return NULL;
11475 }
11476
11477
11478 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11479 PyObject *resultobj;
11480 wxFileType *arg1 = (wxFileType *) 0 ;
11481 bool result;
11482 PyObject * obj0 = 0 ;
11483 char *kwnames[] = {
11484 (char *) "self", NULL
11485 };
11486
11487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 result = (bool)(arg1)->Unassociate();
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
11496 resultobj = PyInt_FromLong((long)result);
11497 return resultobj;
11498 fail:
11499 return NULL;
11500 }
11501
11502
11503 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj;
11505 wxString *arg1 = 0 ;
11506 wxString *arg2 = 0 ;
11507 wxString const &arg3_defvalue = wxPyEmptyString ;
11508 wxString *arg3 = (wxString *) &arg3_defvalue ;
11509 wxString result;
11510 bool temp1 = False ;
11511 bool temp2 = False ;
11512 bool temp3 = False ;
11513 PyObject * obj0 = 0 ;
11514 PyObject * obj1 = 0 ;
11515 PyObject * obj2 = 0 ;
11516 char *kwnames[] = {
11517 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11518 };
11519
11520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11521 {
11522 arg1 = wxString_in_helper(obj0);
11523 if (arg1 == NULL) SWIG_fail;
11524 temp1 = True;
11525 }
11526 {
11527 arg2 = wxString_in_helper(obj1);
11528 if (arg2 == NULL) SWIG_fail;
11529 temp2 = True;
11530 }
11531 if (obj2) {
11532 {
11533 arg3 = wxString_in_helper(obj2);
11534 if (arg3 == NULL) SWIG_fail;
11535 temp3 = True;
11536 }
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 {
11546 #if wxUSE_UNICODE
11547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11548 #else
11549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11550 #endif
11551 }
11552 {
11553 if (temp1)
11554 delete arg1;
11555 }
11556 {
11557 if (temp2)
11558 delete arg2;
11559 }
11560 {
11561 if (temp3)
11562 delete arg3;
11563 }
11564 return resultobj;
11565 fail:
11566 {
11567 if (temp1)
11568 delete arg1;
11569 }
11570 {
11571 if (temp2)
11572 delete arg2;
11573 }
11574 {
11575 if (temp3)
11576 delete arg3;
11577 }
11578 return NULL;
11579 }
11580
11581
11582 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11583 PyObject *obj;
11584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11585 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11586 Py_INCREF(obj);
11587 return Py_BuildValue((char *)"");
11588 }
11589 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11590 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11591 return 1;
11592 }
11593
11594
11595 static PyObject *_wrap_TheMimeTypesManager_get() {
11596 PyObject *pyobj;
11597
11598 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11599 return pyobj;
11600 }
11601
11602
11603 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11604 PyObject *resultobj;
11605 wxString *arg1 = 0 ;
11606 wxString *arg2 = 0 ;
11607 bool result;
11608 bool temp1 = False ;
11609 bool temp2 = False ;
11610 PyObject * obj0 = 0 ;
11611 PyObject * obj1 = 0 ;
11612 char *kwnames[] = {
11613 (char *) "mimeType",(char *) "wildcard", NULL
11614 };
11615
11616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11617 {
11618 arg1 = wxString_in_helper(obj0);
11619 if (arg1 == NULL) SWIG_fail;
11620 temp1 = True;
11621 }
11622 {
11623 arg2 = wxString_in_helper(obj1);
11624 if (arg2 == NULL) SWIG_fail;
11625 temp2 = True;
11626 }
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 resultobj = PyInt_FromLong((long)result);
11635 {
11636 if (temp1)
11637 delete arg1;
11638 }
11639 {
11640 if (temp2)
11641 delete arg2;
11642 }
11643 return resultobj;
11644 fail:
11645 {
11646 if (temp1)
11647 delete arg1;
11648 }
11649 {
11650 if (temp2)
11651 delete arg2;
11652 }
11653 return NULL;
11654 }
11655
11656
11657 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj;
11659 wxMimeTypesManager *result;
11660 char *kwnames[] = {
11661 NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj;
11681 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11682 int arg2 = (int) wxMAILCAP_ALL ;
11683 wxString const &arg3_defvalue = wxPyEmptyString ;
11684 wxString *arg3 = (wxString *) &arg3_defvalue ;
11685 bool temp3 = False ;
11686 PyObject * obj0 = 0 ;
11687 PyObject * obj2 = 0 ;
11688 char *kwnames[] = {
11689 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11690 };
11691
11692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11694 if (obj2) {
11695 {
11696 arg3 = wxString_in_helper(obj2);
11697 if (arg3 == NULL) SWIG_fail;
11698 temp3 = True;
11699 }
11700 }
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 Py_INCREF(Py_None); resultobj = Py_None;
11709 {
11710 if (temp3)
11711 delete arg3;
11712 }
11713 return resultobj;
11714 fail:
11715 {
11716 if (temp3)
11717 delete arg3;
11718 }
11719 return NULL;
11720 }
11721
11722
11723 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11726 PyObject * obj0 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 (arg1)->ClearData();
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 Py_INCREF(Py_None); resultobj = Py_None;
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj;
11749 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11750 wxString *arg2 = 0 ;
11751 wxFileType *result;
11752 bool temp2 = False ;
11753 PyObject * obj0 = 0 ;
11754 PyObject * obj1 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self",(char *) "ext", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11761 {
11762 arg2 = wxString_in_helper(obj1);
11763 if (arg2 == NULL) SWIG_fail;
11764 temp2 = True;
11765 }
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11774 {
11775 if (temp2)
11776 delete arg2;
11777 }
11778 return resultobj;
11779 fail:
11780 {
11781 if (temp2)
11782 delete arg2;
11783 }
11784 return NULL;
11785 }
11786
11787
11788 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11789 PyObject *resultobj;
11790 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11791 wxString *arg2 = 0 ;
11792 wxFileType *result;
11793 bool temp2 = False ;
11794 PyObject * obj0 = 0 ;
11795 PyObject * obj1 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self",(char *) "mimeType", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11802 {
11803 arg2 = wxString_in_helper(obj1);
11804 if (arg2 == NULL) SWIG_fail;
11805 temp2 = True;
11806 }
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11815 {
11816 if (temp2)
11817 delete arg2;
11818 }
11819 return resultobj;
11820 fail:
11821 {
11822 if (temp2)
11823 delete arg2;
11824 }
11825 return NULL;
11826 }
11827
11828
11829 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
11830 PyObject *resultobj;
11831 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11832 wxString *arg2 = 0 ;
11833 bool arg3 = (bool) False ;
11834 bool result;
11835 bool temp2 = False ;
11836 PyObject * obj0 = 0 ;
11837 PyObject * obj1 = 0 ;
11838 PyObject * obj2 = 0 ;
11839 char *kwnames[] = {
11840 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11841 };
11842
11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
11844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11845 {
11846 arg2 = wxString_in_helper(obj1);
11847 if (arg2 == NULL) SWIG_fail;
11848 temp2 = True;
11849 }
11850 if (obj2) {
11851 arg3 = PyInt_AsLong(obj2) ? true : false;
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 {
11855 PyThreadState* __tstate = wxPyBeginAllowThreads();
11856 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
11857
11858 wxPyEndAllowThreads(__tstate);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 resultobj = PyInt_FromLong((long)result);
11862 {
11863 if (temp2)
11864 delete arg2;
11865 }
11866 return resultobj;
11867 fail:
11868 {
11869 if (temp2)
11870 delete arg2;
11871 }
11872 return NULL;
11873 }
11874
11875
11876 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj;
11878 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11879 wxString *arg2 = 0 ;
11880 bool result;
11881 bool temp2 = False ;
11882 PyObject * obj0 = 0 ;
11883 PyObject * obj1 = 0 ;
11884 char *kwnames[] = {
11885 (char *) "self",(char *) "filename", NULL
11886 };
11887
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
11889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11890 {
11891 arg2 = wxString_in_helper(obj1);
11892 if (arg2 == NULL) SWIG_fail;
11893 temp2 = True;
11894 }
11895 {
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 resultobj = PyInt_FromLong((long)result);
11903 {
11904 if (temp2)
11905 delete arg2;
11906 }
11907 return resultobj;
11908 fail:
11909 {
11910 if (temp2)
11911 delete arg2;
11912 }
11913 return NULL;
11914 }
11915
11916
11917 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj;
11919 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11920 PyObject *result;
11921 PyObject * obj0 = 0 ;
11922 char *kwnames[] = {
11923 (char *) "self", NULL
11924 };
11925
11926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11928 {
11929 PyThreadState* __tstate = wxPyBeginAllowThreads();
11930 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
11931
11932 wxPyEndAllowThreads(__tstate);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 resultobj = result;
11936 return resultobj;
11937 fail:
11938 return NULL;
11939 }
11940
11941
11942 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
11943 PyObject *resultobj;
11944 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11945 wxFileTypeInfo *arg2 = 0 ;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self",(char *) "ft", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
11953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11955 if (arg2 == NULL) {
11956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11957 }
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 Py_INCREF(Py_None); resultobj = Py_None;
11966 return resultobj;
11967 fail:
11968 return NULL;
11969 }
11970
11971
11972 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
11973 PyObject *resultobj;
11974 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11975 wxFileTypeInfo *arg2 = 0 ;
11976 wxFileType *result;
11977 PyObject * obj0 = 0 ;
11978 PyObject * obj1 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "self",(char *) "ftInfo", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
11984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11986 if (arg2 == NULL) {
11987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11988 }
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11997 return resultobj;
11998 fail:
11999 return NULL;
12000 }
12001
12002
12003 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12004 PyObject *resultobj;
12005 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12006 wxFileType *arg2 = (wxFileType *) 0 ;
12007 bool result;
12008 PyObject * obj0 = 0 ;
12009 PyObject * obj1 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "self",(char *) "ft", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (bool)(arg1)->Unassociate(arg2);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 resultobj = PyInt_FromLong((long)result);
12025 return resultobj;
12026 fail:
12027 return NULL;
12028 }
12029
12030
12031 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj;
12033 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12034 PyObject * obj0 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12041 {
12042 PyThreadState* __tstate = wxPyBeginAllowThreads();
12043 delete arg1;
12044
12045 wxPyEndAllowThreads(__tstate);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 Py_INCREF(Py_None); resultobj = Py_None;
12049 return resultobj;
12050 fail:
12051 return NULL;
12052 }
12053
12054
12055 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12056 PyObject *obj;
12057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12058 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12059 Py_INCREF(obj);
12060 return Py_BuildValue((char *)"");
12061 }
12062 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12063 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12064 return 1;
12065 }
12066
12067
12068 static PyObject *_wrap_ART_TOOLBAR_get() {
12069 PyObject *pyobj;
12070
12071 {
12072 #if wxUSE_UNICODE
12073 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12074 #else
12075 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12076 #endif
12077 }
12078 return pyobj;
12079 }
12080
12081
12082 static int _wrap_ART_MENU_set(PyObject *_val) {
12083 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12084 return 1;
12085 }
12086
12087
12088 static PyObject *_wrap_ART_MENU_get() {
12089 PyObject *pyobj;
12090
12091 {
12092 #if wxUSE_UNICODE
12093 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12094 #else
12095 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12096 #endif
12097 }
12098 return pyobj;
12099 }
12100
12101
12102 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12103 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12104 return 1;
12105 }
12106
12107
12108 static PyObject *_wrap_ART_FRAME_ICON_get() {
12109 PyObject *pyobj;
12110
12111 {
12112 #if wxUSE_UNICODE
12113 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12114 #else
12115 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12116 #endif
12117 }
12118 return pyobj;
12119 }
12120
12121
12122 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12123 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12124 return 1;
12125 }
12126
12127
12128 static PyObject *_wrap_ART_CMN_DIALOG_get() {
12129 PyObject *pyobj;
12130
12131 {
12132 #if wxUSE_UNICODE
12133 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12134 #else
12135 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12136 #endif
12137 }
12138 return pyobj;
12139 }
12140
12141
12142 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12143 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12144 return 1;
12145 }
12146
12147
12148 static PyObject *_wrap_ART_HELP_BROWSER_get() {
12149 PyObject *pyobj;
12150
12151 {
12152 #if wxUSE_UNICODE
12153 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12154 #else
12155 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12156 #endif
12157 }
12158 return pyobj;
12159 }
12160
12161
12162 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12163 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12164 return 1;
12165 }
12166
12167
12168 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12169 PyObject *pyobj;
12170
12171 {
12172 #if wxUSE_UNICODE
12173 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12174 #else
12175 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12176 #endif
12177 }
12178 return pyobj;
12179 }
12180
12181
12182 static int _wrap_ART_OTHER_set(PyObject *_val) {
12183 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12184 return 1;
12185 }
12186
12187
12188 static PyObject *_wrap_ART_OTHER_get() {
12189 PyObject *pyobj;
12190
12191 {
12192 #if wxUSE_UNICODE
12193 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12194 #else
12195 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12196 #endif
12197 }
12198 return pyobj;
12199 }
12200
12201
12202 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12203 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12204 return 1;
12205 }
12206
12207
12208 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12209 PyObject *pyobj;
12210
12211 {
12212 #if wxUSE_UNICODE
12213 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12214 #else
12215 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12216 #endif
12217 }
12218 return pyobj;
12219 }
12220
12221
12222 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12223 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12224 return 1;
12225 }
12226
12227
12228 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12229 PyObject *pyobj;
12230
12231 {
12232 #if wxUSE_UNICODE
12233 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12234 #else
12235 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12236 #endif
12237 }
12238 return pyobj;
12239 }
12240
12241
12242 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12243 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12244 return 1;
12245 }
12246
12247
12248 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12249 PyObject *pyobj;
12250
12251 {
12252 #if wxUSE_UNICODE
12253 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12254 #else
12255 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12256 #endif
12257 }
12258 return pyobj;
12259 }
12260
12261
12262 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12263 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12264 return 1;
12265 }
12266
12267
12268 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12269 PyObject *pyobj;
12270
12271 {
12272 #if wxUSE_UNICODE
12273 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12274 #else
12275 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12276 #endif
12277 }
12278 return pyobj;
12279 }
12280
12281
12282 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12283 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12284 return 1;
12285 }
12286
12287
12288 static PyObject *_wrap_ART_HELP_BOOK_get() {
12289 PyObject *pyobj;
12290
12291 {
12292 #if wxUSE_UNICODE
12293 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12294 #else
12295 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12296 #endif
12297 }
12298 return pyobj;
12299 }
12300
12301
12302 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12303 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12304 return 1;
12305 }
12306
12307
12308 static PyObject *_wrap_ART_HELP_FOLDER_get() {
12309 PyObject *pyobj;
12310
12311 {
12312 #if wxUSE_UNICODE
12313 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12314 #else
12315 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12316 #endif
12317 }
12318 return pyobj;
12319 }
12320
12321
12322 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12323 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12324 return 1;
12325 }
12326
12327
12328 static PyObject *_wrap_ART_HELP_PAGE_get() {
12329 PyObject *pyobj;
12330
12331 {
12332 #if wxUSE_UNICODE
12333 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12334 #else
12335 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12336 #endif
12337 }
12338 return pyobj;
12339 }
12340
12341
12342 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12343 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12344 return 1;
12345 }
12346
12347
12348 static PyObject *_wrap_ART_GO_BACK_get() {
12349 PyObject *pyobj;
12350
12351 {
12352 #if wxUSE_UNICODE
12353 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12354 #else
12355 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12356 #endif
12357 }
12358 return pyobj;
12359 }
12360
12361
12362 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12363 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12364 return 1;
12365 }
12366
12367
12368 static PyObject *_wrap_ART_GO_FORWARD_get() {
12369 PyObject *pyobj;
12370
12371 {
12372 #if wxUSE_UNICODE
12373 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12374 #else
12375 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12376 #endif
12377 }
12378 return pyobj;
12379 }
12380
12381
12382 static int _wrap_ART_GO_UP_set(PyObject *_val) {
12383 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12384 return 1;
12385 }
12386
12387
12388 static PyObject *_wrap_ART_GO_UP_get() {
12389 PyObject *pyobj;
12390
12391 {
12392 #if wxUSE_UNICODE
12393 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12394 #else
12395 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12396 #endif
12397 }
12398 return pyobj;
12399 }
12400
12401
12402 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12403 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12404 return 1;
12405 }
12406
12407
12408 static PyObject *_wrap_ART_GO_DOWN_get() {
12409 PyObject *pyobj;
12410
12411 {
12412 #if wxUSE_UNICODE
12413 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12414 #else
12415 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12416 #endif
12417 }
12418 return pyobj;
12419 }
12420
12421
12422 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12423 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12424 return 1;
12425 }
12426
12427
12428 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12429 PyObject *pyobj;
12430
12431 {
12432 #if wxUSE_UNICODE
12433 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12434 #else
12435 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12436 #endif
12437 }
12438 return pyobj;
12439 }
12440
12441
12442 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12443 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12444 return 1;
12445 }
12446
12447
12448 static PyObject *_wrap_ART_GO_HOME_get() {
12449 PyObject *pyobj;
12450
12451 {
12452 #if wxUSE_UNICODE
12453 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12454 #else
12455 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12456 #endif
12457 }
12458 return pyobj;
12459 }
12460
12461
12462 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12463 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12464 return 1;
12465 }
12466
12467
12468 static PyObject *_wrap_ART_FILE_OPEN_get() {
12469 PyObject *pyobj;
12470
12471 {
12472 #if wxUSE_UNICODE
12473 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12474 #else
12475 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12476 #endif
12477 }
12478 return pyobj;
12479 }
12480
12481
12482 static int _wrap_ART_PRINT_set(PyObject *_val) {
12483 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12484 return 1;
12485 }
12486
12487
12488 static PyObject *_wrap_ART_PRINT_get() {
12489 PyObject *pyobj;
12490
12491 {
12492 #if wxUSE_UNICODE
12493 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12494 #else
12495 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12496 #endif
12497 }
12498 return pyobj;
12499 }
12500
12501
12502 static int _wrap_ART_HELP_set(PyObject *_val) {
12503 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12504 return 1;
12505 }
12506
12507
12508 static PyObject *_wrap_ART_HELP_get() {
12509 PyObject *pyobj;
12510
12511 {
12512 #if wxUSE_UNICODE
12513 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12514 #else
12515 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12516 #endif
12517 }
12518 return pyobj;
12519 }
12520
12521
12522 static int _wrap_ART_TIP_set(PyObject *_val) {
12523 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12524 return 1;
12525 }
12526
12527
12528 static PyObject *_wrap_ART_TIP_get() {
12529 PyObject *pyobj;
12530
12531 {
12532 #if wxUSE_UNICODE
12533 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12534 #else
12535 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12536 #endif
12537 }
12538 return pyobj;
12539 }
12540
12541
12542 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12543 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12544 return 1;
12545 }
12546
12547
12548 static PyObject *_wrap_ART_REPORT_VIEW_get() {
12549 PyObject *pyobj;
12550
12551 {
12552 #if wxUSE_UNICODE
12553 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12554 #else
12555 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12556 #endif
12557 }
12558 return pyobj;
12559 }
12560
12561
12562 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12563 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12564 return 1;
12565 }
12566
12567
12568 static PyObject *_wrap_ART_LIST_VIEW_get() {
12569 PyObject *pyobj;
12570
12571 {
12572 #if wxUSE_UNICODE
12573 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12574 #else
12575 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12576 #endif
12577 }
12578 return pyobj;
12579 }
12580
12581
12582 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12583 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12584 return 1;
12585 }
12586
12587
12588 static PyObject *_wrap_ART_NEW_DIR_get() {
12589 PyObject *pyobj;
12590
12591 {
12592 #if wxUSE_UNICODE
12593 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12594 #else
12595 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12596 #endif
12597 }
12598 return pyobj;
12599 }
12600
12601
12602 static int _wrap_ART_FOLDER_set(PyObject *_val) {
12603 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12604 return 1;
12605 }
12606
12607
12608 static PyObject *_wrap_ART_FOLDER_get() {
12609 PyObject *pyobj;
12610
12611 {
12612 #if wxUSE_UNICODE
12613 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12614 #else
12615 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12616 #endif
12617 }
12618 return pyobj;
12619 }
12620
12621
12622 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12623 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12624 return 1;
12625 }
12626
12627
12628 static PyObject *_wrap_ART_GO_DIR_UP_get() {
12629 PyObject *pyobj;
12630
12631 {
12632 #if wxUSE_UNICODE
12633 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12634 #else
12635 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12636 #endif
12637 }
12638 return pyobj;
12639 }
12640
12641
12642 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12643 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12644 return 1;
12645 }
12646
12647
12648 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12649 PyObject *pyobj;
12650
12651 {
12652 #if wxUSE_UNICODE
12653 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12654 #else
12655 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12656 #endif
12657 }
12658 return pyobj;
12659 }
12660
12661
12662 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12663 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12664 return 1;
12665 }
12666
12667
12668 static PyObject *_wrap_ART_NORMAL_FILE_get() {
12669 PyObject *pyobj;
12670
12671 {
12672 #if wxUSE_UNICODE
12673 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12674 #else
12675 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12676 #endif
12677 }
12678 return pyobj;
12679 }
12680
12681
12682 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12683 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12684 return 1;
12685 }
12686
12687
12688 static PyObject *_wrap_ART_TICK_MARK_get() {
12689 PyObject *pyobj;
12690
12691 {
12692 #if wxUSE_UNICODE
12693 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12694 #else
12695 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12696 #endif
12697 }
12698 return pyobj;
12699 }
12700
12701
12702 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12703 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12704 return 1;
12705 }
12706
12707
12708 static PyObject *_wrap_ART_CROSS_MARK_get() {
12709 PyObject *pyobj;
12710
12711 {
12712 #if wxUSE_UNICODE
12713 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12714 #else
12715 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12716 #endif
12717 }
12718 return pyobj;
12719 }
12720
12721
12722 static int _wrap_ART_ERROR_set(PyObject *_val) {
12723 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12724 return 1;
12725 }
12726
12727
12728 static PyObject *_wrap_ART_ERROR_get() {
12729 PyObject *pyobj;
12730
12731 {
12732 #if wxUSE_UNICODE
12733 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12734 #else
12735 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12736 #endif
12737 }
12738 return pyobj;
12739 }
12740
12741
12742 static int _wrap_ART_QUESTION_set(PyObject *_val) {
12743 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12744 return 1;
12745 }
12746
12747
12748 static PyObject *_wrap_ART_QUESTION_get() {
12749 PyObject *pyobj;
12750
12751 {
12752 #if wxUSE_UNICODE
12753 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12754 #else
12755 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12756 #endif
12757 }
12758 return pyobj;
12759 }
12760
12761
12762 static int _wrap_ART_WARNING_set(PyObject *_val) {
12763 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12764 return 1;
12765 }
12766
12767
12768 static PyObject *_wrap_ART_WARNING_get() {
12769 PyObject *pyobj;
12770
12771 {
12772 #if wxUSE_UNICODE
12773 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12774 #else
12775 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12776 #endif
12777 }
12778 return pyobj;
12779 }
12780
12781
12782 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12783 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12784 return 1;
12785 }
12786
12787
12788 static PyObject *_wrap_ART_INFORMATION_get() {
12789 PyObject *pyobj;
12790
12791 {
12792 #if wxUSE_UNICODE
12793 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12794 #else
12795 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12796 #endif
12797 }
12798 return pyobj;
12799 }
12800
12801
12802 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12803 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12804 return 1;
12805 }
12806
12807
12808 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12809 PyObject *pyobj;
12810
12811 {
12812 #if wxUSE_UNICODE
12813 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12814 #else
12815 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12816 #endif
12817 }
12818 return pyobj;
12819 }
12820
12821
12822 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxPyArtProvider *result;
12825 char *kwnames[] = {
12826 NULL
12827 };
12828
12829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (wxPyArtProvider *)new wxPyArtProvider();
12833
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
12838 return resultobj;
12839 fail:
12840 return NULL;
12841 }
12842
12843
12844 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj;
12846 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12847 PyObject *arg2 = (PyObject *) 0 ;
12848 PyObject *arg3 = (PyObject *) 0 ;
12849 PyObject * obj0 = 0 ;
12850 PyObject * obj1 = 0 ;
12851 PyObject * obj2 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self",(char *) "self",(char *) "_class", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12858 arg2 = obj1;
12859 arg3 = obj2;
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 (arg1)->_setCallbackInfo(arg2,arg3);
12863
12864 wxPyEndAllowThreads(__tstate);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 Py_INCREF(Py_None); resultobj = Py_None;
12868 return resultobj;
12869 fail:
12870 return NULL;
12871 }
12872
12873
12874 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12875 PyObject *resultobj;
12876 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12877 PyObject * obj0 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "provider", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
12883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 wxPyArtProvider::PushProvider(arg1);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 bool result;
12901 char *kwnames[] = {
12902 NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 result = (bool)wxPyArtProvider::PopProvider();
12909
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 resultobj = PyInt_FromLong((long)result);
12914 return resultobj;
12915 fail:
12916 return NULL;
12917 }
12918
12919
12920 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj;
12922 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12923 bool result;
12924 PyObject * obj0 = 0 ;
12925 char *kwnames[] = {
12926 (char *) "provider", NULL
12927 };
12928
12929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
12930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12931 {
12932 PyThreadState* __tstate = wxPyBeginAllowThreads();
12933 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
12934
12935 wxPyEndAllowThreads(__tstate);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 }
12938 resultobj = PyInt_FromLong((long)result);
12939 return resultobj;
12940 fail:
12941 return NULL;
12942 }
12943
12944
12945 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12946 PyObject *resultobj;
12947 wxString *arg1 = 0 ;
12948 wxString const &arg2_defvalue = wxPyART_OTHER ;
12949 wxString *arg2 = (wxString *) &arg2_defvalue ;
12950 wxSize const &arg3_defvalue = wxDefaultSize ;
12951 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
12952 wxBitmap result;
12953 bool temp1 = False ;
12954 bool temp2 = False ;
12955 wxSize temp3 ;
12956 PyObject * obj0 = 0 ;
12957 PyObject * obj1 = 0 ;
12958 PyObject * obj2 = 0 ;
12959 char *kwnames[] = {
12960 (char *) "id",(char *) "client",(char *) "size", NULL
12961 };
12962
12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12964 {
12965 arg1 = wxString_in_helper(obj0);
12966 if (arg1 == NULL) SWIG_fail;
12967 temp1 = True;
12968 }
12969 if (obj1) {
12970 {
12971 arg2 = wxString_in_helper(obj1);
12972 if (arg2 == NULL) SWIG_fail;
12973 temp2 = True;
12974 }
12975 }
12976 if (obj2) {
12977 {
12978 arg3 = &temp3;
12979 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
12980 }
12981 }
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
12985
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 }
12989 {
12990 wxBitmap * resultptr;
12991 resultptr = new wxBitmap((wxBitmap &) result);
12992 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12993 }
12994 {
12995 if (temp1)
12996 delete arg1;
12997 }
12998 {
12999 if (temp2)
13000 delete arg2;
13001 }
13002 return resultobj;
13003 fail:
13004 {
13005 if (temp1)
13006 delete arg1;
13007 }
13008 {
13009 if (temp2)
13010 delete arg2;
13011 }
13012 return NULL;
13013 }
13014
13015
13016 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj;
13018 wxString *arg1 = 0 ;
13019 wxString const &arg2_defvalue = wxPyART_OTHER ;
13020 wxString *arg2 = (wxString *) &arg2_defvalue ;
13021 wxSize const &arg3_defvalue = wxDefaultSize ;
13022 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13023 wxIcon result;
13024 bool temp1 = False ;
13025 bool temp2 = False ;
13026 wxSize temp3 ;
13027 PyObject * obj0 = 0 ;
13028 PyObject * obj1 = 0 ;
13029 PyObject * obj2 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "id",(char *) "client",(char *) "size", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13035 {
13036 arg1 = wxString_in_helper(obj0);
13037 if (arg1 == NULL) SWIG_fail;
13038 temp1 = True;
13039 }
13040 if (obj1) {
13041 {
13042 arg2 = wxString_in_helper(obj1);
13043 if (arg2 == NULL) SWIG_fail;
13044 temp2 = True;
13045 }
13046 }
13047 if (obj2) {
13048 {
13049 arg3 = &temp3;
13050 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13051 }
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
13060 {
13061 wxIcon * resultptr;
13062 resultptr = new wxIcon((wxIcon &) result);
13063 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13064 }
13065 {
13066 if (temp1)
13067 delete arg1;
13068 }
13069 {
13070 if (temp2)
13071 delete arg2;
13072 }
13073 return resultobj;
13074 fail:
13075 {
13076 if (temp1)
13077 delete arg1;
13078 }
13079 {
13080 if (temp2)
13081 delete arg2;
13082 }
13083 return NULL;
13084 }
13085
13086
13087 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13090 PyObject * obj0 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 wxPyArtProvider_Destroy(arg1);
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 Py_INCREF(Py_None); resultobj = Py_None;
13105 return resultobj;
13106 fail:
13107 return NULL;
13108 }
13109
13110
13111 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13112 PyObject *obj;
13113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13114 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13115 Py_INCREF(obj);
13116 return Py_BuildValue((char *)"");
13117 }
13118 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj;
13120 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13121 PyObject * obj0 = 0 ;
13122 char *kwnames[] = {
13123 (char *) "self", NULL
13124 };
13125
13126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 delete arg1;
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 Py_INCREF(Py_None); resultobj = Py_None;
13136 return resultobj;
13137 fail:
13138 return NULL;
13139 }
13140
13141
13142 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj;
13144 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13145 wxConfigBase *result;
13146 PyObject * obj0 = 0 ;
13147 char *kwnames[] = {
13148 (char *) "pConfig", NULL
13149 };
13150
13151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj;
13169 bool arg1 = (bool) True ;
13170 wxConfigBase *result;
13171 PyObject * obj0 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "createOnDemand", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13177 if (obj0) {
13178 arg1 = PyInt_AsLong(obj0) ? true : false;
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13189 return resultobj;
13190 fail:
13191 return NULL;
13192 }
13193
13194
13195 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13196 PyObject *resultobj;
13197 wxConfigBase *result;
13198 char *kwnames[] = {
13199 NULL
13200 };
13201
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 result = (wxConfigBase *)wxConfigBase::Create();
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13211 return resultobj;
13212 fail:
13213 return NULL;
13214 }
13215
13216
13217 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 char *kwnames[] = {
13220 NULL
13221 };
13222
13223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 wxConfigBase::DontCreateOnDemand();
13227
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 Py_INCREF(Py_None); resultobj = Py_None;
13232 return resultobj;
13233 fail:
13234 return NULL;
13235 }
13236
13237
13238 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13239 PyObject *resultobj;
13240 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13241 wxString *arg2 = 0 ;
13242 bool temp2 = False ;
13243 PyObject * obj0 = 0 ;
13244 PyObject * obj1 = 0 ;
13245 char *kwnames[] = {
13246 (char *) "self",(char *) "strPath", NULL
13247 };
13248
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13251 {
13252 arg2 = wxString_in_helper(obj1);
13253 if (arg2 == NULL) SWIG_fail;
13254 temp2 = True;
13255 }
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 (arg1)->SetPath((wxString const &)*arg2);
13259
13260 wxPyEndAllowThreads(__tstate);
13261 if (PyErr_Occurred()) SWIG_fail;
13262 }
13263 Py_INCREF(Py_None); resultobj = Py_None;
13264 {
13265 if (temp2)
13266 delete arg2;
13267 }
13268 return resultobj;
13269 fail:
13270 {
13271 if (temp2)
13272 delete arg2;
13273 }
13274 return NULL;
13275 }
13276
13277
13278 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13281 wxString *result;
13282 PyObject * obj0 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 {
13292 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13293 result = (wxString *) &_result_ref;
13294 }
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
13300 return resultobj;
13301 fail:
13302 return NULL;
13303 }
13304
13305
13306 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj;
13308 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13309 PyObject *result;
13310 PyObject * obj0 = 0 ;
13311 char *kwnames[] = {
13312 (char *) "self", NULL
13313 };
13314
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13317 {
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
13319 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13320
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
13324 resultobj = result;
13325 return resultobj;
13326 fail:
13327 return NULL;
13328 }
13329
13330
13331 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj;
13333 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13334 long arg2 ;
13335 PyObject *result;
13336 PyObject * obj0 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self",(char *) "index", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 resultobj = result;
13351 return resultobj;
13352 fail:
13353 return NULL;
13354 }
13355
13356
13357 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13358 PyObject *resultobj;
13359 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13360 PyObject *result;
13361 PyObject * obj0 = 0 ;
13362 char *kwnames[] = {
13363 (char *) "self", NULL
13364 };
13365
13366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = result;
13376 return resultobj;
13377 fail:
13378 return NULL;
13379 }
13380
13381
13382 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13385 long arg2 ;
13386 PyObject *result;
13387 PyObject * obj0 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "self",(char *) "index", NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13394 {
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13397
13398 wxPyEndAllowThreads(__tstate);
13399 if (PyErr_Occurred()) SWIG_fail;
13400 }
13401 resultobj = result;
13402 return resultobj;
13403 fail:
13404 return NULL;
13405 }
13406
13407
13408 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13409 PyObject *resultobj;
13410 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13411 bool arg2 = (bool) False ;
13412 size_t result;
13413 PyObject * obj0 = 0 ;
13414 PyObject * obj1 = 0 ;
13415 char *kwnames[] = {
13416 (char *) "self",(char *) "bRecursive", NULL
13417 };
13418
13419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13421 if (obj1) {
13422 arg2 = PyInt_AsLong(obj1) ? true : false;
13423 if (PyErr_Occurred()) SWIG_fail;
13424 }
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 resultobj = PyInt_FromLong((long)result);
13433 return resultobj;
13434 fail:
13435 return NULL;
13436 }
13437
13438
13439 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13440 PyObject *resultobj;
13441 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13442 bool arg2 = (bool) False ;
13443 size_t result;
13444 PyObject * obj0 = 0 ;
13445 PyObject * obj1 = 0 ;
13446 char *kwnames[] = {
13447 (char *) "self",(char *) "bRecursive", NULL
13448 };
13449
13450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13452 if (obj1) {
13453 arg2 = PyInt_AsLong(obj1) ? true : false;
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 {
13457 PyThreadState* __tstate = wxPyBeginAllowThreads();
13458 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13459
13460 wxPyEndAllowThreads(__tstate);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 }
13463 resultobj = PyInt_FromLong((long)result);
13464 return resultobj;
13465 fail:
13466 return NULL;
13467 }
13468
13469
13470 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13471 PyObject *resultobj;
13472 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13473 wxString *arg2 = 0 ;
13474 bool result;
13475 bool temp2 = False ;
13476 PyObject * obj0 = 0 ;
13477 PyObject * obj1 = 0 ;
13478 char *kwnames[] = {
13479 (char *) "self",(char *) "strName", NULL
13480 };
13481
13482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13484 {
13485 arg2 = wxString_in_helper(obj1);
13486 if (arg2 == NULL) SWIG_fail;
13487 temp2 = True;
13488 }
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 resultobj = PyInt_FromLong((long)result);
13497 {
13498 if (temp2)
13499 delete arg2;
13500 }
13501 return resultobj;
13502 fail:
13503 {
13504 if (temp2)
13505 delete arg2;
13506 }
13507 return NULL;
13508 }
13509
13510
13511 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj;
13513 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13514 wxString *arg2 = 0 ;
13515 bool result;
13516 bool temp2 = False ;
13517 PyObject * obj0 = 0 ;
13518 PyObject * obj1 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self",(char *) "strName", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13525 {
13526 arg2 = wxString_in_helper(obj1);
13527 if (arg2 == NULL) SWIG_fail;
13528 temp2 = True;
13529 }
13530 {
13531 PyThreadState* __tstate = wxPyBeginAllowThreads();
13532 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13533
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 resultobj = PyInt_FromLong((long)result);
13538 {
13539 if (temp2)
13540 delete arg2;
13541 }
13542 return resultobj;
13543 fail:
13544 {
13545 if (temp2)
13546 delete arg2;
13547 }
13548 return NULL;
13549 }
13550
13551
13552 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13553 PyObject *resultobj;
13554 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13555 wxString *arg2 = 0 ;
13556 bool result;
13557 bool temp2 = False ;
13558 PyObject * obj0 = 0 ;
13559 PyObject * obj1 = 0 ;
13560 char *kwnames[] = {
13561 (char *) "self",(char *) "strName", NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13566 {
13567 arg2 = wxString_in_helper(obj1);
13568 if (arg2 == NULL) SWIG_fail;
13569 temp2 = True;
13570 }
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13574
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 resultobj = PyInt_FromLong((long)result);
13579 {
13580 if (temp2)
13581 delete arg2;
13582 }
13583 return resultobj;
13584 fail:
13585 {
13586 if (temp2)
13587 delete arg2;
13588 }
13589 return NULL;
13590 }
13591
13592
13593 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj;
13595 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13596 wxString *arg2 = 0 ;
13597 int result;
13598 bool temp2 = False ;
13599 PyObject * obj0 = 0 ;
13600 PyObject * obj1 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self",(char *) "name", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13607 {
13608 arg2 = wxString_in_helper(obj1);
13609 if (arg2 == NULL) SWIG_fail;
13610 temp2 = True;
13611 }
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 resultobj = PyInt_FromLong((long)result);
13620 {
13621 if (temp2)
13622 delete arg2;
13623 }
13624 return resultobj;
13625 fail:
13626 {
13627 if (temp2)
13628 delete arg2;
13629 }
13630 return NULL;
13631 }
13632
13633
13634 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj;
13636 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13637 wxString *arg2 = 0 ;
13638 wxString const &arg3_defvalue = wxPyEmptyString ;
13639 wxString *arg3 = (wxString *) &arg3_defvalue ;
13640 wxString result;
13641 bool temp2 = False ;
13642 bool temp3 = False ;
13643 PyObject * obj0 = 0 ;
13644 PyObject * obj1 = 0 ;
13645 PyObject * obj2 = 0 ;
13646 char *kwnames[] = {
13647 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13648 };
13649
13650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13652 {
13653 arg2 = wxString_in_helper(obj1);
13654 if (arg2 == NULL) SWIG_fail;
13655 temp2 = True;
13656 }
13657 if (obj2) {
13658 {
13659 arg3 = wxString_in_helper(obj2);
13660 if (arg3 == NULL) SWIG_fail;
13661 temp3 = True;
13662 }
13663 }
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 {
13672 #if wxUSE_UNICODE
13673 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13674 #else
13675 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13676 #endif
13677 }
13678 {
13679 if (temp2)
13680 delete arg2;
13681 }
13682 {
13683 if (temp3)
13684 delete arg3;
13685 }
13686 return resultobj;
13687 fail:
13688 {
13689 if (temp2)
13690 delete arg2;
13691 }
13692 {
13693 if (temp3)
13694 delete arg3;
13695 }
13696 return NULL;
13697 }
13698
13699
13700 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13701 PyObject *resultobj;
13702 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13703 wxString *arg2 = 0 ;
13704 long arg3 = (long) 0 ;
13705 long result;
13706 bool temp2 = False ;
13707 PyObject * obj0 = 0 ;
13708 PyObject * obj1 = 0 ;
13709 char *kwnames[] = {
13710 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13711 };
13712
13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13715 {
13716 arg2 = wxString_in_helper(obj1);
13717 if (arg2 == NULL) SWIG_fail;
13718 temp2 = True;
13719 }
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 resultobj = PyInt_FromLong((long)result);
13728 {
13729 if (temp2)
13730 delete arg2;
13731 }
13732 return resultobj;
13733 fail:
13734 {
13735 if (temp2)
13736 delete arg2;
13737 }
13738 return NULL;
13739 }
13740
13741
13742 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13745 wxString *arg2 = 0 ;
13746 double arg3 = (double) 0.0 ;
13747 double result;
13748 bool temp2 = False ;
13749 PyObject * obj0 = 0 ;
13750 PyObject * obj1 = 0 ;
13751 char *kwnames[] = {
13752 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13753 };
13754
13755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13757 {
13758 arg2 = wxString_in_helper(obj1);
13759 if (arg2 == NULL) SWIG_fail;
13760 temp2 = True;
13761 }
13762 {
13763 PyThreadState* __tstate = wxPyBeginAllowThreads();
13764 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13765
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 resultobj = PyFloat_FromDouble(result);
13770 {
13771 if (temp2)
13772 delete arg2;
13773 }
13774 return resultobj;
13775 fail:
13776 {
13777 if (temp2)
13778 delete arg2;
13779 }
13780 return NULL;
13781 }
13782
13783
13784 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13787 wxString *arg2 = 0 ;
13788 bool arg3 = (bool) False ;
13789 bool result;
13790 bool temp2 = False ;
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj1 = 0 ;
13793 PyObject * obj2 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13800 {
13801 arg2 = wxString_in_helper(obj1);
13802 if (arg2 == NULL) SWIG_fail;
13803 temp2 = True;
13804 }
13805 if (obj2) {
13806 arg3 = PyInt_AsLong(obj2) ? true : false;
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 resultobj = PyInt_FromLong((long)result);
13817 {
13818 if (temp2)
13819 delete arg2;
13820 }
13821 return resultobj;
13822 fail:
13823 {
13824 if (temp2)
13825 delete arg2;
13826 }
13827 return NULL;
13828 }
13829
13830
13831 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj;
13833 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13834 wxString *arg2 = 0 ;
13835 wxString *arg3 = 0 ;
13836 bool result;
13837 bool temp2 = False ;
13838 bool temp3 = False ;
13839 PyObject * obj0 = 0 ;
13840 PyObject * obj1 = 0 ;
13841 PyObject * obj2 = 0 ;
13842 char *kwnames[] = {
13843 (char *) "self",(char *) "key",(char *) "value", NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
13847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13848 {
13849 arg2 = wxString_in_helper(obj1);
13850 if (arg2 == NULL) SWIG_fail;
13851 temp2 = True;
13852 }
13853 {
13854 arg3 = wxString_in_helper(obj2);
13855 if (arg3 == NULL) SWIG_fail;
13856 temp3 = True;
13857 }
13858 {
13859 PyThreadState* __tstate = wxPyBeginAllowThreads();
13860 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
13861
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 resultobj = PyInt_FromLong((long)result);
13866 {
13867 if (temp2)
13868 delete arg2;
13869 }
13870 {
13871 if (temp3)
13872 delete arg3;
13873 }
13874 return resultobj;
13875 fail:
13876 {
13877 if (temp2)
13878 delete arg2;
13879 }
13880 {
13881 if (temp3)
13882 delete arg3;
13883 }
13884 return NULL;
13885 }
13886
13887
13888 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13889 PyObject *resultobj;
13890 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13891 wxString *arg2 = 0 ;
13892 long arg3 ;
13893 bool result;
13894 bool temp2 = False ;
13895 PyObject * obj0 = 0 ;
13896 PyObject * obj1 = 0 ;
13897 char *kwnames[] = {
13898 (char *) "self",(char *) "key",(char *) "value", NULL
13899 };
13900
13901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13903 {
13904 arg2 = wxString_in_helper(obj1);
13905 if (arg2 == NULL) SWIG_fail;
13906 temp2 = True;
13907 }
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 resultobj = PyInt_FromLong((long)result);
13916 {
13917 if (temp2)
13918 delete arg2;
13919 }
13920 return resultobj;
13921 fail:
13922 {
13923 if (temp2)
13924 delete arg2;
13925 }
13926 return NULL;
13927 }
13928
13929
13930 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj;
13932 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13933 wxString *arg2 = 0 ;
13934 double arg3 ;
13935 bool result;
13936 bool temp2 = False ;
13937 PyObject * obj0 = 0 ;
13938 PyObject * obj1 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "self",(char *) "key",(char *) "value", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13945 {
13946 arg2 = wxString_in_helper(obj1);
13947 if (arg2 == NULL) SWIG_fail;
13948 temp2 = True;
13949 }
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 resultobj = PyInt_FromLong((long)result);
13958 {
13959 if (temp2)
13960 delete arg2;
13961 }
13962 return resultobj;
13963 fail:
13964 {
13965 if (temp2)
13966 delete arg2;
13967 }
13968 return NULL;
13969 }
13970
13971
13972 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13973 PyObject *resultobj;
13974 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13975 wxString *arg2 = 0 ;
13976 bool arg3 ;
13977 bool result;
13978 bool temp2 = False ;
13979 PyObject * obj0 = 0 ;
13980 PyObject * obj1 = 0 ;
13981 PyObject * obj2 = 0 ;
13982 char *kwnames[] = {
13983 (char *) "self",(char *) "key",(char *) "value", NULL
13984 };
13985
13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13988 {
13989 arg2 = wxString_in_helper(obj1);
13990 if (arg2 == NULL) SWIG_fail;
13991 temp2 = True;
13992 }
13993 arg3 = PyInt_AsLong(obj2) ? true : false;
13994 if (PyErr_Occurred()) SWIG_fail;
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13998
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 resultobj = PyInt_FromLong((long)result);
14003 {
14004 if (temp2)
14005 delete arg2;
14006 }
14007 return resultobj;
14008 fail:
14009 {
14010 if (temp2)
14011 delete arg2;
14012 }
14013 return NULL;
14014 }
14015
14016
14017 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14018 PyObject *resultobj;
14019 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14020 bool arg2 = (bool) False ;
14021 bool result;
14022 PyObject * obj0 = 0 ;
14023 PyObject * obj1 = 0 ;
14024 char *kwnames[] = {
14025 (char *) "self",(char *) "bCurrentOnly", NULL
14026 };
14027
14028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14030 if (obj1) {
14031 arg2 = PyInt_AsLong(obj1) ? true : false;
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 result = (bool)(arg1)->Flush(arg2);
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 resultobj = PyInt_FromLong((long)result);
14042 return resultobj;
14043 fail:
14044 return NULL;
14045 }
14046
14047
14048 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14049 PyObject *resultobj;
14050 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14051 wxString *arg2 = 0 ;
14052 wxString *arg3 = 0 ;
14053 bool result;
14054 bool temp2 = False ;
14055 bool temp3 = False ;
14056 PyObject * obj0 = 0 ;
14057 PyObject * obj1 = 0 ;
14058 PyObject * obj2 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14065 {
14066 arg2 = wxString_in_helper(obj1);
14067 if (arg2 == NULL) SWIG_fail;
14068 temp2 = True;
14069 }
14070 {
14071 arg3 = wxString_in_helper(obj2);
14072 if (arg3 == NULL) SWIG_fail;
14073 temp3 = True;
14074 }
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 resultobj = PyInt_FromLong((long)result);
14083 {
14084 if (temp2)
14085 delete arg2;
14086 }
14087 {
14088 if (temp3)
14089 delete arg3;
14090 }
14091 return resultobj;
14092 fail:
14093 {
14094 if (temp2)
14095 delete arg2;
14096 }
14097 {
14098 if (temp3)
14099 delete arg3;
14100 }
14101 return NULL;
14102 }
14103
14104
14105 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14106 PyObject *resultobj;
14107 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14108 wxString *arg2 = 0 ;
14109 wxString *arg3 = 0 ;
14110 bool result;
14111 bool temp2 = False ;
14112 bool temp3 = False ;
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 PyObject * obj2 = 0 ;
14116 char *kwnames[] = {
14117 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14118 };
14119
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14122 {
14123 arg2 = wxString_in_helper(obj1);
14124 if (arg2 == NULL) SWIG_fail;
14125 temp2 = True;
14126 }
14127 {
14128 arg3 = wxString_in_helper(obj2);
14129 if (arg3 == NULL) SWIG_fail;
14130 temp3 = True;
14131 }
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 resultobj = PyInt_FromLong((long)result);
14140 {
14141 if (temp2)
14142 delete arg2;
14143 }
14144 {
14145 if (temp3)
14146 delete arg3;
14147 }
14148 return resultobj;
14149 fail:
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 {
14155 if (temp3)
14156 delete arg3;
14157 }
14158 return NULL;
14159 }
14160
14161
14162 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14165 wxString *arg2 = 0 ;
14166 bool arg3 = (bool) True ;
14167 bool result;
14168 bool temp2 = False ;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 PyObject * obj2 = 0 ;
14172 char *kwnames[] = {
14173 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14174 };
14175
14176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14178 {
14179 arg2 = wxString_in_helper(obj1);
14180 if (arg2 == NULL) SWIG_fail;
14181 temp2 = True;
14182 }
14183 if (obj2) {
14184 arg3 = PyInt_AsLong(obj2) ? true : false;
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 resultobj = PyInt_FromLong((long)result);
14195 {
14196 if (temp2)
14197 delete arg2;
14198 }
14199 return resultobj;
14200 fail:
14201 {
14202 if (temp2)
14203 delete arg2;
14204 }
14205 return NULL;
14206 }
14207
14208
14209 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14212 wxString *arg2 = 0 ;
14213 bool result;
14214 bool temp2 = False ;
14215 PyObject * obj0 = 0 ;
14216 PyObject * obj1 = 0 ;
14217 char *kwnames[] = {
14218 (char *) "self",(char *) "key", NULL
14219 };
14220
14221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14223 {
14224 arg2 = wxString_in_helper(obj1);
14225 if (arg2 == NULL) SWIG_fail;
14226 temp2 = True;
14227 }
14228 {
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
14230 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14231
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 resultobj = PyInt_FromLong((long)result);
14236 {
14237 if (temp2)
14238 delete arg2;
14239 }
14240 return resultobj;
14241 fail:
14242 {
14243 if (temp2)
14244 delete arg2;
14245 }
14246 return NULL;
14247 }
14248
14249
14250 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14253 bool result;
14254 PyObject * obj0 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (bool)(arg1)->DeleteAll();
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 resultobj = PyInt_FromLong((long)result);
14269 return resultobj;
14270 fail:
14271 return NULL;
14272 }
14273
14274
14275 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14278 bool result;
14279 PyObject * obj0 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 resultobj = PyInt_FromLong((long)result);
14294 return resultobj;
14295 fail:
14296 return NULL;
14297 }
14298
14299
14300 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14301 PyObject *resultobj;
14302 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14303 bool arg2 = (bool) True ;
14304 PyObject * obj0 = 0 ;
14305 PyObject * obj1 = 0 ;
14306 char *kwnames[] = {
14307 (char *) "self",(char *) "bDoIt", NULL
14308 };
14309
14310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14312 if (obj1) {
14313 arg2 = PyInt_AsLong(obj1) ? true : false;
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 {
14317 PyThreadState* __tstate = wxPyBeginAllowThreads();
14318 (arg1)->SetExpandEnvVars(arg2);
14319
14320 wxPyEndAllowThreads(__tstate);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 }
14323 Py_INCREF(Py_None); resultobj = Py_None;
14324 return resultobj;
14325 fail:
14326 return NULL;
14327 }
14328
14329
14330 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14331 PyObject *resultobj;
14332 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14333 bool arg2 = (bool) True ;
14334 PyObject * obj0 = 0 ;
14335 PyObject * obj1 = 0 ;
14336 char *kwnames[] = {
14337 (char *) "self",(char *) "bDoIt", NULL
14338 };
14339
14340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14342 if (obj1) {
14343 arg2 = PyInt_AsLong(obj1) ? true : false;
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 (arg1)->SetRecordDefaults(arg2);
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 Py_INCREF(Py_None); resultobj = Py_None;
14354 return resultobj;
14355 fail:
14356 return NULL;
14357 }
14358
14359
14360 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14361 PyObject *resultobj;
14362 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14363 bool result;
14364 PyObject * obj0 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "self", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14374
14375 wxPyEndAllowThreads(__tstate);
14376 if (PyErr_Occurred()) SWIG_fail;
14377 }
14378 resultobj = PyInt_FromLong((long)result);
14379 return resultobj;
14380 fail:
14381 return NULL;
14382 }
14383
14384
14385 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14386 PyObject *resultobj;
14387 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14388 wxString *arg2 = 0 ;
14389 wxString result;
14390 bool temp2 = False ;
14391 PyObject * obj0 = 0 ;
14392 PyObject * obj1 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "self",(char *) "str", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14399 {
14400 arg2 = wxString_in_helper(obj1);
14401 if (arg2 == NULL) SWIG_fail;
14402 temp2 = True;
14403 }
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 {
14412 #if wxUSE_UNICODE
14413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14414 #else
14415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14416 #endif
14417 }
14418 {
14419 if (temp2)
14420 delete arg2;
14421 }
14422 return resultobj;
14423 fail:
14424 {
14425 if (temp2)
14426 delete arg2;
14427 }
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14435 wxString result;
14436 PyObject * obj0 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 result = ((wxConfigBase const *)arg1)->GetAppName();
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 {
14451 #if wxUSE_UNICODE
14452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14453 #else
14454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14455 #endif
14456 }
14457 return resultobj;
14458 fail:
14459 return NULL;
14460 }
14461
14462
14463 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14464 PyObject *resultobj;
14465 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14466 wxString result;
14467 PyObject * obj0 = 0 ;
14468 char *kwnames[] = {
14469 (char *) "self", NULL
14470 };
14471
14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 result = ((wxConfigBase const *)arg1)->GetVendorName();
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 {
14482 #if wxUSE_UNICODE
14483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14484 #else
14485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14486 #endif
14487 }
14488 return resultobj;
14489 fail:
14490 return NULL;
14491 }
14492
14493
14494 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14495 PyObject *resultobj;
14496 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14497 wxString *arg2 = 0 ;
14498 bool temp2 = False ;
14499 PyObject * obj0 = 0 ;
14500 PyObject * obj1 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self",(char *) "appName", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14507 {
14508 arg2 = wxString_in_helper(obj1);
14509 if (arg2 == NULL) SWIG_fail;
14510 temp2 = True;
14511 }
14512 {
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
14514 (arg1)->SetAppName((wxString const &)*arg2);
14515
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 Py_INCREF(Py_None); resultobj = Py_None;
14520 {
14521 if (temp2)
14522 delete arg2;
14523 }
14524 return resultobj;
14525 fail:
14526 {
14527 if (temp2)
14528 delete arg2;
14529 }
14530 return NULL;
14531 }
14532
14533
14534 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj;
14536 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14537 wxString *arg2 = 0 ;
14538 bool temp2 = False ;
14539 PyObject * obj0 = 0 ;
14540 PyObject * obj1 = 0 ;
14541 char *kwnames[] = {
14542 (char *) "self",(char *) "vendorName", NULL
14543 };
14544
14545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14547 {
14548 arg2 = wxString_in_helper(obj1);
14549 if (arg2 == NULL) SWIG_fail;
14550 temp2 = True;
14551 }
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 (arg1)->SetVendorName((wxString const &)*arg2);
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 Py_INCREF(Py_None); resultobj = Py_None;
14560 {
14561 if (temp2)
14562 delete arg2;
14563 }
14564 return resultobj;
14565 fail:
14566 {
14567 if (temp2)
14568 delete arg2;
14569 }
14570 return NULL;
14571 }
14572
14573
14574 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14577 long arg2 ;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self",(char *) "style", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 (arg1)->SetStyle(arg2);
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 Py_INCREF(Py_None); resultobj = Py_None;
14593 return resultobj;
14594 fail:
14595 return NULL;
14596 }
14597
14598
14599 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14600 PyObject *resultobj;
14601 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14602 long result;
14603 PyObject * obj0 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "self", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14610 {
14611 PyThreadState* __tstate = wxPyBeginAllowThreads();
14612 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14613
14614 wxPyEndAllowThreads(__tstate);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 resultobj = PyInt_FromLong((long)result);
14618 return resultobj;
14619 fail:
14620 return NULL;
14621 }
14622
14623
14624 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14625 PyObject *obj;
14626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14627 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14628 Py_INCREF(obj);
14629 return Py_BuildValue((char *)"");
14630 }
14631 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14634 wxString *arg2 = 0 ;
14635 wxConfigPathChanger *result;
14636 bool temp2 = False ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 char *kwnames[] = {
14640 (char *) "pContainer",(char *) "strEntry", NULL
14641 };
14642
14643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14645 {
14646 arg2 = wxString_in_helper(obj1);
14647 if (arg2 == NULL) SWIG_fail;
14648 temp2 = True;
14649 }
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14658 {
14659 if (temp2)
14660 delete arg2;
14661 }
14662 return resultobj;
14663 fail:
14664 {
14665 if (temp2)
14666 delete arg2;
14667 }
14668 return NULL;
14669 }
14670
14671
14672 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj;
14674 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14675 PyObject * obj0 = 0 ;
14676 char *kwnames[] = {
14677 (char *) "self", NULL
14678 };
14679
14680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 delete arg1;
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 Py_INCREF(Py_None); resultobj = Py_None;
14690 return resultobj;
14691 fail:
14692 return NULL;
14693 }
14694
14695
14696 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14697 PyObject *resultobj;
14698 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14699 wxString *result;
14700 PyObject * obj0 = 0 ;
14701 char *kwnames[] = {
14702 (char *) "self", NULL
14703 };
14704
14705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 {
14710 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14711 result = (wxString *) &_result_ref;
14712 }
14713
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14718 return resultobj;
14719 fail:
14720 return NULL;
14721 }
14722
14723
14724 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14725 PyObject *obj;
14726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14727 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14728 Py_INCREF(obj);
14729 return Py_BuildValue((char *)"");
14730 }
14731 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj;
14733 wxString const &arg1_defvalue = wxPyEmptyString ;
14734 wxString *arg1 = (wxString *) &arg1_defvalue ;
14735 wxString const &arg2_defvalue = wxPyEmptyString ;
14736 wxString *arg2 = (wxString *) &arg2_defvalue ;
14737 wxString const &arg3_defvalue = wxPyEmptyString ;
14738 wxString *arg3 = (wxString *) &arg3_defvalue ;
14739 wxString const &arg4_defvalue = wxPyEmptyString ;
14740 wxString *arg4 = (wxString *) &arg4_defvalue ;
14741 long arg5 = (long) 0 ;
14742 wxConfig *result;
14743 bool temp1 = False ;
14744 bool temp2 = False ;
14745 bool temp3 = False ;
14746 bool temp4 = False ;
14747 PyObject * obj0 = 0 ;
14748 PyObject * obj1 = 0 ;
14749 PyObject * obj2 = 0 ;
14750 PyObject * obj3 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14756 if (obj0) {
14757 {
14758 arg1 = wxString_in_helper(obj0);
14759 if (arg1 == NULL) SWIG_fail;
14760 temp1 = True;
14761 }
14762 }
14763 if (obj1) {
14764 {
14765 arg2 = wxString_in_helper(obj1);
14766 if (arg2 == NULL) SWIG_fail;
14767 temp2 = True;
14768 }
14769 }
14770 if (obj2) {
14771 {
14772 arg3 = wxString_in_helper(obj2);
14773 if (arg3 == NULL) SWIG_fail;
14774 temp3 = True;
14775 }
14776 }
14777 if (obj3) {
14778 {
14779 arg4 = wxString_in_helper(obj3);
14780 if (arg4 == NULL) SWIG_fail;
14781 temp4 = True;
14782 }
14783 }
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14787
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14792 {
14793 if (temp1)
14794 delete arg1;
14795 }
14796 {
14797 if (temp2)
14798 delete arg2;
14799 }
14800 {
14801 if (temp3)
14802 delete arg3;
14803 }
14804 {
14805 if (temp4)
14806 delete arg4;
14807 }
14808 return resultobj;
14809 fail:
14810 {
14811 if (temp1)
14812 delete arg1;
14813 }
14814 {
14815 if (temp2)
14816 delete arg2;
14817 }
14818 {
14819 if (temp3)
14820 delete arg3;
14821 }
14822 {
14823 if (temp4)
14824 delete arg4;
14825 }
14826 return NULL;
14827 }
14828
14829
14830 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14831 PyObject *resultobj;
14832 wxConfig *arg1 = (wxConfig *) 0 ;
14833 PyObject * obj0 = 0 ;
14834 char *kwnames[] = {
14835 (char *) "self", NULL
14836 };
14837
14838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
14839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14840 {
14841 PyThreadState* __tstate = wxPyBeginAllowThreads();
14842 delete arg1;
14843
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 Py_INCREF(Py_None); resultobj = Py_None;
14848 return resultobj;
14849 fail:
14850 return NULL;
14851 }
14852
14853
14854 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
14855 PyObject *obj;
14856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
14858 Py_INCREF(obj);
14859 return Py_BuildValue((char *)"");
14860 }
14861 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxString const &arg1_defvalue = wxPyEmptyString ;
14864 wxString *arg1 = (wxString *) &arg1_defvalue ;
14865 wxString const &arg2_defvalue = wxPyEmptyString ;
14866 wxString *arg2 = (wxString *) &arg2_defvalue ;
14867 wxString const &arg3_defvalue = wxPyEmptyString ;
14868 wxString *arg3 = (wxString *) &arg3_defvalue ;
14869 wxString const &arg4_defvalue = wxPyEmptyString ;
14870 wxString *arg4 = (wxString *) &arg4_defvalue ;
14871 long arg5 = (long) 0 ;
14872 wxFileConfig *result;
14873 bool temp1 = False ;
14874 bool temp2 = False ;
14875 bool temp3 = False ;
14876 bool temp4 = False ;
14877 PyObject * obj0 = 0 ;
14878 PyObject * obj1 = 0 ;
14879 PyObject * obj2 = 0 ;
14880 PyObject * obj3 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14886 if (obj0) {
14887 {
14888 arg1 = wxString_in_helper(obj0);
14889 if (arg1 == NULL) SWIG_fail;
14890 temp1 = True;
14891 }
14892 }
14893 if (obj1) {
14894 {
14895 arg2 = wxString_in_helper(obj1);
14896 if (arg2 == NULL) SWIG_fail;
14897 temp2 = True;
14898 }
14899 }
14900 if (obj2) {
14901 {
14902 arg3 = wxString_in_helper(obj2);
14903 if (arg3 == NULL) SWIG_fail;
14904 temp3 = True;
14905 }
14906 }
14907 if (obj3) {
14908 {
14909 arg4 = wxString_in_helper(obj3);
14910 if (arg4 == NULL) SWIG_fail;
14911 temp4 = True;
14912 }
14913 }
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14917
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
14922 {
14923 if (temp1)
14924 delete arg1;
14925 }
14926 {
14927 if (temp2)
14928 delete arg2;
14929 }
14930 {
14931 if (temp3)
14932 delete arg3;
14933 }
14934 {
14935 if (temp4)
14936 delete arg4;
14937 }
14938 return resultobj;
14939 fail:
14940 {
14941 if (temp1)
14942 delete arg1;
14943 }
14944 {
14945 if (temp2)
14946 delete arg2;
14947 }
14948 {
14949 if (temp3)
14950 delete arg3;
14951 }
14952 {
14953 if (temp4)
14954 delete arg4;
14955 }
14956 return NULL;
14957 }
14958
14959
14960 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 delete arg1;
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 Py_INCREF(Py_None); resultobj = Py_None;
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
14985 PyObject *obj;
14986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14987 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
14988 Py_INCREF(obj);
14989 return Py_BuildValue((char *)"");
14990 }
14991 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxString *arg1 = 0 ;
14994 wxString result;
14995 bool temp1 = False ;
14996 PyObject * obj0 = 0 ;
14997 char *kwnames[] = {
14998 (char *) "sz", NULL
14999 };
15000
15001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15002 {
15003 arg1 = wxString_in_helper(obj0);
15004 if (arg1 == NULL) SWIG_fail;
15005 temp1 = True;
15006 }
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = wxExpandEnvVars((wxString const &)*arg1);
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 {
15015 #if wxUSE_UNICODE
15016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15017 #else
15018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15019 #endif
15020 }
15021 {
15022 if (temp1)
15023 delete arg1;
15024 }
15025 return resultobj;
15026 fail:
15027 {
15028 if (temp1)
15029 delete arg1;
15030 }
15031 return NULL;
15032 }
15033
15034
15035 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15036 PyObject *resultobj;
15037 int arg1 ;
15038 char *kwnames[] = {
15039 (char *) "country", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 Py_INCREF(Py_None); resultobj = Py_None;
15051 return resultobj;
15052 fail:
15053 return NULL;
15054 }
15055
15056
15057 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15058 PyObject *resultobj;
15059 int result;
15060 char *kwnames[] = {
15061 NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 result = (int)wxDateTime::GetCountry();
15068
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 resultobj = PyInt_FromLong((long)result);
15073 return resultobj;
15074 fail:
15075 return NULL;
15076 }
15077
15078
15079 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15080 PyObject *resultobj;
15081 int arg1 = (int) wxDateTime::Country_Default ;
15082 bool result;
15083 char *kwnames[] = {
15084 (char *) "country", NULL
15085 };
15086
15087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 resultobj = PyInt_FromLong((long)result);
15096 return resultobj;
15097 fail:
15098 return NULL;
15099 }
15100
15101
15102 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15103 PyObject *resultobj;
15104 int arg1 = (int) wxDateTime::Gregorian ;
15105 int result;
15106 char *kwnames[] = {
15107 (char *) "cal", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15114
15115 wxPyEndAllowThreads(__tstate);
15116 if (PyErr_Occurred()) SWIG_fail;
15117 }
15118 resultobj = PyInt_FromLong((long)result);
15119 return resultobj;
15120 fail:
15121 return NULL;
15122 }
15123
15124
15125 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15126 PyObject *resultobj;
15127 int arg1 ;
15128 int result;
15129 char *kwnames[] = {
15130 (char *) "year", NULL
15131 };
15132
15133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15134 {
15135 PyThreadState* __tstate = wxPyBeginAllowThreads();
15136 result = (int)wxDateTime::ConvertYearToBC(arg1);
15137
15138 wxPyEndAllowThreads(__tstate);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 resultobj = PyInt_FromLong((long)result);
15142 return resultobj;
15143 fail:
15144 return NULL;
15145 }
15146
15147
15148 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj;
15150 int arg1 = (int) wxDateTime::Gregorian ;
15151 int result;
15152 char *kwnames[] = {
15153 (char *) "cal", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15160
15161 wxPyEndAllowThreads(__tstate);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 resultobj = PyInt_FromLong((long)result);
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 int arg1 = (int) wxDateTime::Inv_Year ;
15174 int arg2 = (int) wxDateTime::Gregorian ;
15175 bool result;
15176 char *kwnames[] = {
15177 (char *) "year",(char *) "cal", NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 resultobj = PyInt_FromLong((long)result);
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 int arg1 = (int) wxDateTime::Inv_Year ;
15198 int result;
15199 char *kwnames[] = {
15200 (char *) "year", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 result = (int)wxDateTime::GetCentury(arg1);
15207
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 resultobj = PyInt_FromLong((long)result);
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj;
15220 int arg1 ;
15221 int arg2 = (int) wxDateTime::Gregorian ;
15222 int result;
15223 char *kwnames[] = {
15224 (char *) "year",(char *) "cal", NULL
15225 };
15226
15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 resultobj = PyInt_FromLong((long)result);
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 int arg1 ;
15245 int arg2 = (int) wxDateTime::Inv_Year ;
15246 int arg3 = (int) wxDateTime::Gregorian ;
15247 int result;
15248 char *kwnames[] = {
15249 (char *) "month",(char *) "year",(char *) "cal", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 resultobj = PyInt_FromLong((long)result);
15261 return resultobj;
15262 fail:
15263 return NULL;
15264 }
15265
15266
15267 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15268 PyObject *resultobj;
15269 int arg1 ;
15270 int arg2 = (int) wxDateTime::Name_Full ;
15271 wxString result;
15272 char *kwnames[] = {
15273 (char *) "month",(char *) "flags", NULL
15274 };
15275
15276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 {
15285 #if wxUSE_UNICODE
15286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15287 #else
15288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15289 #endif
15290 }
15291 return resultobj;
15292 fail:
15293 return NULL;
15294 }
15295
15296
15297 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj;
15299 int arg1 ;
15300 int arg2 = (int) wxDateTime::Name_Full ;
15301 wxString result;
15302 char *kwnames[] = {
15303 (char *) "weekday",(char *) "flags", NULL
15304 };
15305
15306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 {
15315 #if wxUSE_UNICODE
15316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15317 #else
15318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15319 #endif
15320 }
15321 return resultobj;
15322 fail:
15323 return NULL;
15324 }
15325
15326
15327 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj;
15329 wxString *arg1 = (wxString *) 0 ;
15330 wxString *arg2 = (wxString *) 0 ;
15331 PyObject * obj0 = 0 ;
15332 PyObject * obj1 = 0 ;
15333 char *kwnames[] = {
15334 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15335 };
15336
15337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 wxDateTime::GetAmPmStrings(arg1,arg2);
15343
15344 wxPyEndAllowThreads(__tstate);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 Py_INCREF(Py_None); resultobj = Py_None;
15348 return resultobj;
15349 fail:
15350 return NULL;
15351 }
15352
15353
15354 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj;
15356 int arg1 = (int) wxDateTime::Inv_Year ;
15357 int arg2 = (int) wxDateTime::Country_Default ;
15358 bool result;
15359 char *kwnames[] = {
15360 (char *) "year",(char *) "country", NULL
15361 };
15362
15363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 resultobj = PyInt_FromLong((long)result);
15372 return resultobj;
15373 fail:
15374 return NULL;
15375 }
15376
15377
15378 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 int arg1 = (int) wxDateTime::Inv_Year ;
15381 int arg2 = (int) wxDateTime::Country_Default ;
15382 wxDateTime result;
15383 char *kwnames[] = {
15384 (char *) "year",(char *) "country", NULL
15385 };
15386
15387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 {
15396 wxDateTime * resultptr;
15397 resultptr = new wxDateTime((wxDateTime &) result);
15398 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15399 }
15400 return resultobj;
15401 fail:
15402 return NULL;
15403 }
15404
15405
15406 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj;
15408 int arg1 = (int) wxDateTime::Inv_Year ;
15409 int arg2 = (int) wxDateTime::Country_Default ;
15410 wxDateTime result;
15411 char *kwnames[] = {
15412 (char *) "year",(char *) "country", NULL
15413 };
15414
15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 {
15424 wxDateTime * resultptr;
15425 resultptr = new wxDateTime((wxDateTime &) result);
15426 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15427 }
15428 return resultobj;
15429 fail:
15430 return NULL;
15431 }
15432
15433
15434 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxDateTime result;
15437 char *kwnames[] = {
15438 NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = wxDateTime::Now();
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 {
15450 wxDateTime * resultptr;
15451 resultptr = new wxDateTime((wxDateTime &) result);
15452 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15453 }
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxDateTime result;
15463 char *kwnames[] = {
15464 NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 result = wxDateTime::UNow();
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 {
15476 wxDateTime * resultptr;
15477 resultptr = new wxDateTime((wxDateTime &) result);
15478 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15479 }
15480 return resultobj;
15481 fail:
15482 return NULL;
15483 }
15484
15485
15486 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15487 PyObject *resultobj;
15488 wxDateTime result;
15489 char *kwnames[] = {
15490 NULL
15491 };
15492
15493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = wxDateTime::Today();
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 {
15502 wxDateTime * resultptr;
15503 resultptr = new wxDateTime((wxDateTime &) result);
15504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15505 }
15506 return resultobj;
15507 fail:
15508 return NULL;
15509 }
15510
15511
15512 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15513 PyObject *resultobj;
15514 wxDateTime *result;
15515 char *kwnames[] = {
15516 NULL
15517 };
15518
15519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15520 {
15521 PyThreadState* __tstate = wxPyBeginAllowThreads();
15522 result = (wxDateTime *)new wxDateTime();
15523
15524 wxPyEndAllowThreads(__tstate);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
15527 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15528 return resultobj;
15529 fail:
15530 return NULL;
15531 }
15532
15533
15534 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15535 PyObject *resultobj;
15536 time_t arg1 ;
15537 wxDateTime *result;
15538 PyObject * obj0 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "timet", NULL
15541 };
15542
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15544 arg1 = (time_t) PyInt_AsLong(obj0);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = (wxDateTime *)new wxDateTime(arg1);
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15554 return resultobj;
15555 fail:
15556 return NULL;
15557 }
15558
15559
15560 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj;
15562 double arg1 ;
15563 wxDateTime *result;
15564 char *kwnames[] = {
15565 (char *) "jdn", NULL
15566 };
15567
15568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 result = (wxDateTime *)new wxDateTime(arg1);
15572
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15577 return resultobj;
15578 fail:
15579 return NULL;
15580 }
15581
15582
15583 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj;
15585 int arg1 ;
15586 int arg2 = (int) 0 ;
15587 int arg3 = (int) 0 ;
15588 int arg4 = (int) 0 ;
15589 wxDateTime *result;
15590 char *kwnames[] = {
15591 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15592 };
15593
15594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
15597 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15598
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15603 return resultobj;
15604 fail:
15605 return NULL;
15606 }
15607
15608
15609 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15610 PyObject *resultobj;
15611 int arg1 ;
15612 int arg2 = (int) wxDateTime::Inv_Month ;
15613 int arg3 = (int) wxDateTime::Inv_Year ;
15614 int arg4 = (int) 0 ;
15615 int arg5 = (int) 0 ;
15616 int arg6 = (int) 0 ;
15617 int arg7 = (int) 0 ;
15618 wxDateTime *result;
15619 char *kwnames[] = {
15620 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
15624 {
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15627
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15632 return resultobj;
15633 fail:
15634 return NULL;
15635 }
15636
15637
15638 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15639 PyObject *resultobj;
15640 wxDateTime *arg1 = (wxDateTime *) 0 ;
15641 PyObject * obj0 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 delete arg1;
15651
15652 wxPyEndAllowThreads(__tstate);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 Py_INCREF(Py_None); resultobj = Py_None;
15656 return resultobj;
15657 fail:
15658 return NULL;
15659 }
15660
15661
15662 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj;
15664 wxDateTime *arg1 = (wxDateTime *) 0 ;
15665 wxDateTime *result;
15666 PyObject * obj0 = 0 ;
15667 char *kwnames[] = {
15668 (char *) "self", NULL
15669 };
15670
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 {
15676 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15677 result = (wxDateTime *) &_result_ref;
15678 }
15679
15680 wxPyEndAllowThreads(__tstate);
15681 if (PyErr_Occurred()) SWIG_fail;
15682 }
15683 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15684 return resultobj;
15685 fail:
15686 return NULL;
15687 }
15688
15689
15690 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj;
15692 wxDateTime *arg1 = (wxDateTime *) 0 ;
15693 time_t arg2 ;
15694 wxDateTime *result;
15695 PyObject * obj0 = 0 ;
15696 PyObject * obj1 = 0 ;
15697 char *kwnames[] = {
15698 (char *) "self",(char *) "timet", NULL
15699 };
15700
15701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15703 arg2 = (time_t) PyInt_AsLong(obj1);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 {
15708 wxDateTime &_result_ref = (arg1)->Set(arg2);
15709 result = (wxDateTime *) &_result_ref;
15710 }
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15716 return resultobj;
15717 fail:
15718 return NULL;
15719 }
15720
15721
15722 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxDateTime *arg1 = (wxDateTime *) 0 ;
15725 double arg2 ;
15726 wxDateTime *result;
15727 PyObject * obj0 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self",(char *) "jdn", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15734 {
15735 PyThreadState* __tstate = wxPyBeginAllowThreads();
15736 {
15737 wxDateTime &_result_ref = (arg1)->Set(arg2);
15738 result = (wxDateTime *) &_result_ref;
15739 }
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15745 return resultobj;
15746 fail:
15747 return NULL;
15748 }
15749
15750
15751 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15752 PyObject *resultobj;
15753 wxDateTime *arg1 = (wxDateTime *) 0 ;
15754 int arg2 ;
15755 int arg3 = (int) 0 ;
15756 int arg4 = (int) 0 ;
15757 int arg5 = (int) 0 ;
15758 wxDateTime *result;
15759 PyObject * obj0 = 0 ;
15760 char *kwnames[] = {
15761 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15762 };
15763
15764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15766 {
15767 PyThreadState* __tstate = wxPyBeginAllowThreads();
15768 {
15769 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
15770 result = (wxDateTime *) &_result_ref;
15771 }
15772
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15777 return resultobj;
15778 fail:
15779 return NULL;
15780 }
15781
15782
15783 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
15784 PyObject *resultobj;
15785 wxDateTime *arg1 = (wxDateTime *) 0 ;
15786 int arg2 ;
15787 int arg3 = (int) wxDateTime::Inv_Month ;
15788 int arg4 = (int) wxDateTime::Inv_Year ;
15789 int arg5 = (int) 0 ;
15790 int arg6 = (int) 0 ;
15791 int arg7 = (int) 0 ;
15792 int arg8 = (int) 0 ;
15793 wxDateTime *result;
15794 PyObject * obj0 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 {
15804 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
15805 result = (wxDateTime *) &_result_ref;
15806 }
15807
15808 wxPyEndAllowThreads(__tstate);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 }
15811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15812 return resultobj;
15813 fail:
15814 return NULL;
15815 }
15816
15817
15818 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxDateTime *arg1 = (wxDateTime *) 0 ;
15821 wxDateTime *result;
15822 PyObject * obj0 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
15828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15829 {
15830 PyThreadState* __tstate = wxPyBeginAllowThreads();
15831 {
15832 wxDateTime &_result_ref = (arg1)->ResetTime();
15833 result = (wxDateTime *) &_result_ref;
15834 }
15835
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15840 return resultobj;
15841 fail:
15842 return NULL;
15843 }
15844
15845
15846 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15847 PyObject *resultobj;
15848 wxDateTime *arg1 = (wxDateTime *) 0 ;
15849 int arg2 ;
15850 wxDateTime *result;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self",(char *) "year", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 {
15861 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
15862 result = (wxDateTime *) &_result_ref;
15863 }
15864
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15869 return resultobj;
15870 fail:
15871 return NULL;
15872 }
15873
15874
15875 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15876 PyObject *resultobj;
15877 wxDateTime *arg1 = (wxDateTime *) 0 ;
15878 int arg2 ;
15879 wxDateTime *result;
15880 PyObject * obj0 = 0 ;
15881 char *kwnames[] = {
15882 (char *) "self",(char *) "month", NULL
15883 };
15884
15885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
15886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 {
15890 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
15891 result = (wxDateTime *) &_result_ref;
15892 }
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxDateTime *arg1 = (wxDateTime *) 0 ;
15907 int arg2 ;
15908 wxDateTime *result;
15909 PyObject * obj0 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "self",(char *) "day", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
15915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15916 {
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 {
15919 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
15920 result = (wxDateTime *) &_result_ref;
15921 }
15922
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj;
15935 wxDateTime *arg1 = (wxDateTime *) 0 ;
15936 int arg2 ;
15937 wxDateTime *result;
15938 PyObject * obj0 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self",(char *) "hour", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
15944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15945 {
15946 PyThreadState* __tstate = wxPyBeginAllowThreads();
15947 {
15948 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
15949 result = (wxDateTime *) &_result_ref;
15950 }
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15956 return resultobj;
15957 fail:
15958 return NULL;
15959 }
15960
15961
15962 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxDateTime *arg1 = (wxDateTime *) 0 ;
15965 int arg2 ;
15966 wxDateTime *result;
15967 PyObject * obj0 = 0 ;
15968 char *kwnames[] = {
15969 (char *) "self",(char *) "minute", NULL
15970 };
15971
15972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
15973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 {
15977 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
15978 result = (wxDateTime *) &_result_ref;
15979 }
15980
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15985 return resultobj;
15986 fail:
15987 return NULL;
15988 }
15989
15990
15991 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj;
15993 wxDateTime *arg1 = (wxDateTime *) 0 ;
15994 int arg2 ;
15995 wxDateTime *result;
15996 PyObject * obj0 = 0 ;
15997 char *kwnames[] = {
15998 (char *) "self",(char *) "second", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
16002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 {
16006 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16007 result = (wxDateTime *) &_result_ref;
16008 }
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16021 PyObject *resultobj;
16022 wxDateTime *arg1 = (wxDateTime *) 0 ;
16023 int arg2 ;
16024 wxDateTime *result;
16025 PyObject * obj0 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self",(char *) "millisecond", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16032 {
16033 PyThreadState* __tstate = wxPyBeginAllowThreads();
16034 {
16035 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16036 result = (wxDateTime *) &_result_ref;
16037 }
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxDateTime *arg1 = (wxDateTime *) 0 ;
16052 int arg2 ;
16053 int arg3 = (int) wxDateTime::Monday_First ;
16054 wxDateTime *result;
16055 PyObject * obj0 = 0 ;
16056 char *kwnames[] = {
16057 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16058 };
16059
16060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16062 {
16063 PyThreadState* __tstate = wxPyBeginAllowThreads();
16064 {
16065 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16066 result = (wxDateTime *) &_result_ref;
16067 }
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxDateTime *arg1 = (wxDateTime *) 0 ;
16082 int arg2 ;
16083 int arg3 = (int) wxDateTime::Monday_First ;
16084 wxDateTime result;
16085 PyObject * obj0 = 0 ;
16086 char *kwnames[] = {
16087 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16088 };
16089
16090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16095
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 {
16100 wxDateTime * resultptr;
16101 resultptr = new wxDateTime((wxDateTime &) result);
16102 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16103 }
16104 return resultobj;
16105 fail:
16106 return NULL;
16107 }
16108
16109
16110 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16111 PyObject *resultobj;
16112 wxDateTime *arg1 = (wxDateTime *) 0 ;
16113 int arg2 ;
16114 wxDateTime *result;
16115 PyObject * obj0 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "self",(char *) "weekday", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16122 {
16123 PyThreadState* __tstate = wxPyBeginAllowThreads();
16124 {
16125 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16126 result = (wxDateTime *) &_result_ref;
16127 }
16128
16129 wxPyEndAllowThreads(__tstate);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 }
16132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxDateTime *arg1 = (wxDateTime *) 0 ;
16142 int arg2 ;
16143 wxDateTime result;
16144 PyObject * obj0 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "weekday", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 {
16159 wxDateTime * resultptr;
16160 resultptr = new wxDateTime((wxDateTime &) result);
16161 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16162 }
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxDateTime *arg1 = (wxDateTime *) 0 ;
16172 int arg2 ;
16173 wxDateTime *result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "weekday", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 {
16184 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16185 result = (wxDateTime *) &_result_ref;
16186 }
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxDateTime *arg1 = (wxDateTime *) 0 ;
16201 int arg2 ;
16202 wxDateTime result;
16203 PyObject * obj0 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "self",(char *) "weekday", NULL
16206 };
16207
16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 {
16218 wxDateTime * resultptr;
16219 resultptr = new wxDateTime((wxDateTime &) result);
16220 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16221 }
16222 return resultobj;
16223 fail:
16224 return NULL;
16225 }
16226
16227
16228 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxDateTime *arg1 = (wxDateTime *) 0 ;
16231 int arg2 ;
16232 int arg3 = (int) 1 ;
16233 int arg4 = (int) wxDateTime::Inv_Month ;
16234 int arg5 = (int) wxDateTime::Inv_Year ;
16235 bool result;
16236 PyObject * obj0 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 resultobj = PyInt_FromLong((long)result);
16251 return resultobj;
16252 fail:
16253 return NULL;
16254 }
16255
16256
16257 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16258 PyObject *resultobj;
16259 wxDateTime *arg1 = (wxDateTime *) 0 ;
16260 int arg2 ;
16261 int arg3 = (int) wxDateTime::Inv_Month ;
16262 int arg4 = (int) wxDateTime::Inv_Year ;
16263 bool result;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
16273 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 resultobj = PyInt_FromLong((long)result);
16279 return resultobj;
16280 fail:
16281 return NULL;
16282 }
16283
16284
16285 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxDateTime *arg1 = (wxDateTime *) 0 ;
16288 int arg2 ;
16289 int arg3 = (int) wxDateTime::Inv_Month ;
16290 int arg4 = (int) wxDateTime::Inv_Year ;
16291 wxDateTime result;
16292 PyObject * obj0 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 {
16307 wxDateTime * resultptr;
16308 resultptr = new wxDateTime((wxDateTime &) result);
16309 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16310 }
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxDateTime *arg1 = (wxDateTime *) 0 ;
16320 int arg2 ;
16321 int arg3 = (int) wxDateTime::Mon ;
16322 int arg4 = (int) wxDateTime::Monday_First ;
16323 bool result;
16324 PyObject * obj0 = 0 ;
16325 char *kwnames[] = {
16326 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16327 };
16328
16329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 resultobj = PyInt_FromLong((long)result);
16339 return resultobj;
16340 fail:
16341 return NULL;
16342 }
16343
16344
16345 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxDateTime *arg1 = (wxDateTime *) 0 ;
16348 int arg2 ;
16349 int arg3 = (int) wxDateTime::Mon ;
16350 int arg4 = (int) wxDateTime::Monday_First ;
16351 wxDateTime result;
16352 PyObject * obj0 = 0 ;
16353 char *kwnames[] = {
16354 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16355 };
16356
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 {
16367 wxDateTime * resultptr;
16368 resultptr = new wxDateTime((wxDateTime &) result);
16369 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16370 }
16371 return resultobj;
16372 fail:
16373 return NULL;
16374 }
16375
16376
16377 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxDateTime *arg1 = (wxDateTime *) 0 ;
16380 int arg2 = (int) wxDateTime::Inv_Month ;
16381 int arg3 = (int) wxDateTime::Inv_Year ;
16382 wxDateTime *result;
16383 PyObject * obj0 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self",(char *) "month",(char *) "year", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 {
16393 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16394 result = (wxDateTime *) &_result_ref;
16395 }
16396
16397 wxPyEndAllowThreads(__tstate);
16398 if (PyErr_Occurred()) SWIG_fail;
16399 }
16400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16401 return resultobj;
16402 fail:
16403 return NULL;
16404 }
16405
16406
16407 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxDateTime *arg1 = (wxDateTime *) 0 ;
16410 int arg2 = (int) wxDateTime::Inv_Month ;
16411 int arg3 = (int) wxDateTime::Inv_Year ;
16412 wxDateTime result;
16413 PyObject * obj0 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self",(char *) "month",(char *) "year", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 {
16428 wxDateTime * resultptr;
16429 resultptr = new wxDateTime((wxDateTime &) result);
16430 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16431 }
16432 return resultobj;
16433 fail:
16434 return NULL;
16435 }
16436
16437
16438 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16439 PyObject *resultobj;
16440 wxDateTime *arg1 = (wxDateTime *) 0 ;
16441 int arg2 ;
16442 wxDateTime *result;
16443 PyObject * obj0 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self",(char *) "yday", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
16449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 {
16453 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16454 result = (wxDateTime *) &_result_ref;
16455 }
16456
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16461 return resultobj;
16462 fail:
16463 return NULL;
16464 }
16465
16466
16467 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxDateTime *arg1 = (wxDateTime *) 0 ;
16470 int arg2 ;
16471 wxDateTime result;
16472 PyObject * obj0 = 0 ;
16473 char *kwnames[] = {
16474 (char *) "self",(char *) "yday", NULL
16475 };
16476
16477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
16478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 result = (arg1)->GetYearDay(arg2);
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 {
16487 wxDateTime * resultptr;
16488 resultptr = new wxDateTime((wxDateTime &) result);
16489 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16490 }
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxDateTime *arg1 = (wxDateTime *) 0 ;
16500 double result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (double)(arg1)->GetJulianDayNumber();
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = PyFloat_FromDouble(result);
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxDateTime *arg1 = (wxDateTime *) 0 ;
16525 double result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (double)(arg1)->GetJDN();
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 resultobj = PyFloat_FromDouble(result);
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxDateTime *arg1 = (wxDateTime *) 0 ;
16550 double result;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 resultobj = PyFloat_FromDouble(result);
16566 return resultobj;
16567 fail:
16568 return NULL;
16569 }
16570
16571
16572 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16573 PyObject *resultobj;
16574 wxDateTime *arg1 = (wxDateTime *) 0 ;
16575 double result;
16576 PyObject * obj0 = 0 ;
16577 char *kwnames[] = {
16578 (char *) "self", NULL
16579 };
16580
16581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 result = (double)(arg1)->GetMJD();
16586
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 resultobj = PyFloat_FromDouble(result);
16591 return resultobj;
16592 fail:
16593 return NULL;
16594 }
16595
16596
16597 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj;
16599 wxDateTime *arg1 = (wxDateTime *) 0 ;
16600 double result;
16601 PyObject * obj0 = 0 ;
16602 char *kwnames[] = {
16603 (char *) "self", NULL
16604 };
16605
16606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16608 {
16609 PyThreadState* __tstate = wxPyBeginAllowThreads();
16610 result = (double)(arg1)->GetRataDie();
16611
16612 wxPyEndAllowThreads(__tstate);
16613 if (PyErr_Occurred()) SWIG_fail;
16614 }
16615 resultobj = PyFloat_FromDouble(result);
16616 return resultobj;
16617 fail:
16618 return NULL;
16619 }
16620
16621
16622 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16623 PyObject *resultobj;
16624 wxDateTime *arg1 = (wxDateTime *) 0 ;
16625 wxDateTime::TimeZone *arg2 = 0 ;
16626 bool arg3 = (bool) False ;
16627 wxDateTime result;
16628 bool temp2 = False ;
16629 PyObject * obj0 = 0 ;
16630 PyObject * obj1 = 0 ;
16631 PyObject * obj2 = 0 ;
16632 char *kwnames[] = {
16633 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16634 };
16635
16636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16638 {
16639 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16640 temp2 = True;
16641 }
16642 if (obj2) {
16643 arg3 = PyInt_AsLong(obj2) ? true : false;
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16649
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 {
16654 wxDateTime * resultptr;
16655 resultptr = new wxDateTime((wxDateTime &) result);
16656 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16657 }
16658 {
16659 if (temp2) delete arg2;
16660 }
16661 return resultobj;
16662 fail:
16663 {
16664 if (temp2) delete arg2;
16665 }
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxDateTime *arg1 = (wxDateTime *) 0 ;
16673 wxDateTime::TimeZone *arg2 = 0 ;
16674 bool arg3 = (bool) False ;
16675 wxDateTime *result;
16676 bool temp2 = False ;
16677 PyObject * obj0 = 0 ;
16678 PyObject * obj1 = 0 ;
16679 PyObject * obj2 = 0 ;
16680 char *kwnames[] = {
16681 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16682 };
16683
16684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16686 {
16687 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16688 temp2 = True;
16689 }
16690 if (obj2) {
16691 arg3 = PyInt_AsLong(obj2) ? true : false;
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 {
16697 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16698 result = (wxDateTime *) &_result_ref;
16699 }
16700
16701 wxPyEndAllowThreads(__tstate);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 }
16704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16705 {
16706 if (temp2) delete arg2;
16707 }
16708 return resultobj;
16709 fail:
16710 {
16711 if (temp2) delete arg2;
16712 }
16713 return NULL;
16714 }
16715
16716
16717 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16718 PyObject *resultobj;
16719 wxDateTime *arg1 = (wxDateTime *) 0 ;
16720 bool arg2 = (bool) False ;
16721 wxDateTime result;
16722 PyObject * obj0 = 0 ;
16723 PyObject * obj1 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self",(char *) "noDST", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16730 if (obj1) {
16731 arg2 = PyInt_AsLong(obj1) ? true : false;
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 {
16735 PyThreadState* __tstate = wxPyBeginAllowThreads();
16736 result = (arg1)->ToGMT(arg2);
16737
16738 wxPyEndAllowThreads(__tstate);
16739 if (PyErr_Occurred()) SWIG_fail;
16740 }
16741 {
16742 wxDateTime * resultptr;
16743 resultptr = new wxDateTime((wxDateTime &) result);
16744 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16745 }
16746 return resultobj;
16747 fail:
16748 return NULL;
16749 }
16750
16751
16752 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj;
16754 wxDateTime *arg1 = (wxDateTime *) 0 ;
16755 bool arg2 = (bool) False ;
16756 wxDateTime *result;
16757 PyObject * obj0 = 0 ;
16758 PyObject * obj1 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "self",(char *) "noDST", NULL
16761 };
16762
16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16765 if (obj1) {
16766 arg2 = PyInt_AsLong(obj1) ? true : false;
16767 if (PyErr_Occurred()) SWIG_fail;
16768 }
16769 {
16770 PyThreadState* __tstate = wxPyBeginAllowThreads();
16771 {
16772 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
16773 result = (wxDateTime *) &_result_ref;
16774 }
16775
16776 wxPyEndAllowThreads(__tstate);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 }
16779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16780 return resultobj;
16781 fail:
16782 return NULL;
16783 }
16784
16785
16786 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj;
16788 wxDateTime *arg1 = (wxDateTime *) 0 ;
16789 int arg2 = (int) wxDateTime::Country_Default ;
16790 int result;
16791 PyObject * obj0 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self",(char *) "country", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
16797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
16801
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 resultobj = PyInt_FromLong((long)result);
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxDateTime *arg1 = (wxDateTime *) 0 ;
16815 bool result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (bool)((wxDateTime const *)arg1)->IsValid();
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 resultobj = PyInt_FromLong((long)result);
16831 return resultobj;
16832 fail:
16833 return NULL;
16834 }
16835
16836
16837 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxDateTime *arg1 = (wxDateTime *) 0 ;
16840 time_t result;
16841 PyObject * obj0 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 resultobj = PyInt_FromLong((long)result);
16856 return resultobj;
16857 fail:
16858 return NULL;
16859 }
16860
16861
16862 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16863 PyObject *resultobj;
16864 wxDateTime *arg1 = (wxDateTime *) 0 ;
16865 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16866 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16867 int result;
16868 bool temp2 = False ;
16869 PyObject * obj0 = 0 ;
16870 PyObject * obj1 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "self",(char *) "tz", NULL
16873 };
16874
16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
16876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16877 if (obj1) {
16878 {
16879 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16880 temp2 = True;
16881 }
16882 }
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 resultobj = PyInt_FromLong((long)result);
16891 {
16892 if (temp2) delete arg2;
16893 }
16894 return resultobj;
16895 fail:
16896 {
16897 if (temp2) delete arg2;
16898 }
16899 return NULL;
16900 }
16901
16902
16903 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxDateTime *arg1 = (wxDateTime *) 0 ;
16906 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16907 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16908 int result;
16909 bool temp2 = False ;
16910 PyObject * obj0 = 0 ;
16911 PyObject * obj1 = 0 ;
16912 char *kwnames[] = {
16913 (char *) "self",(char *) "tz", NULL
16914 };
16915
16916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
16917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16918 if (obj1) {
16919 {
16920 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16921 temp2 = True;
16922 }
16923 }
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 resultobj = PyInt_FromLong((long)result);
16932 {
16933 if (temp2) delete arg2;
16934 }
16935 return resultobj;
16936 fail:
16937 {
16938 if (temp2) delete arg2;
16939 }
16940 return NULL;
16941 }
16942
16943
16944 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj;
16946 wxDateTime *arg1 = (wxDateTime *) 0 ;
16947 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16948 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16949 int result;
16950 bool temp2 = False ;
16951 PyObject * obj0 = 0 ;
16952 PyObject * obj1 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self",(char *) "tz", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
16958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16959 if (obj1) {
16960 {
16961 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16962 temp2 = True;
16963 }
16964 }
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 resultobj = PyInt_FromLong((long)result);
16973 {
16974 if (temp2) delete arg2;
16975 }
16976 return resultobj;
16977 fail:
16978 {
16979 if (temp2) delete arg2;
16980 }
16981 return NULL;
16982 }
16983
16984
16985 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxDateTime *arg1 = (wxDateTime *) 0 ;
16988 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16989 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16990 int result;
16991 bool temp2 = False ;
16992 PyObject * obj0 = 0 ;
16993 PyObject * obj1 = 0 ;
16994 char *kwnames[] = {
16995 (char *) "self",(char *) "tz", NULL
16996 };
16997
16998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
16999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17000 if (obj1) {
17001 {
17002 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17003 temp2 = True;
17004 }
17005 }
17006 {
17007 PyThreadState* __tstate = wxPyBeginAllowThreads();
17008 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17009
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 resultobj = PyInt_FromLong((long)result);
17014 {
17015 if (temp2) delete arg2;
17016 }
17017 return resultobj;
17018 fail:
17019 {
17020 if (temp2) delete arg2;
17021 }
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxDateTime *arg1 = (wxDateTime *) 0 ;
17029 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17030 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17031 int result;
17032 bool temp2 = False ;
17033 PyObject * obj0 = 0 ;
17034 PyObject * obj1 = 0 ;
17035 char *kwnames[] = {
17036 (char *) "self",(char *) "tz", NULL
17037 };
17038
17039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17041 if (obj1) {
17042 {
17043 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17044 temp2 = True;
17045 }
17046 }
17047 {
17048 PyThreadState* __tstate = wxPyBeginAllowThreads();
17049 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17050
17051 wxPyEndAllowThreads(__tstate);
17052 if (PyErr_Occurred()) SWIG_fail;
17053 }
17054 resultobj = PyInt_FromLong((long)result);
17055 {
17056 if (temp2) delete arg2;
17057 }
17058 return resultobj;
17059 fail:
17060 {
17061 if (temp2) delete arg2;
17062 }
17063 return NULL;
17064 }
17065
17066
17067 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxDateTime *arg1 = (wxDateTime *) 0 ;
17070 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17071 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17072 int result;
17073 bool temp2 = False ;
17074 PyObject * obj0 = 0 ;
17075 PyObject * obj1 = 0 ;
17076 char *kwnames[] = {
17077 (char *) "self",(char *) "tz", NULL
17078 };
17079
17080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17082 if (obj1) {
17083 {
17084 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17085 temp2 = True;
17086 }
17087 }
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 resultobj = PyInt_FromLong((long)result);
17096 {
17097 if (temp2) delete arg2;
17098 }
17099 return resultobj;
17100 fail:
17101 {
17102 if (temp2) delete arg2;
17103 }
17104 return NULL;
17105 }
17106
17107
17108 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj;
17110 wxDateTime *arg1 = (wxDateTime *) 0 ;
17111 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17112 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17113 int result;
17114 bool temp2 = False ;
17115 PyObject * obj0 = 0 ;
17116 PyObject * obj1 = 0 ;
17117 char *kwnames[] = {
17118 (char *) "self",(char *) "tz", NULL
17119 };
17120
17121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17123 if (obj1) {
17124 {
17125 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17126 temp2 = True;
17127 }
17128 }
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 resultobj = PyInt_FromLong((long)result);
17137 {
17138 if (temp2) delete arg2;
17139 }
17140 return resultobj;
17141 fail:
17142 {
17143 if (temp2) delete arg2;
17144 }
17145 return NULL;
17146 }
17147
17148
17149 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17150 PyObject *resultobj;
17151 wxDateTime *arg1 = (wxDateTime *) 0 ;
17152 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17153 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17154 int result;
17155 bool temp2 = False ;
17156 PyObject * obj0 = 0 ;
17157 PyObject * obj1 = 0 ;
17158 char *kwnames[] = {
17159 (char *) "self",(char *) "tz", NULL
17160 };
17161
17162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17164 if (obj1) {
17165 {
17166 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17167 temp2 = True;
17168 }
17169 }
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17173
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 resultobj = PyInt_FromLong((long)result);
17178 {
17179 if (temp2) delete arg2;
17180 }
17181 return resultobj;
17182 fail:
17183 {
17184 if (temp2) delete arg2;
17185 }
17186 return NULL;
17187 }
17188
17189
17190 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17191 PyObject *resultobj;
17192 wxDateTime *arg1 = (wxDateTime *) 0 ;
17193 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17194 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17195 int result;
17196 bool temp2 = False ;
17197 PyObject * obj0 = 0 ;
17198 PyObject * obj1 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self",(char *) "tz", NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17205 if (obj1) {
17206 {
17207 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17208 temp2 = True;
17209 }
17210 }
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 resultobj = PyInt_FromLong((long)result);
17219 {
17220 if (temp2) delete arg2;
17221 }
17222 return resultobj;
17223 fail:
17224 {
17225 if (temp2) delete arg2;
17226 }
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxDateTime *arg1 = (wxDateTime *) 0 ;
17234 int arg2 = (int) wxDateTime::Monday_First ;
17235 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17236 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17237 int result;
17238 bool temp3 = False ;
17239 PyObject * obj0 = 0 ;
17240 PyObject * obj2 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "self",(char *) "flags",(char *) "tz", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17247 if (obj2) {
17248 {
17249 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17250 temp3 = True;
17251 }
17252 }
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 resultobj = PyInt_FromLong((long)result);
17261 {
17262 if (temp3) delete arg3;
17263 }
17264 return resultobj;
17265 fail:
17266 {
17267 if (temp3) delete arg3;
17268 }
17269 return NULL;
17270 }
17271
17272
17273 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj;
17275 wxDateTime *arg1 = (wxDateTime *) 0 ;
17276 int arg2 = (int) wxDateTime::Monday_First ;
17277 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17278 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17279 int result;
17280 bool temp3 = False ;
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj2 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "self",(char *) "flags",(char *) "tz", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17289 if (obj2) {
17290 {
17291 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17292 temp3 = True;
17293 }
17294 }
17295 {
17296 PyThreadState* __tstate = wxPyBeginAllowThreads();
17297 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17298
17299 wxPyEndAllowThreads(__tstate);
17300 if (PyErr_Occurred()) SWIG_fail;
17301 }
17302 resultobj = PyInt_FromLong((long)result);
17303 {
17304 if (temp3) delete arg3;
17305 }
17306 return resultobj;
17307 fail:
17308 {
17309 if (temp3) delete arg3;
17310 }
17311 return NULL;
17312 }
17313
17314
17315 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17316 PyObject *resultobj;
17317 wxDateTime *arg1 = (wxDateTime *) 0 ;
17318 int arg2 = (int) wxDateTime::Country_Default ;
17319 bool result;
17320 PyObject * obj0 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self",(char *) "country", NULL
17323 };
17324
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 resultobj = PyInt_FromLong((long)result);
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxDateTime *arg1 = (wxDateTime *) 0 ;
17344 wxDateTime *arg2 = 0 ;
17345 bool result;
17346 PyObject * obj0 = 0 ;
17347 PyObject * obj1 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self",(char *) "datetime", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17355 if (arg2 == NULL) {
17356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17357 }
17358 {
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17361
17362 wxPyEndAllowThreads(__tstate);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 resultobj = PyInt_FromLong((long)result);
17366 return resultobj;
17367 fail:
17368 return NULL;
17369 }
17370
17371
17372 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxDateTime *arg1 = (wxDateTime *) 0 ;
17375 wxDateTime *arg2 = 0 ;
17376 bool result;
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "datetime", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17386 if (arg2 == NULL) {
17387 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17388 }
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17392
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
17396 resultobj = PyInt_FromLong((long)result);
17397 return resultobj;
17398 fail:
17399 return NULL;
17400 }
17401
17402
17403 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxDateTime *arg1 = (wxDateTime *) 0 ;
17406 wxDateTime *arg2 = 0 ;
17407 bool result;
17408 PyObject * obj0 = 0 ;
17409 PyObject * obj1 = 0 ;
17410 char *kwnames[] = {
17411 (char *) "self",(char *) "datetime", NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17417 if (arg2 == NULL) {
17418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17419 }
17420 {
17421 PyThreadState* __tstate = wxPyBeginAllowThreads();
17422 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17423
17424 wxPyEndAllowThreads(__tstate);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
17427 resultobj = PyInt_FromLong((long)result);
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17435 PyObject *resultobj;
17436 wxDateTime *arg1 = (wxDateTime *) 0 ;
17437 wxDateTime *arg2 = 0 ;
17438 wxDateTime *arg3 = 0 ;
17439 bool result;
17440 PyObject * obj0 = 0 ;
17441 PyObject * obj1 = 0 ;
17442 PyObject * obj2 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "self",(char *) "t1",(char *) "t2", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17450 if (arg2 == NULL) {
17451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17452 }
17453 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17454 if (arg3 == NULL) {
17455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17456 }
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 resultobj = PyInt_FromLong((long)result);
17465 return resultobj;
17466 fail:
17467 return NULL;
17468 }
17469
17470
17471 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 wxDateTime *arg1 = (wxDateTime *) 0 ;
17474 wxDateTime *arg2 = 0 ;
17475 wxDateTime *arg3 = 0 ;
17476 bool result;
17477 PyObject * obj0 = 0 ;
17478 PyObject * obj1 = 0 ;
17479 PyObject * obj2 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "self",(char *) "t1",(char *) "t2", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17487 if (arg2 == NULL) {
17488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17489 }
17490 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17491 if (arg3 == NULL) {
17492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17493 }
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 resultobj = PyInt_FromLong((long)result);
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxDateTime *arg1 = (wxDateTime *) 0 ;
17511 wxDateTime *arg2 = 0 ;
17512 bool result;
17513 PyObject * obj0 = 0 ;
17514 PyObject * obj1 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self",(char *) "dt", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17522 if (arg2 == NULL) {
17523 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17524 }
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17528
17529 wxPyEndAllowThreads(__tstate);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 resultobj = PyInt_FromLong((long)result);
17533 return resultobj;
17534 fail:
17535 return NULL;
17536 }
17537
17538
17539 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17540 PyObject *resultobj;
17541 wxDateTime *arg1 = (wxDateTime *) 0 ;
17542 wxDateTime *arg2 = 0 ;
17543 bool result;
17544 PyObject * obj0 = 0 ;
17545 PyObject * obj1 = 0 ;
17546 char *kwnames[] = {
17547 (char *) "self",(char *) "dt", NULL
17548 };
17549
17550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17553 if (arg2 == NULL) {
17554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17555 }
17556 {
17557 PyThreadState* __tstate = wxPyBeginAllowThreads();
17558 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17559
17560 wxPyEndAllowThreads(__tstate);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
17563 resultobj = PyInt_FromLong((long)result);
17564 return resultobj;
17565 fail:
17566 return NULL;
17567 }
17568
17569
17570 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17571 PyObject *resultobj;
17572 wxDateTime *arg1 = (wxDateTime *) 0 ;
17573 wxDateTime *arg2 = 0 ;
17574 wxTimeSpan *arg3 = 0 ;
17575 bool result;
17576 PyObject * obj0 = 0 ;
17577 PyObject * obj1 = 0 ;
17578 PyObject * obj2 = 0 ;
17579 char *kwnames[] = {
17580 (char *) "self",(char *) "dt",(char *) "ts", NULL
17581 };
17582
17583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17586 if (arg2 == NULL) {
17587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17588 }
17589 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17590 if (arg3 == NULL) {
17591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17592 }
17593 {
17594 PyThreadState* __tstate = wxPyBeginAllowThreads();
17595 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17596
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 resultobj = PyInt_FromLong((long)result);
17601 return resultobj;
17602 fail:
17603 return NULL;
17604 }
17605
17606
17607 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxDateTime *arg1 = (wxDateTime *) 0 ;
17610 wxTimeSpan *arg2 = 0 ;
17611 wxDateTime *result;
17612 PyObject * obj0 = 0 ;
17613 PyObject * obj1 = 0 ;
17614 char *kwnames[] = {
17615 (char *) "self",(char *) "diff", NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17621 if (arg2 == NULL) {
17622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17623 }
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 {
17627 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17628 result = (wxDateTime *) &_result_ref;
17629 }
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17635 return resultobj;
17636 fail:
17637 return NULL;
17638 }
17639
17640
17641 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxDateTime *arg1 = (wxDateTime *) 0 ;
17644 wxDateSpan *arg2 = 0 ;
17645 wxDateTime *result;
17646 PyObject * obj0 = 0 ;
17647 PyObject * obj1 = 0 ;
17648 char *kwnames[] = {
17649 (char *) "self",(char *) "diff", NULL
17650 };
17651
17652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17655 if (arg2 == NULL) {
17656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17657 }
17658 {
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 {
17661 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17662 result = (wxDateTime *) &_result_ref;
17663 }
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
17668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17669 return resultobj;
17670 fail:
17671 return NULL;
17672 }
17673
17674
17675 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxDateTime *arg1 = (wxDateTime *) 0 ;
17678 wxTimeSpan *arg2 = 0 ;
17679 wxDateTime *result;
17680 PyObject * obj0 = 0 ;
17681 PyObject * obj1 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self",(char *) "diff", NULL
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17689 if (arg2 == NULL) {
17690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17691 }
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 {
17695 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17696 result = (wxDateTime *) &_result_ref;
17697 }
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17703 return resultobj;
17704 fail:
17705 return NULL;
17706 }
17707
17708
17709 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxDateTime *arg1 = (wxDateTime *) 0 ;
17712 wxDateSpan *arg2 = 0 ;
17713 wxDateTime *result;
17714 PyObject * obj0 = 0 ;
17715 PyObject * obj1 = 0 ;
17716 char *kwnames[] = {
17717 (char *) "self",(char *) "diff", NULL
17718 };
17719
17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 if (arg2 == NULL) {
17724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17725 }
17726 {
17727 PyThreadState* __tstate = wxPyBeginAllowThreads();
17728 {
17729 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17730 result = (wxDateTime *) &_result_ref;
17731 }
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17737 return resultobj;
17738 fail:
17739 return NULL;
17740 }
17741
17742
17743 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17744 PyObject *resultobj;
17745 wxDateTime *arg1 = (wxDateTime *) 0 ;
17746 wxDateTime *arg2 = 0 ;
17747 wxTimeSpan result;
17748 PyObject * obj0 = 0 ;
17749 PyObject * obj1 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "dt", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17757 if (arg2 == NULL) {
17758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17759 }
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
17768 wxTimeSpan * resultptr;
17769 resultptr = new wxTimeSpan((wxTimeSpan &) result);
17770 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
17771 }
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
17779 PyObject *resultobj;
17780 wxDateTime *arg1 = (wxDateTime *) 0 ;
17781 wxTimeSpan *arg2 = 0 ;
17782 wxDateTime *result;
17783 PyObject * obj0 = 0 ;
17784 PyObject * obj1 = 0 ;
17785
17786 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17789 if (arg2 == NULL) {
17790 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17791 }
17792 {
17793 PyThreadState* __tstate = wxPyBeginAllowThreads();
17794 {
17795 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
17796 result = (wxDateTime *) &_result_ref;
17797 }
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17803 return resultobj;
17804 fail:
17805 return NULL;
17806 }
17807
17808
17809 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
17810 PyObject *resultobj;
17811 wxDateTime *arg1 = (wxDateTime *) 0 ;
17812 wxDateSpan *arg2 = 0 ;
17813 wxDateTime *result;
17814 PyObject * obj0 = 0 ;
17815 PyObject * obj1 = 0 ;
17816
17817 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17820 if (arg2 == NULL) {
17821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17822 }
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 {
17826 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
17827 result = (wxDateTime *) &_result_ref;
17828 }
17829
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17834 return resultobj;
17835 fail:
17836 return NULL;
17837 }
17838
17839
17840 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
17841 int argc;
17842 PyObject *argv[3];
17843 int ii;
17844
17845 argc = PyObject_Length(args);
17846 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17847 argv[ii] = PyTuple_GetItem(args,ii);
17848 }
17849 if (argc == 2) {
17850 int _v;
17851 {
17852 void *ptr;
17853 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17854 _v = 0;
17855 PyErr_Clear();
17856 } else {
17857 _v = 1;
17858 }
17859 }
17860 if (_v) {
17861 {
17862 void *ptr;
17863 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17864 _v = 0;
17865 PyErr_Clear();
17866 } else {
17867 _v = 1;
17868 }
17869 }
17870 if (_v) {
17871 return _wrap_DateTime___iadd____SWIG_0(self,args);
17872 }
17873 }
17874 }
17875 if (argc == 2) {
17876 int _v;
17877 {
17878 void *ptr;
17879 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17880 _v = 0;
17881 PyErr_Clear();
17882 } else {
17883 _v = 1;
17884 }
17885 }
17886 if (_v) {
17887 {
17888 void *ptr;
17889 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
17890 _v = 0;
17891 PyErr_Clear();
17892 } else {
17893 _v = 1;
17894 }
17895 }
17896 if (_v) {
17897 return _wrap_DateTime___iadd____SWIG_1(self,args);
17898 }
17899 }
17900 }
17901
17902 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
17903 return NULL;
17904 }
17905
17906
17907 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
17908 PyObject *resultobj;
17909 wxDateTime *arg1 = (wxDateTime *) 0 ;
17910 wxTimeSpan *arg2 = 0 ;
17911 wxDateTime *result;
17912 PyObject * obj0 = 0 ;
17913 PyObject * obj1 = 0 ;
17914
17915 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
17916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17918 if (arg2 == NULL) {
17919 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17920 }
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 {
17924 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
17925 result = (wxDateTime *) &_result_ref;
17926 }
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
17939 PyObject *resultobj;
17940 wxDateTime *arg1 = (wxDateTime *) 0 ;
17941 wxDateSpan *arg2 = 0 ;
17942 wxDateTime *result;
17943 PyObject * obj0 = 0 ;
17944 PyObject * obj1 = 0 ;
17945
17946 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17949 if (arg2 == NULL) {
17950 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17951 }
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 {
17955 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
17956 result = (wxDateTime *) &_result_ref;
17957 }
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17963 return resultobj;
17964 fail:
17965 return NULL;
17966 }
17967
17968
17969 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
17970 int argc;
17971 PyObject *argv[3];
17972 int ii;
17973
17974 argc = PyObject_Length(args);
17975 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17976 argv[ii] = PyTuple_GetItem(args,ii);
17977 }
17978 if (argc == 2) {
17979 int _v;
17980 {
17981 void *ptr;
17982 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17983 _v = 0;
17984 PyErr_Clear();
17985 } else {
17986 _v = 1;
17987 }
17988 }
17989 if (_v) {
17990 {
17991 void *ptr;
17992 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17993 _v = 0;
17994 PyErr_Clear();
17995 } else {
17996 _v = 1;
17997 }
17998 }
17999 if (_v) {
18000 return _wrap_DateTime___isub____SWIG_0(self,args);
18001 }
18002 }
18003 }
18004 if (argc == 2) {
18005 int _v;
18006 {
18007 void *ptr;
18008 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18009 _v = 0;
18010 PyErr_Clear();
18011 } else {
18012 _v = 1;
18013 }
18014 }
18015 if (_v) {
18016 {
18017 void *ptr;
18018 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18019 _v = 0;
18020 PyErr_Clear();
18021 } else {
18022 _v = 1;
18023 }
18024 }
18025 if (_v) {
18026 return _wrap_DateTime___isub____SWIG_1(self,args);
18027 }
18028 }
18029 }
18030
18031 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18037 PyObject *resultobj;
18038 wxDateTime *arg1 = (wxDateTime *) 0 ;
18039 wxTimeSpan *arg2 = 0 ;
18040 wxDateTime result;
18041 PyObject * obj0 = 0 ;
18042 PyObject * obj1 = 0 ;
18043
18044 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18047 if (arg2 == NULL) {
18048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18049 }
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 {
18058 wxDateTime * resultptr;
18059 resultptr = new wxDateTime((wxDateTime &) result);
18060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18061 }
18062 return resultobj;
18063 fail:
18064 return NULL;
18065 }
18066
18067
18068 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18069 PyObject *resultobj;
18070 wxDateTime *arg1 = (wxDateTime *) 0 ;
18071 wxDateSpan *arg2 = 0 ;
18072 wxDateTime result;
18073 PyObject * obj0 = 0 ;
18074 PyObject * obj1 = 0 ;
18075
18076 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18079 if (arg2 == NULL) {
18080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18081 }
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 {
18090 wxDateTime * resultptr;
18091 resultptr = new wxDateTime((wxDateTime &) result);
18092 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18093 }
18094 return resultobj;
18095 fail:
18096 return NULL;
18097 }
18098
18099
18100 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18101 int argc;
18102 PyObject *argv[3];
18103 int ii;
18104
18105 argc = PyObject_Length(args);
18106 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18107 argv[ii] = PyTuple_GetItem(args,ii);
18108 }
18109 if (argc == 2) {
18110 int _v;
18111 {
18112 void *ptr;
18113 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18114 _v = 0;
18115 PyErr_Clear();
18116 } else {
18117 _v = 1;
18118 }
18119 }
18120 if (_v) {
18121 {
18122 void *ptr;
18123 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18124 _v = 0;
18125 PyErr_Clear();
18126 } else {
18127 _v = 1;
18128 }
18129 }
18130 if (_v) {
18131 return _wrap_DateTime___add____SWIG_0(self,args);
18132 }
18133 }
18134 }
18135 if (argc == 2) {
18136 int _v;
18137 {
18138 void *ptr;
18139 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18140 _v = 0;
18141 PyErr_Clear();
18142 } else {
18143 _v = 1;
18144 }
18145 }
18146 if (_v) {
18147 {
18148 void *ptr;
18149 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18150 _v = 0;
18151 PyErr_Clear();
18152 } else {
18153 _v = 1;
18154 }
18155 }
18156 if (_v) {
18157 return _wrap_DateTime___add____SWIG_1(self,args);
18158 }
18159 }
18160 }
18161
18162 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18163 return NULL;
18164 }
18165
18166
18167 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18168 PyObject *resultobj;
18169 wxDateTime *arg1 = (wxDateTime *) 0 ;
18170 wxDateTime *arg2 = 0 ;
18171 wxTimeSpan result;
18172 PyObject * obj0 = 0 ;
18173 PyObject * obj1 = 0 ;
18174
18175 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18178 if (arg2 == NULL) {
18179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18180 }
18181 {
18182 PyThreadState* __tstate = wxPyBeginAllowThreads();
18183 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18184
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
18188 {
18189 wxTimeSpan * resultptr;
18190 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18191 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18192 }
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18200 PyObject *resultobj;
18201 wxDateTime *arg1 = (wxDateTime *) 0 ;
18202 wxTimeSpan *arg2 = 0 ;
18203 wxDateTime result;
18204 PyObject * obj0 = 0 ;
18205 PyObject * obj1 = 0 ;
18206
18207 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18210 if (arg2 == NULL) {
18211 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18212 }
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18216
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 {
18221 wxDateTime * resultptr;
18222 resultptr = new wxDateTime((wxDateTime &) result);
18223 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18224 }
18225 return resultobj;
18226 fail:
18227 return NULL;
18228 }
18229
18230
18231 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18232 PyObject *resultobj;
18233 wxDateTime *arg1 = (wxDateTime *) 0 ;
18234 wxDateSpan *arg2 = 0 ;
18235 wxDateTime result;
18236 PyObject * obj0 = 0 ;
18237 PyObject * obj1 = 0 ;
18238
18239 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18242 if (arg2 == NULL) {
18243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 wxDateTime * resultptr;
18254 resultptr = new wxDateTime((wxDateTime &) result);
18255 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18256 }
18257 return resultobj;
18258 fail:
18259 return NULL;
18260 }
18261
18262
18263 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18264 int argc;
18265 PyObject *argv[3];
18266 int ii;
18267
18268 argc = PyObject_Length(args);
18269 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18270 argv[ii] = PyTuple_GetItem(args,ii);
18271 }
18272 if (argc == 2) {
18273 int _v;
18274 {
18275 void *ptr;
18276 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18277 _v = 0;
18278 PyErr_Clear();
18279 } else {
18280 _v = 1;
18281 }
18282 }
18283 if (_v) {
18284 {
18285 void *ptr;
18286 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18287 _v = 0;
18288 PyErr_Clear();
18289 } else {
18290 _v = 1;
18291 }
18292 }
18293 if (_v) {
18294 return _wrap_DateTime___sub____SWIG_0(self,args);
18295 }
18296 }
18297 }
18298 if (argc == 2) {
18299 int _v;
18300 {
18301 void *ptr;
18302 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18303 _v = 0;
18304 PyErr_Clear();
18305 } else {
18306 _v = 1;
18307 }
18308 }
18309 if (_v) {
18310 {
18311 void *ptr;
18312 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18313 _v = 0;
18314 PyErr_Clear();
18315 } else {
18316 _v = 1;
18317 }
18318 }
18319 if (_v) {
18320 return _wrap_DateTime___sub____SWIG_1(self,args);
18321 }
18322 }
18323 }
18324 if (argc == 2) {
18325 int _v;
18326 {
18327 void *ptr;
18328 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18329 _v = 0;
18330 PyErr_Clear();
18331 } else {
18332 _v = 1;
18333 }
18334 }
18335 if (_v) {
18336 {
18337 void *ptr;
18338 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18339 _v = 0;
18340 PyErr_Clear();
18341 } else {
18342 _v = 1;
18343 }
18344 }
18345 if (_v) {
18346 return _wrap_DateTime___sub____SWIG_2(self,args);
18347 }
18348 }
18349 }
18350
18351 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18352 return NULL;
18353 }
18354
18355
18356 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18357 PyObject *resultobj;
18358 wxDateTime *arg1 = (wxDateTime *) 0 ;
18359 wxDateTime *arg2 = 0 ;
18360 bool result;
18361 PyObject * obj0 = 0 ;
18362 PyObject * obj1 = 0 ;
18363
18364 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18367 if (arg2 == NULL) {
18368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18369 }
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 resultobj = PyInt_FromLong((long)result);
18378 return resultobj;
18379 fail:
18380 return NULL;
18381 }
18382
18383
18384 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18385 PyObject *resultobj;
18386 wxDateTime *arg1 = (wxDateTime *) 0 ;
18387 wxDateTime *arg2 = 0 ;
18388 bool result;
18389 PyObject * obj0 = 0 ;
18390 PyObject * obj1 = 0 ;
18391
18392 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18395 if (arg2 == NULL) {
18396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18397 }
18398 {
18399 PyThreadState* __tstate = wxPyBeginAllowThreads();
18400 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18401
18402 wxPyEndAllowThreads(__tstate);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 resultobj = PyInt_FromLong((long)result);
18406 return resultobj;
18407 fail:
18408 return NULL;
18409 }
18410
18411
18412 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18413 PyObject *resultobj;
18414 wxDateTime *arg1 = (wxDateTime *) 0 ;
18415 wxDateTime *arg2 = 0 ;
18416 bool result;
18417 PyObject * obj0 = 0 ;
18418 PyObject * obj1 = 0 ;
18419
18420 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18423 if (arg2 == NULL) {
18424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18425 }
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 resultobj = PyInt_FromLong((long)result);
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18441 PyObject *resultobj;
18442 wxDateTime *arg1 = (wxDateTime *) 0 ;
18443 wxDateTime *arg2 = 0 ;
18444 bool result;
18445 PyObject * obj0 = 0 ;
18446 PyObject * obj1 = 0 ;
18447
18448 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18451 if (arg2 == NULL) {
18452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18453 }
18454 {
18455 PyThreadState* __tstate = wxPyBeginAllowThreads();
18456 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18457
18458 wxPyEndAllowThreads(__tstate);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 resultobj = PyInt_FromLong((long)result);
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18469 PyObject *resultobj;
18470 wxDateTime *arg1 = (wxDateTime *) 0 ;
18471 wxDateTime *arg2 = 0 ;
18472 bool result;
18473 PyObject * obj0 = 0 ;
18474 PyObject * obj1 = 0 ;
18475
18476 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18479 if (arg2 == NULL) {
18480 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18481 }
18482 {
18483 PyThreadState* __tstate = wxPyBeginAllowThreads();
18484 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18485
18486 wxPyEndAllowThreads(__tstate);
18487 if (PyErr_Occurred()) SWIG_fail;
18488 }
18489 resultobj = PyInt_FromLong((long)result);
18490 return resultobj;
18491 fail:
18492 return NULL;
18493 }
18494
18495
18496 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18497 PyObject *resultobj;
18498 wxDateTime *arg1 = (wxDateTime *) 0 ;
18499 wxDateTime *arg2 = 0 ;
18500 bool result;
18501 PyObject * obj0 = 0 ;
18502 PyObject * obj1 = 0 ;
18503
18504 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18507 if (arg2 == NULL) {
18508 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 resultobj = PyInt_FromLong((long)result);
18518 return resultobj;
18519 fail:
18520 return NULL;
18521 }
18522
18523
18524 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxDateTime *arg1 = (wxDateTime *) 0 ;
18527 wxString *arg2 = 0 ;
18528 int result;
18529 bool temp2 = False ;
18530 PyObject * obj0 = 0 ;
18531 PyObject * obj1 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "self",(char *) "date", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18538 {
18539 arg2 = wxString_in_helper(obj1);
18540 if (arg2 == NULL) SWIG_fail;
18541 temp2 = True;
18542 }
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 resultobj = PyInt_FromLong((long)result);
18551 {
18552 if (temp2)
18553 delete arg2;
18554 }
18555 return resultobj;
18556 fail:
18557 {
18558 if (temp2)
18559 delete arg2;
18560 }
18561 return NULL;
18562 }
18563
18564
18565 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18566 PyObject *resultobj;
18567 wxDateTime *arg1 = (wxDateTime *) 0 ;
18568 wxString *arg2 = 0 ;
18569 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18570 wxString *arg3 = (wxString *) &arg3_defvalue ;
18571 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18572 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18573 int result;
18574 bool temp2 = False ;
18575 bool temp3 = False ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 PyObject * obj2 = 0 ;
18579 PyObject * obj3 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18586 {
18587 arg2 = wxString_in_helper(obj1);
18588 if (arg2 == NULL) SWIG_fail;
18589 temp2 = True;
18590 }
18591 if (obj2) {
18592 {
18593 arg3 = wxString_in_helper(obj2);
18594 if (arg3 == NULL) SWIG_fail;
18595 temp3 = True;
18596 }
18597 }
18598 if (obj3) {
18599 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18600 if (arg4 == NULL) {
18601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18602 }
18603 }
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 resultobj = PyInt_FromLong((long)result);
18612 {
18613 if (temp2)
18614 delete arg2;
18615 }
18616 {
18617 if (temp3)
18618 delete arg3;
18619 }
18620 return resultobj;
18621 fail:
18622 {
18623 if (temp2)
18624 delete arg2;
18625 }
18626 {
18627 if (temp3)
18628 delete arg3;
18629 }
18630 return NULL;
18631 }
18632
18633
18634 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj;
18636 wxDateTime *arg1 = (wxDateTime *) 0 ;
18637 wxString *arg2 = 0 ;
18638 int result;
18639 bool temp2 = False ;
18640 PyObject * obj0 = 0 ;
18641 PyObject * obj1 = 0 ;
18642 char *kwnames[] = {
18643 (char *) "self",(char *) "datetime", NULL
18644 };
18645
18646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18648 {
18649 arg2 = wxString_in_helper(obj1);
18650 if (arg2 == NULL) SWIG_fail;
18651 temp2 = True;
18652 }
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 resultobj = PyInt_FromLong((long)result);
18661 {
18662 if (temp2)
18663 delete arg2;
18664 }
18665 return resultobj;
18666 fail:
18667 {
18668 if (temp2)
18669 delete arg2;
18670 }
18671 return NULL;
18672 }
18673
18674
18675 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj;
18677 wxDateTime *arg1 = (wxDateTime *) 0 ;
18678 wxString *arg2 = 0 ;
18679 int result;
18680 bool temp2 = False ;
18681 PyObject * obj0 = 0 ;
18682 PyObject * obj1 = 0 ;
18683 char *kwnames[] = {
18684 (char *) "self",(char *) "date", NULL
18685 };
18686
18687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18689 {
18690 arg2 = wxString_in_helper(obj1);
18691 if (arg2 == NULL) SWIG_fail;
18692 temp2 = True;
18693 }
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 resultobj = PyInt_FromLong((long)result);
18702 {
18703 if (temp2)
18704 delete arg2;
18705 }
18706 return resultobj;
18707 fail:
18708 {
18709 if (temp2)
18710 delete arg2;
18711 }
18712 return NULL;
18713 }
18714
18715
18716 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxDateTime *arg1 = (wxDateTime *) 0 ;
18719 wxString *arg2 = 0 ;
18720 int result;
18721 bool temp2 = False ;
18722 PyObject * obj0 = 0 ;
18723 PyObject * obj1 = 0 ;
18724 char *kwnames[] = {
18725 (char *) "self",(char *) "time", NULL
18726 };
18727
18728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18730 {
18731 arg2 = wxString_in_helper(obj1);
18732 if (arg2 == NULL) SWIG_fail;
18733 temp2 = True;
18734 }
18735 {
18736 PyThreadState* __tstate = wxPyBeginAllowThreads();
18737 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18738
18739 wxPyEndAllowThreads(__tstate);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 resultobj = PyInt_FromLong((long)result);
18743 {
18744 if (temp2)
18745 delete arg2;
18746 }
18747 return resultobj;
18748 fail:
18749 {
18750 if (temp2)
18751 delete arg2;
18752 }
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxDateTime *arg1 = (wxDateTime *) 0 ;
18760 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18761 wxString *arg2 = (wxString *) &arg2_defvalue ;
18762 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18763 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18764 wxString result;
18765 bool temp2 = False ;
18766 bool temp3 = False ;
18767 PyObject * obj0 = 0 ;
18768 PyObject * obj1 = 0 ;
18769 PyObject * obj2 = 0 ;
18770 char *kwnames[] = {
18771 (char *) "self",(char *) "format",(char *) "tz", NULL
18772 };
18773
18774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
18775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18776 if (obj1) {
18777 {
18778 arg2 = wxString_in_helper(obj1);
18779 if (arg2 == NULL) SWIG_fail;
18780 temp2 = True;
18781 }
18782 }
18783 if (obj2) {
18784 {
18785 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
18786 temp3 = True;
18787 }
18788 }
18789 {
18790 PyThreadState* __tstate = wxPyBeginAllowThreads();
18791 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
18796 {
18797 #if wxUSE_UNICODE
18798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18799 #else
18800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18801 #endif
18802 }
18803 {
18804 if (temp2)
18805 delete arg2;
18806 }
18807 {
18808 if (temp3) delete arg3;
18809 }
18810 return resultobj;
18811 fail:
18812 {
18813 if (temp2)
18814 delete arg2;
18815 }
18816 {
18817 if (temp3) delete arg3;
18818 }
18819 return NULL;
18820 }
18821
18822
18823 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18824 PyObject *resultobj;
18825 wxDateTime *arg1 = (wxDateTime *) 0 ;
18826 wxString result;
18827 PyObject * obj0 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
18833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 result = ((wxDateTime const *)arg1)->FormatDate();
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 {
18842 #if wxUSE_UNICODE
18843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18844 #else
18845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18846 #endif
18847 }
18848 return resultobj;
18849 fail:
18850 return NULL;
18851 }
18852
18853
18854 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxDateTime *arg1 = (wxDateTime *) 0 ;
18857 wxString result;
18858 PyObject * obj0 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self", NULL
18861 };
18862
18863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
18864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18865 {
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 result = ((wxDateTime const *)arg1)->FormatTime();
18868
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 {
18873 #if wxUSE_UNICODE
18874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18875 #else
18876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18877 #endif
18878 }
18879 return resultobj;
18880 fail:
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxDateTime *arg1 = (wxDateTime *) 0 ;
18888 wxString result;
18889 PyObject * obj0 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18896 {
18897 PyThreadState* __tstate = wxPyBeginAllowThreads();
18898 result = ((wxDateTime const *)arg1)->FormatISODate();
18899
18900 wxPyEndAllowThreads(__tstate);
18901 if (PyErr_Occurred()) SWIG_fail;
18902 }
18903 {
18904 #if wxUSE_UNICODE
18905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18906 #else
18907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18908 #endif
18909 }
18910 return resultobj;
18911 fail:
18912 return NULL;
18913 }
18914
18915
18916 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18917 PyObject *resultobj;
18918 wxDateTime *arg1 = (wxDateTime *) 0 ;
18919 wxString result;
18920 PyObject * obj0 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "self", NULL
18923 };
18924
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
18926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18927 {
18928 PyThreadState* __tstate = wxPyBeginAllowThreads();
18929 result = ((wxDateTime const *)arg1)->FormatISOTime();
18930
18931 wxPyEndAllowThreads(__tstate);
18932 if (PyErr_Occurred()) SWIG_fail;
18933 }
18934 {
18935 #if wxUSE_UNICODE
18936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18937 #else
18938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18939 #endif
18940 }
18941 return resultobj;
18942 fail:
18943 return NULL;
18944 }
18945
18946
18947 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
18948 PyObject *obj;
18949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18950 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
18951 Py_INCREF(obj);
18952 return Py_BuildValue((char *)"");
18953 }
18954 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 long arg1 ;
18957 wxTimeSpan result;
18958 char *kwnames[] = {
18959 (char *) "sec", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 result = wxTimeSpan::Seconds(arg1);
18966
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 {
18971 wxTimeSpan * resultptr;
18972 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18973 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18974 }
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxTimeSpan result;
18984 char *kwnames[] = {
18985 NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = wxTimeSpan::Second();
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 {
18997 wxTimeSpan * resultptr;
18998 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18999 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19000 }
19001 return resultobj;
19002 fail:
19003 return NULL;
19004 }
19005
19006
19007 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19008 PyObject *resultobj;
19009 long arg1 ;
19010 wxTimeSpan result;
19011 char *kwnames[] = {
19012 (char *) "min", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19016 {
19017 PyThreadState* __tstate = wxPyBeginAllowThreads();
19018 result = wxTimeSpan::Minutes(arg1);
19019
19020 wxPyEndAllowThreads(__tstate);
19021 if (PyErr_Occurred()) SWIG_fail;
19022 }
19023 {
19024 wxTimeSpan * resultptr;
19025 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19026 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19027 }
19028 return resultobj;
19029 fail:
19030 return NULL;
19031 }
19032
19033
19034 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19035 PyObject *resultobj;
19036 wxTimeSpan result;
19037 char *kwnames[] = {
19038 NULL
19039 };
19040
19041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19042 {
19043 PyThreadState* __tstate = wxPyBeginAllowThreads();
19044 result = wxTimeSpan::Minute();
19045
19046 wxPyEndAllowThreads(__tstate);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 {
19050 wxTimeSpan * resultptr;
19051 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19052 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19053 }
19054 return resultobj;
19055 fail:
19056 return NULL;
19057 }
19058
19059
19060 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj;
19062 long arg1 ;
19063 wxTimeSpan result;
19064 char *kwnames[] = {
19065 (char *) "hours", NULL
19066 };
19067
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 result = wxTimeSpan::Hours(arg1);
19072
19073 wxPyEndAllowThreads(__tstate);
19074 if (PyErr_Occurred()) SWIG_fail;
19075 }
19076 {
19077 wxTimeSpan * resultptr;
19078 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19079 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19080 }
19081 return resultobj;
19082 fail:
19083 return NULL;
19084 }
19085
19086
19087 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19088 PyObject *resultobj;
19089 wxTimeSpan result;
19090 char *kwnames[] = {
19091 NULL
19092 };
19093
19094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 result = wxTimeSpan::Hour();
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 {
19103 wxTimeSpan * resultptr;
19104 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19105 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19106 }
19107 return resultobj;
19108 fail:
19109 return NULL;
19110 }
19111
19112
19113 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19114 PyObject *resultobj;
19115 long arg1 ;
19116 wxTimeSpan result;
19117 char *kwnames[] = {
19118 (char *) "days", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 result = wxTimeSpan::Days(arg1);
19125
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 {
19130 wxTimeSpan * resultptr;
19131 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19132 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19133 }
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxTimeSpan result;
19143 char *kwnames[] = {
19144 NULL
19145 };
19146
19147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19148 {
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 result = wxTimeSpan::Day();
19151
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 {
19156 wxTimeSpan * resultptr;
19157 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19158 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19159 }
19160 return resultobj;
19161 fail:
19162 return NULL;
19163 }
19164
19165
19166 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 long arg1 ;
19169 wxTimeSpan result;
19170 char *kwnames[] = {
19171 (char *) "days", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 result = wxTimeSpan::Weeks(arg1);
19178
19179 wxPyEndAllowThreads(__tstate);
19180 if (PyErr_Occurred()) SWIG_fail;
19181 }
19182 {
19183 wxTimeSpan * resultptr;
19184 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19185 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19186 }
19187 return resultobj;
19188 fail:
19189 return NULL;
19190 }
19191
19192
19193 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19194 PyObject *resultobj;
19195 wxTimeSpan result;
19196 char *kwnames[] = {
19197 NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 result = wxTimeSpan::Week();
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 {
19209 wxTimeSpan * resultptr;
19210 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19211 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19212 }
19213 return resultobj;
19214 fail:
19215 return NULL;
19216 }
19217
19218
19219 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 long arg1 = (long) 0 ;
19222 long arg2 = (long) 0 ;
19223 long arg3 = (long) 0 ;
19224 long arg4 = (long) 0 ;
19225 wxTimeSpan *result;
19226 char *kwnames[] = {
19227 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19228 };
19229
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19248 PyObject * obj0 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 delete arg1;
19258
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 Py_INCREF(Py_None); resultobj = Py_None;
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19272 wxTimeSpan *arg2 = 0 ;
19273 wxTimeSpan *result;
19274 PyObject * obj0 = 0 ;
19275 PyObject * obj1 = 0 ;
19276 char *kwnames[] = {
19277 (char *) "self",(char *) "diff", NULL
19278 };
19279
19280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 if (arg2 == NULL) {
19284 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19285 }
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 {
19289 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19290 result = (wxTimeSpan *) &_result_ref;
19291 }
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19297 return resultobj;
19298 fail:
19299 return NULL;
19300 }
19301
19302
19303 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19306 wxTimeSpan *arg2 = 0 ;
19307 wxTimeSpan *result;
19308 PyObject * obj0 = 0 ;
19309 PyObject * obj1 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self",(char *) "diff", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19317 if (arg2 == NULL) {
19318 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19319 }
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 {
19323 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19324 result = (wxTimeSpan *) &_result_ref;
19325 }
19326
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
19330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19331 return resultobj;
19332 fail:
19333 return NULL;
19334 }
19335
19336
19337 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19338 PyObject *resultobj;
19339 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19340 int arg2 ;
19341 wxTimeSpan *result;
19342 PyObject * obj0 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self",(char *) "n", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 {
19352 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19353 result = (wxTimeSpan *) &_result_ref;
19354 }
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19360 return resultobj;
19361 fail:
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19369 wxTimeSpan *result;
19370 PyObject * obj0 = 0 ;
19371 char *kwnames[] = {
19372 (char *) "self", NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19377 {
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 {
19380 wxTimeSpan &_result_ref = (arg1)->Neg();
19381 result = (wxTimeSpan *) &_result_ref;
19382 }
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19388 return resultobj;
19389 fail:
19390 return NULL;
19391 }
19392
19393
19394 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj;
19396 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19397 wxTimeSpan result;
19398 PyObject * obj0 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 result = ((wxTimeSpan const *)arg1)->Abs();
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 {
19413 wxTimeSpan * resultptr;
19414 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19415 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19416 }
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19426 wxTimeSpan *arg2 = 0 ;
19427 wxTimeSpan *result;
19428 PyObject * obj0 = 0 ;
19429 PyObject * obj1 = 0 ;
19430 char *kwnames[] = {
19431 (char *) "self",(char *) "diff", NULL
19432 };
19433
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19437 if (arg2 == NULL) {
19438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19439 }
19440 {
19441 PyThreadState* __tstate = wxPyBeginAllowThreads();
19442 {
19443 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19444 result = (wxTimeSpan *) &_result_ref;
19445 }
19446
19447 wxPyEndAllowThreads(__tstate);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 }
19450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19451 return resultobj;
19452 fail:
19453 return NULL;
19454 }
19455
19456
19457 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19458 PyObject *resultobj;
19459 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19460 wxTimeSpan *arg2 = 0 ;
19461 wxTimeSpan *result;
19462 PyObject * obj0 = 0 ;
19463 PyObject * obj1 = 0 ;
19464 char *kwnames[] = {
19465 (char *) "self",(char *) "diff", NULL
19466 };
19467
19468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19471 if (arg2 == NULL) {
19472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19473 }
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 {
19477 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19478 result = (wxTimeSpan *) &_result_ref;
19479 }
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19494 int arg2 ;
19495 wxTimeSpan *result;
19496 PyObject * obj0 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self",(char *) "n", NULL
19499 };
19500
19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 {
19506 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19507 result = (wxTimeSpan *) &_result_ref;
19508 }
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19514 return resultobj;
19515 fail:
19516 return NULL;
19517 }
19518
19519
19520 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj;
19522 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19523 wxTimeSpan *result;
19524 PyObject * obj0 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 {
19534 wxTimeSpan &_result_ref = (arg1)->operator -();
19535 result = (wxTimeSpan *) &_result_ref;
19536 }
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
19541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19542 return resultobj;
19543 fail:
19544 return NULL;
19545 }
19546
19547
19548 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj;
19550 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19551 wxTimeSpan *arg2 = 0 ;
19552 wxTimeSpan result;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "other", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19562 if (arg2 == NULL) {
19563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19564 }
19565 {
19566 PyThreadState* __tstate = wxPyBeginAllowThreads();
19567 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19568
19569 wxPyEndAllowThreads(__tstate);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
19572 {
19573 wxTimeSpan * resultptr;
19574 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19575 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19576 }
19577 return resultobj;
19578 fail:
19579 return NULL;
19580 }
19581
19582
19583 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19584 PyObject *resultobj;
19585 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19586 wxTimeSpan *arg2 = 0 ;
19587 wxTimeSpan result;
19588 PyObject * obj0 = 0 ;
19589 PyObject * obj1 = 0 ;
19590 char *kwnames[] = {
19591 (char *) "self",(char *) "other", NULL
19592 };
19593
19594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19597 if (arg2 == NULL) {
19598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19599 }
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 {
19608 wxTimeSpan * resultptr;
19609 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19610 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19611 }
19612 return resultobj;
19613 fail:
19614 return NULL;
19615 }
19616
19617
19618 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19621 int arg2 ;
19622 wxTimeSpan result;
19623 PyObject * obj0 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "n", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19630 {
19631 PyThreadState* __tstate = wxPyBeginAllowThreads();
19632 result = wxTimeSpan___mul__(arg1,arg2);
19633
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 {
19638 wxTimeSpan * resultptr;
19639 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19640 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19641 }
19642 return resultobj;
19643 fail:
19644 return NULL;
19645 }
19646
19647
19648 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj;
19650 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19651 int arg2 ;
19652 wxTimeSpan result;
19653 PyObject * obj0 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self",(char *) "n", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 result = wxTimeSpan___rmul__(arg1,arg2);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 {
19668 wxTimeSpan * resultptr;
19669 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19670 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19671 }
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19681 wxTimeSpan *arg2 = 0 ;
19682 bool result;
19683 PyObject * obj0 = 0 ;
19684 PyObject * obj1 = 0 ;
19685 char *kwnames[] = {
19686 (char *) "self",(char *) "other", NULL
19687 };
19688
19689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19692 if (arg2 == NULL) {
19693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19694 }
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 resultobj = PyInt_FromLong((long)result);
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19712 wxTimeSpan *arg2 = 0 ;
19713 bool result;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "other", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19723 if (arg2 == NULL) {
19724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19725 }
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 resultobj = PyInt_FromLong((long)result);
19734 return resultobj;
19735 fail:
19736 return NULL;
19737 }
19738
19739
19740 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj;
19742 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19743 wxTimeSpan *arg2 = 0 ;
19744 bool result;
19745 PyObject * obj0 = 0 ;
19746 PyObject * obj1 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self",(char *) "other", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19754 if (arg2 == NULL) {
19755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19756 }
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19760
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 resultobj = PyInt_FromLong((long)result);
19765 return resultobj;
19766 fail:
19767 return NULL;
19768 }
19769
19770
19771 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
19772 PyObject *resultobj;
19773 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19774 wxTimeSpan *arg2 = 0 ;
19775 bool result;
19776 PyObject * obj0 = 0 ;
19777 PyObject * obj1 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "other", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
19783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19785 if (arg2 == NULL) {
19786 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19787 }
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 resultobj = PyInt_FromLong((long)result);
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19805 wxTimeSpan *arg2 = 0 ;
19806 bool result;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "other", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 if (arg2 == NULL) {
19817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19818 }
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 resultobj = PyInt_FromLong((long)result);
19827 return resultobj;
19828 fail:
19829 return NULL;
19830 }
19831
19832
19833 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19836 wxTimeSpan *arg2 = 0 ;
19837 bool result;
19838 PyObject * obj0 = 0 ;
19839 PyObject * obj1 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self",(char *) "other", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
19845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 if (arg2 == NULL) {
19848 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 resultobj = PyInt_FromLong((long)result);
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19867 bool result;
19868 PyObject * obj0 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 resultobj = PyInt_FromLong((long)result);
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19892 bool result;
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
19899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19900 {
19901 PyThreadState* __tstate = wxPyBeginAllowThreads();
19902 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
19903
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 resultobj = PyInt_FromLong((long)result);
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj;
19916 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19917 bool result;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
19924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 resultobj = PyInt_FromLong((long)result);
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19942 wxTimeSpan *arg2 = 0 ;
19943 bool result;
19944 PyObject * obj0 = 0 ;
19945 PyObject * obj1 = 0 ;
19946 char *kwnames[] = {
19947 (char *) "self",(char *) "ts", NULL
19948 };
19949
19950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19952 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19953 if (arg2 == NULL) {
19954 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19955 }
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
19959
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 resultobj = PyInt_FromLong((long)result);
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19971 PyObject *resultobj;
19972 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19973 wxTimeSpan *arg2 = 0 ;
19974 bool result;
19975 PyObject * obj0 = 0 ;
19976 PyObject * obj1 = 0 ;
19977 char *kwnames[] = {
19978 (char *) "self",(char *) "ts", NULL
19979 };
19980
19981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
19982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19984 if (arg2 == NULL) {
19985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19986 }
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
19990
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 resultobj = PyInt_FromLong((long)result);
19995 return resultobj;
19996 fail:
19997 return NULL;
19998 }
19999
20000
20001 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj;
20003 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20004 wxTimeSpan *arg2 = 0 ;
20005 bool result;
20006 PyObject * obj0 = 0 ;
20007 PyObject * obj1 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self",(char *) "t", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 if (arg2 == NULL) {
20016 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20017 }
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20021
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 resultobj = PyInt_FromLong((long)result);
20026 return resultobj;
20027 fail:
20028 return NULL;
20029 }
20030
20031
20032 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20035 int result;
20036 PyObject * obj0 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20043 {
20044 PyThreadState* __tstate = wxPyBeginAllowThreads();
20045 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20046
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 resultobj = PyInt_FromLong((long)result);
20051 return resultobj;
20052 fail:
20053 return NULL;
20054 }
20055
20056
20057 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20060 int result;
20061 PyObject * obj0 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 resultobj = PyInt_FromLong((long)result);
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20085 int result;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20096
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 resultobj = PyInt_FromLong((long)result);
20101 return resultobj;
20102 fail:
20103 return NULL;
20104 }
20105
20106
20107 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj;
20109 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20110 int result;
20111 PyObject * obj0 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 resultobj = PyInt_FromLong((long)result);
20126 return resultobj;
20127 fail:
20128 return NULL;
20129 }
20130
20131
20132 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj;
20134 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20135 wxLongLong result;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 {
20151 PyObject *hi, *lo, *shifter, *shifted;
20152 hi = PyLong_FromLong( (&result)->GetHi() );
20153 lo = PyLong_FromLong( (&result)->GetLo() );
20154 shifter = PyLong_FromLong(32);
20155 shifted = PyNumber_Lshift(hi, shifter);
20156 resultobj = PyNumber_Or(shifted, lo);
20157 Py_DECREF(hi);
20158 Py_DECREF(lo);
20159 Py_DECREF(shifter);
20160 Py_DECREF(shifted);
20161 }
20162 return resultobj;
20163 fail:
20164 return NULL;
20165 }
20166
20167
20168 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj;
20170 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20171 wxLongLong result;
20172 PyObject * obj0 = 0 ;
20173 char *kwnames[] = {
20174 (char *) "self", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20182
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 {
20187 PyObject *hi, *lo, *shifter, *shifted;
20188 hi = PyLong_FromLong( (&result)->GetHi() );
20189 lo = PyLong_FromLong( (&result)->GetLo() );
20190 shifter = PyLong_FromLong(32);
20191 shifted = PyNumber_Lshift(hi, shifter);
20192 resultobj = PyNumber_Or(shifted, lo);
20193 Py_DECREF(hi);
20194 Py_DECREF(lo);
20195 Py_DECREF(shifter);
20196 Py_DECREF(shifted);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20207 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20208 wxString *arg2 = (wxString *) &arg2_defvalue ;
20209 wxString result;
20210 bool temp2 = False ;
20211 PyObject * obj0 = 0 ;
20212 PyObject * obj1 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self",(char *) "format", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20219 if (obj1) {
20220 {
20221 arg2 = wxString_in_helper(obj1);
20222 if (arg2 == NULL) SWIG_fail;
20223 temp2 = True;
20224 }
20225 }
20226 {
20227 PyThreadState* __tstate = wxPyBeginAllowThreads();
20228 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20229
20230 wxPyEndAllowThreads(__tstate);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 }
20233 {
20234 #if wxUSE_UNICODE
20235 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20236 #else
20237 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20238 #endif
20239 }
20240 {
20241 if (temp2)
20242 delete arg2;
20243 }
20244 return resultobj;
20245 fail:
20246 {
20247 if (temp2)
20248 delete arg2;
20249 }
20250 return NULL;
20251 }
20252
20253
20254 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20255 PyObject *obj;
20256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20257 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20258 Py_INCREF(obj);
20259 return Py_BuildValue((char *)"");
20260 }
20261 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 int arg1 = (int) 0 ;
20264 int arg2 = (int) 0 ;
20265 int arg3 = (int) 0 ;
20266 int arg4 = (int) 0 ;
20267 wxDateSpan *result;
20268 char *kwnames[] = {
20269 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20281 return resultobj;
20282 fail:
20283 return NULL;
20284 }
20285
20286
20287 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20288 PyObject *resultobj;
20289 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20290 PyObject * obj0 = 0 ;
20291 char *kwnames[] = {
20292 (char *) "self", NULL
20293 };
20294
20295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20297 {
20298 PyThreadState* __tstate = wxPyBeginAllowThreads();
20299 delete arg1;
20300
20301 wxPyEndAllowThreads(__tstate);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 }
20304 Py_INCREF(Py_None); resultobj = Py_None;
20305 return resultobj;
20306 fail:
20307 return NULL;
20308 }
20309
20310
20311 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj;
20313 int arg1 ;
20314 wxDateSpan result;
20315 char *kwnames[] = {
20316 (char *) "days", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = wxDateSpan::Days(arg1);
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 {
20328 wxDateSpan * resultptr;
20329 resultptr = new wxDateSpan((wxDateSpan &) result);
20330 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20331 }
20332 return resultobj;
20333 fail:
20334 return NULL;
20335 }
20336
20337
20338 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20339 PyObject *resultobj;
20340 wxDateSpan result;
20341 char *kwnames[] = {
20342 NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = wxDateSpan::Day();
20349
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 {
20354 wxDateSpan * resultptr;
20355 resultptr = new wxDateSpan((wxDateSpan &) result);
20356 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20357 }
20358 return resultobj;
20359 fail:
20360 return NULL;
20361 }
20362
20363
20364 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj;
20366 int arg1 ;
20367 wxDateSpan result;
20368 char *kwnames[] = {
20369 (char *) "weeks", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20373 {
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 result = wxDateSpan::Weeks(arg1);
20376
20377 wxPyEndAllowThreads(__tstate);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 {
20381 wxDateSpan * resultptr;
20382 resultptr = new wxDateSpan((wxDateSpan &) result);
20383 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20384 }
20385 return resultobj;
20386 fail:
20387 return NULL;
20388 }
20389
20390
20391 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20392 PyObject *resultobj;
20393 wxDateSpan result;
20394 char *kwnames[] = {
20395 NULL
20396 };
20397
20398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20399 {
20400 PyThreadState* __tstate = wxPyBeginAllowThreads();
20401 result = wxDateSpan::Week();
20402
20403 wxPyEndAllowThreads(__tstate);
20404 if (PyErr_Occurred()) SWIG_fail;
20405 }
20406 {
20407 wxDateSpan * resultptr;
20408 resultptr = new wxDateSpan((wxDateSpan &) result);
20409 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20410 }
20411 return resultobj;
20412 fail:
20413 return NULL;
20414 }
20415
20416
20417 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20418 PyObject *resultobj;
20419 int arg1 ;
20420 wxDateSpan result;
20421 char *kwnames[] = {
20422 (char *) "mon", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 result = wxDateSpan::Months(arg1);
20429
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 {
20434 wxDateSpan * resultptr;
20435 resultptr = new wxDateSpan((wxDateSpan &) result);
20436 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20437 }
20438 return resultobj;
20439 fail:
20440 return NULL;
20441 }
20442
20443
20444 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20445 PyObject *resultobj;
20446 wxDateSpan result;
20447 char *kwnames[] = {
20448 NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 result = wxDateSpan::Month();
20455
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 {
20460 wxDateSpan * resultptr;
20461 resultptr = new wxDateSpan((wxDateSpan &) result);
20462 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20463 }
20464 return resultobj;
20465 fail:
20466 return NULL;
20467 }
20468
20469
20470 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20471 PyObject *resultobj;
20472 int arg1 ;
20473 wxDateSpan result;
20474 char *kwnames[] = {
20475 (char *) "years", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20479 {
20480 PyThreadState* __tstate = wxPyBeginAllowThreads();
20481 result = wxDateSpan::Years(arg1);
20482
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 {
20487 wxDateSpan * resultptr;
20488 resultptr = new wxDateSpan((wxDateSpan &) result);
20489 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20490 }
20491 return resultobj;
20492 fail:
20493 return NULL;
20494 }
20495
20496
20497 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj;
20499 wxDateSpan result;
20500 char *kwnames[] = {
20501 NULL
20502 };
20503
20504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20505 {
20506 PyThreadState* __tstate = wxPyBeginAllowThreads();
20507 result = wxDateSpan::Year();
20508
20509 wxPyEndAllowThreads(__tstate);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 }
20512 {
20513 wxDateSpan * resultptr;
20514 resultptr = new wxDateSpan((wxDateSpan &) result);
20515 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20516 }
20517 return resultobj;
20518 fail:
20519 return NULL;
20520 }
20521
20522
20523 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20526 int arg2 ;
20527 wxDateSpan *result;
20528 PyObject * obj0 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self",(char *) "n", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 {
20538 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20539 result = (wxDateSpan *) &_result_ref;
20540 }
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20555 int arg2 ;
20556 wxDateSpan *result;
20557 PyObject * obj0 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self",(char *) "n", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 {
20567 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20568 result = (wxDateSpan *) &_result_ref;
20569 }
20570
20571 wxPyEndAllowThreads(__tstate);
20572 if (PyErr_Occurred()) SWIG_fail;
20573 }
20574 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20575 return resultobj;
20576 fail:
20577 return NULL;
20578 }
20579
20580
20581 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20582 PyObject *resultobj;
20583 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20584 int arg2 ;
20585 wxDateSpan *result;
20586 PyObject * obj0 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "self",(char *) "n", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 {
20596 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20597 result = (wxDateSpan *) &_result_ref;
20598 }
20599
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20604 return resultobj;
20605 fail:
20606 return NULL;
20607 }
20608
20609
20610 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20613 int arg2 ;
20614 wxDateSpan *result;
20615 PyObject * obj0 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self",(char *) "n", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 {
20625 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20626 result = (wxDateSpan *) &_result_ref;
20627 }
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20642 int result;
20643 PyObject * obj0 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "self", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = (int)((wxDateSpan const *)arg1)->GetYears();
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 resultobj = PyInt_FromLong((long)result);
20658 return resultobj;
20659 fail:
20660 return NULL;
20661 }
20662
20663
20664 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20667 int result;
20668 PyObject * obj0 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "self", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 resultobj = PyInt_FromLong((long)result);
20683 return resultobj;
20684 fail:
20685 return NULL;
20686 }
20687
20688
20689 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20692 int result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20703
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 resultobj = PyInt_FromLong((long)result);
20708 return resultobj;
20709 fail:
20710 return NULL;
20711 }
20712
20713
20714 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20715 PyObject *resultobj;
20716 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20717 int result;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = (int)((wxDateSpan const *)arg1)->GetDays();
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 resultobj = PyInt_FromLong((long)result);
20733 return resultobj;
20734 fail:
20735 return NULL;
20736 }
20737
20738
20739 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20740 PyObject *resultobj;
20741 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20742 int result;
20743 PyObject * obj0 = 0 ;
20744 char *kwnames[] = {
20745 (char *) "self", NULL
20746 };
20747
20748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20750 {
20751 PyThreadState* __tstate = wxPyBeginAllowThreads();
20752 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20753
20754 wxPyEndAllowThreads(__tstate);
20755 if (PyErr_Occurred()) SWIG_fail;
20756 }
20757 resultobj = PyInt_FromLong((long)result);
20758 return resultobj;
20759 fail:
20760 return NULL;
20761 }
20762
20763
20764 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20765 PyObject *resultobj;
20766 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20767 wxDateSpan *arg2 = 0 ;
20768 wxDateSpan *result;
20769 PyObject * obj0 = 0 ;
20770 PyObject * obj1 = 0 ;
20771 char *kwnames[] = {
20772 (char *) "self",(char *) "other", NULL
20773 };
20774
20775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20778 if (arg2 == NULL) {
20779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20780 }
20781 {
20782 PyThreadState* __tstate = wxPyBeginAllowThreads();
20783 {
20784 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20785 result = (wxDateSpan *) &_result_ref;
20786 }
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20792 return resultobj;
20793 fail:
20794 return NULL;
20795 }
20796
20797
20798 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20799 PyObject *resultobj;
20800 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20801 wxDateSpan *arg2 = 0 ;
20802 wxDateSpan *result;
20803 PyObject * obj0 = 0 ;
20804 PyObject * obj1 = 0 ;
20805 char *kwnames[] = {
20806 (char *) "self",(char *) "other", NULL
20807 };
20808
20809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
20810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20812 if (arg2 == NULL) {
20813 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20814 }
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 {
20818 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20819 result = (wxDateSpan *) &_result_ref;
20820 }
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20826 return resultobj;
20827 fail:
20828 return NULL;
20829 }
20830
20831
20832 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20835 wxDateSpan *result;
20836 PyObject * obj0 = 0 ;
20837 char *kwnames[] = {
20838 (char *) "self", NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
20842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20843 {
20844 PyThreadState* __tstate = wxPyBeginAllowThreads();
20845 {
20846 wxDateSpan &_result_ref = (arg1)->Neg();
20847 result = (wxDateSpan *) &_result_ref;
20848 }
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20854 return resultobj;
20855 fail:
20856 return NULL;
20857 }
20858
20859
20860 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20863 int arg2 ;
20864 wxDateSpan *result;
20865 PyObject * obj0 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self",(char *) "factor", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 {
20875 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
20876 result = (wxDateSpan *) &_result_ref;
20877 }
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20883 return resultobj;
20884 fail:
20885 return NULL;
20886 }
20887
20888
20889 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20892 wxDateSpan *arg2 = 0 ;
20893 wxDateSpan *result;
20894 PyObject * obj0 = 0 ;
20895 PyObject * obj1 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self",(char *) "other", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20903 if (arg2 == NULL) {
20904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20905 }
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 {
20909 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20910 result = (wxDateSpan *) &_result_ref;
20911 }
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20917 return resultobj;
20918 fail:
20919 return NULL;
20920 }
20921
20922
20923 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20926 wxDateSpan *arg2 = 0 ;
20927 wxDateSpan *result;
20928 PyObject * obj0 = 0 ;
20929 PyObject * obj1 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self",(char *) "other", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20937 if (arg2 == NULL) {
20938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20939 }
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 {
20943 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20944 result = (wxDateSpan *) &_result_ref;
20945 }
20946
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20951 return resultobj;
20952 fail:
20953 return NULL;
20954 }
20955
20956
20957 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
20958 PyObject *resultobj;
20959 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20960 wxDateSpan *result;
20961 PyObject * obj0 = 0 ;
20962 char *kwnames[] = {
20963 (char *) "self", NULL
20964 };
20965
20966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
20967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 {
20971 wxDateSpan &_result_ref = (arg1)->operator -();
20972 result = (wxDateSpan *) &_result_ref;
20973 }
20974
20975 wxPyEndAllowThreads(__tstate);
20976 if (PyErr_Occurred()) SWIG_fail;
20977 }
20978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20979 return resultobj;
20980 fail:
20981 return NULL;
20982 }
20983
20984
20985 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
20986 PyObject *resultobj;
20987 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20988 int arg2 ;
20989 wxDateSpan *result;
20990 PyObject * obj0 = 0 ;
20991 char *kwnames[] = {
20992 (char *) "self",(char *) "factor", NULL
20993 };
20994
20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
20996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 {
21000 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21001 result = (wxDateSpan *) &_result_ref;
21002 }
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21017 wxDateSpan *arg2 = 0 ;
21018 wxDateSpan result;
21019 PyObject * obj0 = 0 ;
21020 PyObject * obj1 = 0 ;
21021 char *kwnames[] = {
21022 (char *) "self",(char *) "other", NULL
21023 };
21024
21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21028 if (arg2 == NULL) {
21029 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21030 }
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 {
21039 wxDateSpan * resultptr;
21040 resultptr = new wxDateSpan((wxDateSpan &) result);
21041 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21042 }
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21052 wxDateSpan *arg2 = 0 ;
21053 wxDateSpan result;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self",(char *) "other", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21063 if (arg2 == NULL) {
21064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21065 }
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 {
21074 wxDateSpan * resultptr;
21075 resultptr = new wxDateSpan((wxDateSpan &) result);
21076 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21077 }
21078 return resultobj;
21079 fail:
21080 return NULL;
21081 }
21082
21083
21084 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21085 PyObject *resultobj;
21086 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21087 int arg2 ;
21088 wxDateSpan result;
21089 PyObject * obj0 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "self",(char *) "n", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 result = wxDateSpan___mul__(arg1,arg2);
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 {
21104 wxDateSpan * resultptr;
21105 resultptr = new wxDateSpan((wxDateSpan &) result);
21106 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21107 }
21108 return resultobj;
21109 fail:
21110 return NULL;
21111 }
21112
21113
21114 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21115 PyObject *resultobj;
21116 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21117 int arg2 ;
21118 wxDateSpan result;
21119 PyObject * obj0 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self",(char *) "n", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21126 {
21127 PyThreadState* __tstate = wxPyBeginAllowThreads();
21128 result = wxDateSpan___rmul__(arg1,arg2);
21129
21130 wxPyEndAllowThreads(__tstate);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 {
21134 wxDateSpan * resultptr;
21135 resultptr = new wxDateSpan((wxDateSpan &) result);
21136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21137 }
21138 return resultobj;
21139 fail:
21140 return NULL;
21141 }
21142
21143
21144 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj;
21146 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21147 wxDateSpan *arg2 = 0 ;
21148 bool result;
21149 PyObject * obj0 = 0 ;
21150 PyObject * obj1 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "self",(char *) "other", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21158 if (arg2 == NULL) {
21159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21160 }
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 resultobj = PyInt_FromLong((long)result);
21169 return resultobj;
21170 fail:
21171 return NULL;
21172 }
21173
21174
21175 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21178 wxDateSpan *arg2 = 0 ;
21179 bool result;
21180 PyObject * obj0 = 0 ;
21181 PyObject * obj1 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "other", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21189 if (arg2 == NULL) {
21190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21191 }
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 resultobj = PyInt_FromLong((long)result);
21200 return resultobj;
21201 fail:
21202 return NULL;
21203 }
21204
21205
21206 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21207 PyObject *obj;
21208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21209 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21210 Py_INCREF(obj);
21211 return Py_BuildValue((char *)"");
21212 }
21213 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj;
21215 long result;
21216 char *kwnames[] = {
21217 NULL
21218 };
21219
21220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = (long)wxGetLocalTime();
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 resultobj = PyInt_FromLong((long)result);
21229 return resultobj;
21230 fail:
21231 return NULL;
21232 }
21233
21234
21235 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21236 PyObject *resultobj;
21237 long result;
21238 char *kwnames[] = {
21239 NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21243 {
21244 PyThreadState* __tstate = wxPyBeginAllowThreads();
21245 result = (long)wxGetUTCTime();
21246
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 resultobj = PyInt_FromLong((long)result);
21251 return resultobj;
21252 fail:
21253 return NULL;
21254 }
21255
21256
21257 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21258 PyObject *resultobj;
21259 long result;
21260 char *kwnames[] = {
21261 NULL
21262 };
21263
21264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21265 {
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 result = (long)wxGetCurrentTime();
21268
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 resultobj = PyInt_FromLong((long)result);
21273 return resultobj;
21274 fail:
21275 return NULL;
21276 }
21277
21278
21279 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxLongLong result;
21282 char *kwnames[] = {
21283 NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 result = wxGetLocalTimeMillis();
21290
21291 wxPyEndAllowThreads(__tstate);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 }
21294 {
21295 PyObject *hi, *lo, *shifter, *shifted;
21296 hi = PyLong_FromLong( (&result)->GetHi() );
21297 lo = PyLong_FromLong( (&result)->GetLo() );
21298 shifter = PyLong_FromLong(32);
21299 shifted = PyNumber_Lshift(hi, shifter);
21300 resultobj = PyNumber_Or(shifted, lo);
21301 Py_DECREF(hi);
21302 Py_DECREF(lo);
21303 Py_DECREF(shifter);
21304 Py_DECREF(shifted);
21305 }
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 int arg1 ;
21315 wxDataFormat *result;
21316 char *kwnames[] = {
21317 (char *) "type", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21321 {
21322 PyThreadState* __tstate = wxPyBeginAllowThreads();
21323 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21324
21325 wxPyEndAllowThreads(__tstate);
21326 if (PyErr_Occurred()) SWIG_fail;
21327 }
21328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21329 return resultobj;
21330 fail:
21331 return NULL;
21332 }
21333
21334
21335 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21336 PyObject *resultobj;
21337 wxString *arg1 = 0 ;
21338 wxDataFormat *result;
21339 bool temp1 = False ;
21340 PyObject * obj0 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "format", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21346 {
21347 arg1 = wxString_in_helper(obj0);
21348 if (arg1 == NULL) SWIG_fail;
21349 temp1 = True;
21350 }
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21359 {
21360 if (temp1)
21361 delete arg1;
21362 }
21363 return resultobj;
21364 fail:
21365 {
21366 if (temp1)
21367 delete arg1;
21368 }
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21376 PyObject * obj0 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 delete arg1;
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 Py_INCREF(Py_None); resultobj = Py_None;
21391 return resultobj;
21392 fail:
21393 return NULL;
21394 }
21395
21396
21397 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21398 PyObject *resultobj;
21399 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21400 int arg2 ;
21401 bool result;
21402 PyObject * obj0 = 0 ;
21403
21404 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21409
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 resultobj = PyInt_FromLong((long)result);
21414 return resultobj;
21415 fail:
21416 return NULL;
21417 }
21418
21419
21420 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21421 PyObject *resultobj;
21422 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21423 int arg2 ;
21424 bool result;
21425 PyObject * obj0 = 0 ;
21426
21427 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 resultobj = PyInt_FromLong((long)result);
21437 return resultobj;
21438 fail:
21439 return NULL;
21440 }
21441
21442
21443 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21444 PyObject *resultobj;
21445 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21446 wxDataFormat *arg2 = 0 ;
21447 bool result;
21448 PyObject * obj0 = 0 ;
21449 PyObject * obj1 = 0 ;
21450
21451 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21454 if (arg2 == NULL) {
21455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21456 }
21457 {
21458 PyThreadState* __tstate = wxPyBeginAllowThreads();
21459 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21460
21461 wxPyEndAllowThreads(__tstate);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 }
21464 resultobj = PyInt_FromLong((long)result);
21465 return resultobj;
21466 fail:
21467 return NULL;
21468 }
21469
21470
21471 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21472 int argc;
21473 PyObject *argv[3];
21474 int ii;
21475
21476 argc = PyObject_Length(args);
21477 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21478 argv[ii] = PyTuple_GetItem(args,ii);
21479 }
21480 if (argc == 2) {
21481 int _v;
21482 {
21483 void *ptr;
21484 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21485 _v = 0;
21486 PyErr_Clear();
21487 } else {
21488 _v = 1;
21489 }
21490 }
21491 if (_v) {
21492 {
21493 void *ptr;
21494 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21495 _v = 0;
21496 PyErr_Clear();
21497 } else {
21498 _v = 1;
21499 }
21500 }
21501 if (_v) {
21502 return _wrap_DataFormat___eq____SWIG_1(self,args);
21503 }
21504 }
21505 }
21506 if (argc == 2) {
21507 int _v;
21508 {
21509 void *ptr;
21510 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21511 _v = 0;
21512 PyErr_Clear();
21513 } else {
21514 _v = 1;
21515 }
21516 }
21517 if (_v) {
21518 {
21519 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21520 }
21521 if (_v) {
21522 return _wrap_DataFormat___eq____SWIG_0(self,args);
21523 }
21524 }
21525 }
21526
21527 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21528 return NULL;
21529 }
21530
21531
21532 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21533 PyObject *resultobj;
21534 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21535 wxDataFormat *arg2 = 0 ;
21536 bool result;
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539
21540 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21543 if (arg2 == NULL) {
21544 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21545 }
21546 {
21547 PyThreadState* __tstate = wxPyBeginAllowThreads();
21548 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21549
21550 wxPyEndAllowThreads(__tstate);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 resultobj = PyInt_FromLong((long)result);
21554 return resultobj;
21555 fail:
21556 return NULL;
21557 }
21558
21559
21560 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21561 int argc;
21562 PyObject *argv[3];
21563 int ii;
21564
21565 argc = PyObject_Length(args);
21566 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21567 argv[ii] = PyTuple_GetItem(args,ii);
21568 }
21569 if (argc == 2) {
21570 int _v;
21571 {
21572 void *ptr;
21573 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21574 _v = 0;
21575 PyErr_Clear();
21576 } else {
21577 _v = 1;
21578 }
21579 }
21580 if (_v) {
21581 {
21582 void *ptr;
21583 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21584 _v = 0;
21585 PyErr_Clear();
21586 } else {
21587 _v = 1;
21588 }
21589 }
21590 if (_v) {
21591 return _wrap_DataFormat___ne____SWIG_1(self,args);
21592 }
21593 }
21594 }
21595 if (argc == 2) {
21596 int _v;
21597 {
21598 void *ptr;
21599 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21600 _v = 0;
21601 PyErr_Clear();
21602 } else {
21603 _v = 1;
21604 }
21605 }
21606 if (_v) {
21607 {
21608 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21609 }
21610 if (_v) {
21611 return _wrap_DataFormat___ne____SWIG_0(self,args);
21612 }
21613 }
21614 }
21615
21616 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21617 return NULL;
21618 }
21619
21620
21621 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21622 PyObject *resultobj;
21623 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21624 int arg2 ;
21625 PyObject * obj0 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self",(char *) "format", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 (arg1)->SetType((wxDataFormatId )arg2);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 Py_INCREF(Py_None); resultobj = Py_None;
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21649 int result;
21650 PyObject * obj0 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 result = (int)((wxDataFormat const *)arg1)->GetType();
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 resultobj = PyInt_FromLong((long)result);
21665 return resultobj;
21666 fail:
21667 return NULL;
21668 }
21669
21670
21671 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21672 PyObject *resultobj;
21673 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21674 wxString result;
21675 PyObject * obj0 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21682 {
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = ((wxDataFormat const *)arg1)->GetId();
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 {
21690 #if wxUSE_UNICODE
21691 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21692 #else
21693 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21694 #endif
21695 }
21696 return resultobj;
21697 fail:
21698 return NULL;
21699 }
21700
21701
21702 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21703 PyObject *resultobj;
21704 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21705 wxString *arg2 = 0 ;
21706 bool temp2 = False ;
21707 PyObject * obj0 = 0 ;
21708 PyObject * obj1 = 0 ;
21709 char *kwnames[] = {
21710 (char *) "self",(char *) "format", NULL
21711 };
21712
21713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21715 {
21716 arg2 = wxString_in_helper(obj1);
21717 if (arg2 == NULL) SWIG_fail;
21718 temp2 = True;
21719 }
21720 {
21721 PyThreadState* __tstate = wxPyBeginAllowThreads();
21722 (arg1)->SetId((wxString const &)*arg2);
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 Py_INCREF(Py_None); resultobj = Py_None;
21728 {
21729 if (temp2)
21730 delete arg2;
21731 }
21732 return resultobj;
21733 fail:
21734 {
21735 if (temp2)
21736 delete arg2;
21737 }
21738 return NULL;
21739 }
21740
21741
21742 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21743 PyObject *obj;
21744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21745 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21746 Py_INCREF(obj);
21747 return Py_BuildValue((char *)"");
21748 }
21749 static int _wrap_FormatInvalid_set(PyObject *_val) {
21750 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21751 return 1;
21752 }
21753
21754
21755 static PyObject *_wrap_FormatInvalid_get() {
21756 PyObject *pyobj;
21757
21758 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21759 return pyobj;
21760 }
21761
21762
21763 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxDataObject *arg1 = (wxDataObject *) 0 ;
21766 PyObject * obj0 = 0 ;
21767 char *kwnames[] = {
21768 (char *) "self", NULL
21769 };
21770
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
21772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 delete arg1;
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 Py_INCREF(Py_None); resultobj = Py_None;
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxDataObject *arg1 = (wxDataObject *) 0 ;
21790 int arg2 = (int) wxDataObject::Get ;
21791 SwigValueWrapper< wxDataFormat > result;
21792 PyObject * obj0 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "dir", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21799 {
21800 PyThreadState* __tstate = wxPyBeginAllowThreads();
21801 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
21802
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 {
21807 wxDataFormat * resultptr;
21808 resultptr = new wxDataFormat((wxDataFormat &) result);
21809 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
21810 }
21811 return resultobj;
21812 fail:
21813 return NULL;
21814 }
21815
21816
21817 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21818 PyObject *resultobj;
21819 wxDataObject *arg1 = (wxDataObject *) 0 ;
21820 int arg2 = (int) wxDataObject::Get ;
21821 size_t result;
21822 PyObject * obj0 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self",(char *) "dir", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
21828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21829 {
21830 PyThreadState* __tstate = wxPyBeginAllowThreads();
21831 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
21832
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
21836 resultobj = PyInt_FromLong((long)result);
21837 return resultobj;
21838 fail:
21839 return NULL;
21840 }
21841
21842
21843 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
21844 PyObject *resultobj;
21845 wxDataObject *arg1 = (wxDataObject *) 0 ;
21846 wxDataFormat *arg2 = 0 ;
21847 int arg3 = (int) wxDataObject::Get ;
21848 bool result;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "format",(char *) "dir", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
21856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21858 if (arg2 == NULL) {
21859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21860 }
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 resultobj = PyInt_FromLong((long)result);
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxDataObject *arg1 = (wxDataObject *) 0 ;
21878 wxDataFormat *arg2 = 0 ;
21879 size_t result;
21880 PyObject * obj0 = 0 ;
21881 PyObject * obj1 = 0 ;
21882 char *kwnames[] = {
21883 (char *) "self",(char *) "format", NULL
21884 };
21885
21886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
21887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21889 if (arg2 == NULL) {
21890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21891 }
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 resultobj = PyInt_FromLong((long)result);
21900 return resultobj;
21901 fail:
21902 return NULL;
21903 }
21904
21905
21906 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
21907 PyObject *resultobj;
21908 wxDataObject *arg1 = (wxDataObject *) 0 ;
21909 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
21910 int arg3 = (int) wxDataObject::Get ;
21911 PyObject * obj0 = 0 ;
21912 PyObject * obj1 = 0 ;
21913 char *kwnames[] = {
21914 (char *) "self",(char *) "formats",(char *) "dir", NULL
21915 };
21916
21917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
21918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21920 {
21921 PyThreadState* __tstate = wxPyBeginAllowThreads();
21922 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
21923
21924 wxPyEndAllowThreads(__tstate);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 }
21927 Py_INCREF(Py_None); resultobj = Py_None;
21928 return resultobj;
21929 fail:
21930 return NULL;
21931 }
21932
21933
21934 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
21935 PyObject *resultobj;
21936 wxDataObject *arg1 = (wxDataObject *) 0 ;
21937 wxDataFormat *arg2 = 0 ;
21938 void *arg3 = (void *) 0 ;
21939 bool result;
21940 PyObject * obj0 = 0 ;
21941 PyObject * obj1 = 0 ;
21942 PyObject * obj2 = 0 ;
21943 char *kwnames[] = {
21944 (char *) "self",(char *) "format",(char *) "buf", NULL
21945 };
21946
21947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
21948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21950 if (arg2 == NULL) {
21951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21952 }
21953 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21954 {
21955 PyThreadState* __tstate = wxPyBeginAllowThreads();
21956 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
21957
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 resultobj = PyInt_FromLong((long)result);
21962 return resultobj;
21963 fail:
21964 return NULL;
21965 }
21966
21967
21968 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj;
21970 wxDataObject *arg1 = (wxDataObject *) 0 ;
21971 wxDataFormat *arg2 = 0 ;
21972 size_t arg3 ;
21973 void *arg4 = (void *) 0 ;
21974 bool result;
21975 PyObject * obj0 = 0 ;
21976 PyObject * obj1 = 0 ;
21977 PyObject * obj2 = 0 ;
21978 PyObject * obj3 = 0 ;
21979 char *kwnames[] = {
21980 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
21981 };
21982
21983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21986 if (arg2 == NULL) {
21987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21988 }
21989 arg3 = (size_t) PyInt_AsLong(obj2);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21992 {
21993 PyThreadState* __tstate = wxPyBeginAllowThreads();
21994 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
21995
21996 wxPyEndAllowThreads(__tstate);
21997 if (PyErr_Occurred()) SWIG_fail;
21998 }
21999 resultobj = PyInt_FromLong((long)result);
22000 return resultobj;
22001 fail:
22002 return NULL;
22003 }
22004
22005
22006 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22007 PyObject *obj;
22008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22009 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22010 Py_INCREF(obj);
22011 return Py_BuildValue((char *)"");
22012 }
22013 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22014 PyObject *resultobj;
22015 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22016 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22017 wxDataObjectSimple *result;
22018 PyObject * obj0 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "format", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22024 if (obj0) {
22025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22026 if (arg1 == NULL) {
22027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22028 }
22029 }
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22033
22034 wxPyEndAllowThreads(__tstate);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22038 return resultobj;
22039 fail:
22040 return NULL;
22041 }
22042
22043
22044 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22047 wxDataFormat *result;
22048 PyObject * obj0 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22055 {
22056 PyThreadState* __tstate = wxPyBeginAllowThreads();
22057 {
22058 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22059 result = (wxDataFormat *) &_result_ref;
22060 }
22061
22062 wxPyEndAllowThreads(__tstate);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 }
22065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22066 return resultobj;
22067 fail:
22068 return NULL;
22069 }
22070
22071
22072 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22073 PyObject *resultobj;
22074 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22075 wxDataFormat *arg2 = 0 ;
22076 PyObject * obj0 = 0 ;
22077 PyObject * obj1 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self",(char *) "format", NULL
22080 };
22081
22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22085 if (arg2 == NULL) {
22086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22087 }
22088 {
22089 PyThreadState* __tstate = wxPyBeginAllowThreads();
22090 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22091
22092 wxPyEndAllowThreads(__tstate);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 }
22095 Py_INCREF(Py_None); resultobj = Py_None;
22096 return resultobj;
22097 fail:
22098 return NULL;
22099 }
22100
22101
22102 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22103 PyObject *obj;
22104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22105 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22106 Py_INCREF(obj);
22107 return Py_BuildValue((char *)"");
22108 }
22109 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj;
22111 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22112 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22113 wxPyDataObjectSimple *result;
22114 PyObject * obj0 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "format", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22120 if (obj0) {
22121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22122 if (arg1 == NULL) {
22123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22124 }
22125 }
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22143 PyObject *arg2 = (PyObject *) 0 ;
22144 PyObject *arg3 = (PyObject *) 0 ;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 PyObject * obj2 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self",(char *) "self",(char *) "_class", NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22154 arg2 = obj1;
22155 arg3 = obj2;
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 (arg1)->_setCallbackInfo(arg2,arg3);
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 Py_INCREF(Py_None); resultobj = Py_None;
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22171 PyObject *obj;
22172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22173 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22174 Py_INCREF(obj);
22175 return Py_BuildValue((char *)"");
22176 }
22177 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22178 PyObject *resultobj;
22179 wxDataObjectComposite *result;
22180 char *kwnames[] = {
22181 NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22188
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22193 return resultobj;
22194 fail:
22195 return NULL;
22196 }
22197
22198
22199 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj;
22201 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22202 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22203 int arg3 = (int) False ;
22204 PyObject * obj0 = 0 ;
22205 PyObject * obj1 = 0 ;
22206 char *kwnames[] = {
22207 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22208 };
22209
22210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 (arg1)->Add(arg2,arg3);
22216
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
22220 Py_INCREF(Py_None); resultobj = Py_None;
22221 return resultobj;
22222 fail:
22223 return NULL;
22224 }
22225
22226
22227 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22228 PyObject *obj;
22229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22230 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22231 Py_INCREF(obj);
22232 return Py_BuildValue((char *)"");
22233 }
22234 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22235 PyObject *resultobj;
22236 wxString const &arg1_defvalue = wxPyEmptyString ;
22237 wxString *arg1 = (wxString *) &arg1_defvalue ;
22238 wxTextDataObject *result;
22239 bool temp1 = False ;
22240 PyObject * obj0 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "text", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22246 if (obj0) {
22247 {
22248 arg1 = wxString_in_helper(obj0);
22249 if (arg1 == NULL) SWIG_fail;
22250 temp1 = True;
22251 }
22252 }
22253 {
22254 PyThreadState* __tstate = wxPyBeginAllowThreads();
22255 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22256
22257 wxPyEndAllowThreads(__tstate);
22258 if (PyErr_Occurred()) SWIG_fail;
22259 }
22260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22261 {
22262 if (temp1)
22263 delete arg1;
22264 }
22265 return resultobj;
22266 fail:
22267 {
22268 if (temp1)
22269 delete arg1;
22270 }
22271 return NULL;
22272 }
22273
22274
22275 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22278 size_t result;
22279 PyObject * obj0 = 0 ;
22280 char *kwnames[] = {
22281 (char *) "self", NULL
22282 };
22283
22284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 result = (size_t)(arg1)->GetTextLength();
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 resultobj = PyInt_FromLong((long)result);
22294 return resultobj;
22295 fail:
22296 return NULL;
22297 }
22298
22299
22300 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj;
22302 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22303 wxString result;
22304 PyObject * obj0 = 0 ;
22305 char *kwnames[] = {
22306 (char *) "self", NULL
22307 };
22308
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22311 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 result = (arg1)->GetText();
22314
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 {
22319 #if wxUSE_UNICODE
22320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22321 #else
22322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22323 #endif
22324 }
22325 return resultobj;
22326 fail:
22327 return NULL;
22328 }
22329
22330
22331 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj;
22333 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22334 wxString *arg2 = 0 ;
22335 bool temp2 = False ;
22336 PyObject * obj0 = 0 ;
22337 PyObject * obj1 = 0 ;
22338 char *kwnames[] = {
22339 (char *) "self",(char *) "text", NULL
22340 };
22341
22342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22344 {
22345 arg2 = wxString_in_helper(obj1);
22346 if (arg2 == NULL) SWIG_fail;
22347 temp2 = True;
22348 }
22349 {
22350 PyThreadState* __tstate = wxPyBeginAllowThreads();
22351 (arg1)->SetText((wxString const &)*arg2);
22352
22353 wxPyEndAllowThreads(__tstate);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 }
22356 Py_INCREF(Py_None); resultobj = Py_None;
22357 {
22358 if (temp2)
22359 delete arg2;
22360 }
22361 return resultobj;
22362 fail:
22363 {
22364 if (temp2)
22365 delete arg2;
22366 }
22367 return NULL;
22368 }
22369
22370
22371 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22372 PyObject *obj;
22373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22374 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22375 Py_INCREF(obj);
22376 return Py_BuildValue((char *)"");
22377 }
22378 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj;
22380 wxString const &arg1_defvalue = wxPyEmptyString ;
22381 wxString *arg1 = (wxString *) &arg1_defvalue ;
22382 wxPyTextDataObject *result;
22383 bool temp1 = False ;
22384 PyObject * obj0 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "text", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22390 if (obj0) {
22391 {
22392 arg1 = wxString_in_helper(obj0);
22393 if (arg1 == NULL) SWIG_fail;
22394 temp1 = True;
22395 }
22396 }
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22405 {
22406 if (temp1)
22407 delete arg1;
22408 }
22409 return resultobj;
22410 fail:
22411 {
22412 if (temp1)
22413 delete arg1;
22414 }
22415 return NULL;
22416 }
22417
22418
22419 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22420 PyObject *resultobj;
22421 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22422 PyObject *arg2 = (PyObject *) 0 ;
22423 PyObject *arg3 = (PyObject *) 0 ;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 PyObject * obj2 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self",(char *) "self",(char *) "_class", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22433 arg2 = obj1;
22434 arg3 = obj2;
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 (arg1)->_setCallbackInfo(arg2,arg3);
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 Py_INCREF(Py_None); resultobj = Py_None;
22443 return resultobj;
22444 fail:
22445 return NULL;
22446 }
22447
22448
22449 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22450 PyObject *obj;
22451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22452 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22453 Py_INCREF(obj);
22454 return Py_BuildValue((char *)"");
22455 }
22456 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22457 PyObject *resultobj;
22458 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22459 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22460 wxBitmapDataObject *result;
22461 PyObject * obj0 = 0 ;
22462 char *kwnames[] = {
22463 (char *) "bitmap", NULL
22464 };
22465
22466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22467 if (obj0) {
22468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22469 if (arg1 == NULL) {
22470 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22471 }
22472 }
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22476
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22481 return resultobj;
22482 fail:
22483 return NULL;
22484 }
22485
22486
22487 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22488 PyObject *resultobj;
22489 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22490 wxBitmap result;
22491 PyObject * obj0 = 0 ;
22492 char *kwnames[] = {
22493 (char *) "self", NULL
22494 };
22495
22496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22498 {
22499 PyThreadState* __tstate = wxPyBeginAllowThreads();
22500 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22501
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 {
22506 wxBitmap * resultptr;
22507 resultptr = new wxBitmap((wxBitmap &) result);
22508 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22509 }
22510 return resultobj;
22511 fail:
22512 return NULL;
22513 }
22514
22515
22516 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22517 PyObject *resultobj;
22518 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22519 wxBitmap *arg2 = 0 ;
22520 PyObject * obj0 = 0 ;
22521 PyObject * obj1 = 0 ;
22522 char *kwnames[] = {
22523 (char *) "self",(char *) "bitmap", NULL
22524 };
22525
22526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22529 if (arg2 == NULL) {
22530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22531 }
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 Py_INCREF(Py_None); resultobj = Py_None;
22540 return resultobj;
22541 fail:
22542 return NULL;
22543 }
22544
22545
22546 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22547 PyObject *obj;
22548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22549 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22550 Py_INCREF(obj);
22551 return Py_BuildValue((char *)"");
22552 }
22553 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22554 PyObject *resultobj;
22555 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22556 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22557 wxPyBitmapDataObject *result;
22558 PyObject * obj0 = 0 ;
22559 char *kwnames[] = {
22560 (char *) "bitmap", NULL
22561 };
22562
22563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22564 if (obj0) {
22565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22566 if (arg1 == NULL) {
22567 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22568 }
22569 }
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22578 return resultobj;
22579 fail:
22580 return NULL;
22581 }
22582
22583
22584 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22585 PyObject *resultobj;
22586 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22587 PyObject *arg2 = (PyObject *) 0 ;
22588 PyObject *arg3 = (PyObject *) 0 ;
22589 PyObject * obj0 = 0 ;
22590 PyObject * obj1 = 0 ;
22591 PyObject * obj2 = 0 ;
22592 char *kwnames[] = {
22593 (char *) "self",(char *) "self",(char *) "_class", NULL
22594 };
22595
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22598 arg2 = obj1;
22599 arg3 = obj2;
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 (arg1)->_setCallbackInfo(arg2,arg3);
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 Py_INCREF(Py_None); resultobj = Py_None;
22608 return resultobj;
22609 fail:
22610 return NULL;
22611 }
22612
22613
22614 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22615 PyObject *obj;
22616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22617 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22618 Py_INCREF(obj);
22619 return Py_BuildValue((char *)"");
22620 }
22621 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj;
22623 wxFileDataObject *result;
22624 char *kwnames[] = {
22625 NULL
22626 };
22627
22628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 result = (wxFileDataObject *)new wxFileDataObject();
22632
22633 wxPyEndAllowThreads(__tstate);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 }
22636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22637 return resultobj;
22638 fail:
22639 return NULL;
22640 }
22641
22642
22643 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22644 PyObject *resultobj;
22645 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22646 wxArrayString *result;
22647 PyObject * obj0 = 0 ;
22648 char *kwnames[] = {
22649 (char *) "self", NULL
22650 };
22651
22652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22654 {
22655 PyThreadState* __tstate = wxPyBeginAllowThreads();
22656 {
22657 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22658 result = (wxArrayString *) &_result_ref;
22659 }
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 {
22665 resultobj = wxArrayString2PyList_helper(*result);
22666 }
22667 return resultobj;
22668 fail:
22669 return NULL;
22670 }
22671
22672
22673 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22674 PyObject *obj;
22675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22676 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22677 Py_INCREF(obj);
22678 return Py_BuildValue((char *)"");
22679 }
22680 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22681 PyObject *resultobj;
22682 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22683 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22684 wxCustomDataObject *result;
22685 PyObject * obj0 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "format", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22691 if (obj0) {
22692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22693 if (arg1 == NULL) {
22694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22695 }
22696 }
22697 {
22698 PyThreadState* __tstate = wxPyBeginAllowThreads();
22699 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22700
22701 wxPyEndAllowThreads(__tstate);
22702 if (PyErr_Occurred()) SWIG_fail;
22703 }
22704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22705 return resultobj;
22706 fail:
22707 return NULL;
22708 }
22709
22710
22711 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22712 PyObject *resultobj;
22713 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22714 PyObject *arg2 = (PyObject *) 0 ;
22715 PyObject * obj0 = 0 ;
22716 PyObject * obj1 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self",(char *) "data", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22723 arg2 = obj1;
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 wxCustomDataObject_TakeData(arg1,arg2);
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 Py_INCREF(Py_None); resultobj = Py_None;
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22741 PyObject *arg2 = (PyObject *) 0 ;
22742 bool result;
22743 PyObject * obj0 = 0 ;
22744 PyObject * obj1 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self",(char *) "data", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22751 arg2 = obj1;
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 resultobj = PyInt_FromLong((long)result);
22760 return resultobj;
22761 fail:
22762 return NULL;
22763 }
22764
22765
22766 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj;
22768 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22769 size_t result;
22770 PyObject * obj0 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "self", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
22776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22777 {
22778 PyThreadState* __tstate = wxPyBeginAllowThreads();
22779 result = (size_t)(arg1)->GetSize();
22780
22781 wxPyEndAllowThreads(__tstate);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 resultobj = PyInt_FromLong((long)result);
22785 return resultobj;
22786 fail:
22787 return NULL;
22788 }
22789
22790
22791 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22792 PyObject *resultobj;
22793 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22794 PyObject *result;
22795 PyObject * obj0 = 0 ;
22796 char *kwnames[] = {
22797 (char *) "self", NULL
22798 };
22799
22800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
22801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22802 {
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 result = (PyObject *)wxCustomDataObject_GetData(arg1);
22805
22806 wxPyEndAllowThreads(__tstate);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 resultobj = result;
22810 return resultobj;
22811 fail:
22812 return NULL;
22813 }
22814
22815
22816 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
22817 PyObject *obj;
22818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22819 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
22820 Py_INCREF(obj);
22821 return Py_BuildValue((char *)"");
22822 }
22823 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22824 PyObject *resultobj;
22825 wxURLDataObject *result;
22826 char *kwnames[] = {
22827 NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = (wxURLDataObject *)new wxURLDataObject();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
22839 return resultobj;
22840 fail:
22841 return NULL;
22842 }
22843
22844
22845 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22848 wxString result;
22849 PyObject * obj0 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
22855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = (arg1)->GetURL();
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 {
22864 #if wxUSE_UNICODE
22865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22866 #else
22867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22868 #endif
22869 }
22870 return resultobj;
22871 fail:
22872 return NULL;
22873 }
22874
22875
22876 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22877 PyObject *resultobj;
22878 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22879 wxString *arg2 = 0 ;
22880 bool temp2 = False ;
22881 PyObject * obj0 = 0 ;
22882 PyObject * obj1 = 0 ;
22883 char *kwnames[] = {
22884 (char *) "self",(char *) "url", NULL
22885 };
22886
22887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
22888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22889 {
22890 arg2 = wxString_in_helper(obj1);
22891 if (arg2 == NULL) SWIG_fail;
22892 temp2 = True;
22893 }
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 (arg1)->SetURL((wxString const &)*arg2);
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 Py_INCREF(Py_None); resultobj = Py_None;
22902 {
22903 if (temp2)
22904 delete arg2;
22905 }
22906 return resultobj;
22907 fail:
22908 {
22909 if (temp2)
22910 delete arg2;
22911 }
22912 return NULL;
22913 }
22914
22915
22916 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
22917 PyObject *obj;
22918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22919 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
22920 Py_INCREF(obj);
22921 return Py_BuildValue((char *)"");
22922 }
22923 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22924 PyObject *resultobj;
22925 wxMetafileDataObject *result;
22926 char *kwnames[] = {
22927 NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
22931 {
22932 PyThreadState* __tstate = wxPyBeginAllowThreads();
22933 result = (wxMetafileDataObject *)new wxMetafileDataObject();
22934
22935 wxPyEndAllowThreads(__tstate);
22936 if (PyErr_Occurred()) SWIG_fail;
22937 }
22938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
22939 return resultobj;
22940 fail:
22941 return NULL;
22942 }
22943
22944
22945 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
22946 PyObject *obj;
22947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22948 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
22949 Py_INCREF(obj);
22950 return Py_BuildValue((char *)"");
22951 }
22952 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 int arg1 ;
22955 bool result;
22956 char *kwnames[] = {
22957 (char *) "res", NULL
22958 };
22959
22960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
22961 {
22962 PyThreadState* __tstate = wxPyBeginAllowThreads();
22963 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
22964
22965 wxPyEndAllowThreads(__tstate);
22966 if (PyErr_Occurred()) SWIG_fail;
22967 }
22968 resultobj = PyInt_FromLong((long)result);
22969 return resultobj;
22970 fail:
22971 return NULL;
22972 }
22973
22974
22975 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxWindow *arg1 = (wxWindow *) NULL ;
22978 wxIcon const &arg2_defvalue = wxNullIcon ;
22979 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
22980 wxIcon const &arg3_defvalue = wxNullIcon ;
22981 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
22982 wxIcon const &arg4_defvalue = wxNullIcon ;
22983 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
22984 wxPyDropSource *result;
22985 PyObject * obj0 = 0 ;
22986 PyObject * obj1 = 0 ;
22987 PyObject * obj2 = 0 ;
22988 PyObject * obj3 = 0 ;
22989 char *kwnames[] = {
22990 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
22991 };
22992
22993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22994 if (obj0) {
22995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22996 }
22997 if (obj1) {
22998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22999 if (arg2 == NULL) {
23000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23001 }
23002 }
23003 if (obj2) {
23004 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23005 if (arg3 == NULL) {
23006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23007 }
23008 }
23009 if (obj3) {
23010 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23011 if (arg4 == NULL) {
23012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23013 }
23014 }
23015 {
23016 PyThreadState* __tstate = wxPyBeginAllowThreads();
23017 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23023 return resultobj;
23024 fail:
23025 return NULL;
23026 }
23027
23028
23029 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23032 PyObject *arg2 = (PyObject *) 0 ;
23033 PyObject *arg3 = (PyObject *) 0 ;
23034 int arg4 ;
23035 PyObject * obj0 = 0 ;
23036 PyObject * obj1 = 0 ;
23037 PyObject * obj2 = 0 ;
23038 char *kwnames[] = {
23039 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23040 };
23041
23042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23044 arg2 = obj1;
23045 arg3 = obj2;
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 Py_INCREF(Py_None); resultobj = Py_None;
23054 return resultobj;
23055 fail:
23056 return NULL;
23057 }
23058
23059
23060 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj;
23062 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23063 PyObject * obj0 = 0 ;
23064 char *kwnames[] = {
23065 (char *) "self", NULL
23066 };
23067
23068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23070 {
23071 PyThreadState* __tstate = wxPyBeginAllowThreads();
23072 delete arg1;
23073
23074 wxPyEndAllowThreads(__tstate);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 Py_INCREF(Py_None); resultobj = Py_None;
23078 return resultobj;
23079 fail:
23080 return NULL;
23081 }
23082
23083
23084 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23085 PyObject *resultobj;
23086 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23087 wxDataObject *arg2 = 0 ;
23088 PyObject * obj0 = 0 ;
23089 PyObject * obj1 = 0 ;
23090 char *kwnames[] = {
23091 (char *) "self",(char *) "data", NULL
23092 };
23093
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23097 if (arg2 == NULL) {
23098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23099 }
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 (arg1)->SetData(*arg2);
23103
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
23107 Py_INCREF(Py_None); resultobj = Py_None;
23108 return resultobj;
23109 fail:
23110 return NULL;
23111 }
23112
23113
23114 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23115 PyObject *resultobj;
23116 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23117 wxDataObject *result;
23118 PyObject * obj0 = 0 ;
23119 char *kwnames[] = {
23120 (char *) "self", NULL
23121 };
23122
23123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 result = (wxDataObject *)(arg1)->GetDataObject();
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23142 int arg2 ;
23143 wxCursor *arg3 = 0 ;
23144 PyObject * obj0 = 0 ;
23145 PyObject * obj2 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self",(char *) "res",(char *) "cursor", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23152 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23153 if (arg3 == NULL) {
23154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23155 }
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23159
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 Py_INCREF(Py_None); resultobj = Py_None;
23164 return resultobj;
23165 fail:
23166 return NULL;
23167 }
23168
23169
23170 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23171 PyObject *resultobj;
23172 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23173 int arg2 = (int) wxDrag_CopyOnly ;
23174 int result;
23175 PyObject * obj0 = 0 ;
23176 char *kwnames[] = {
23177 (char *) "self",(char *) "flags", NULL
23178 };
23179
23180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23182 {
23183 PyThreadState* __tstate = wxPyBeginAllowThreads();
23184 result = (int)(arg1)->DoDragDrop(arg2);
23185
23186 wxPyEndAllowThreads(__tstate);
23187 if (PyErr_Occurred()) SWIG_fail;
23188 }
23189 resultobj = PyInt_FromLong((long)result);
23190 return resultobj;
23191 fail:
23192 return NULL;
23193 }
23194
23195
23196 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23197 PyObject *resultobj;
23198 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23199 int arg2 ;
23200 bool result;
23201 PyObject * obj0 = 0 ;
23202 char *kwnames[] = {
23203 (char *) "self",(char *) "effect", NULL
23204 };
23205
23206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23211
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 resultobj = PyInt_FromLong((long)result);
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23223 PyObject *obj;
23224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23225 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23226 Py_INCREF(obj);
23227 return Py_BuildValue((char *)"");
23228 }
23229 static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23230 PyObject *resultobj;
23231 wxDataObject *arg1 = (wxDataObject *) NULL ;
23232 wxPyDropTarget *result;
23233 PyObject * obj0 = 0 ;
23234 char *kwnames[] = {
23235 (char *) "dataObject", NULL
23236 };
23237
23238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
23239 if (obj0) {
23240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23241 }
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23250 return resultobj;
23251 fail:
23252 return NULL;
23253 }
23254
23255
23256 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23259 PyObject *arg2 = (PyObject *) 0 ;
23260 PyObject *arg3 = (PyObject *) 0 ;
23261 PyObject * obj0 = 0 ;
23262 PyObject * obj1 = 0 ;
23263 PyObject * obj2 = 0 ;
23264 char *kwnames[] = {
23265 (char *) "self",(char *) "self",(char *) "_class", NULL
23266 };
23267
23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23270 arg2 = obj1;
23271 arg3 = obj2;
23272 {
23273 PyThreadState* __tstate = wxPyBeginAllowThreads();
23274 (arg1)->_setCallbackInfo(arg2,arg3);
23275
23276 wxPyEndAllowThreads(__tstate);
23277 if (PyErr_Occurred()) SWIG_fail;
23278 }
23279 Py_INCREF(Py_None); resultobj = Py_None;
23280 return resultobj;
23281 fail:
23282 return NULL;
23283 }
23284
23285
23286 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23287 PyObject *resultobj;
23288 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23289 PyObject * obj0 = 0 ;
23290 char *kwnames[] = {
23291 (char *) "self", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 delete arg1;
23299
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 Py_INCREF(Py_None); resultobj = Py_None;
23304 return resultobj;
23305 fail:
23306 return NULL;
23307 }
23308
23309
23310 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23311 PyObject *resultobj;
23312 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23313 wxDataObject *result;
23314 PyObject * obj0 = 0 ;
23315 char *kwnames[] = {
23316 (char *) "self", NULL
23317 };
23318
23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 result = (wxDataObject *)(arg1)->GetDataObject();
23324
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23329 return resultobj;
23330 fail:
23331 return NULL;
23332 }
23333
23334
23335 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23336 PyObject *resultobj;
23337 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23338 wxDataObject *arg2 = (wxDataObject *) 0 ;
23339 PyObject * obj0 = 0 ;
23340 PyObject * obj1 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self",(char *) "dataObject", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23348 {
23349 PyThreadState* __tstate = wxPyBeginAllowThreads();
23350 (arg1)->SetDataObject(arg2);
23351
23352 wxPyEndAllowThreads(__tstate);
23353 if (PyErr_Occurred()) SWIG_fail;
23354 }
23355 Py_INCREF(Py_None); resultobj = Py_None;
23356 return resultobj;
23357 fail:
23358 return NULL;
23359 }
23360
23361
23362 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23365 int arg2 ;
23366 int arg3 ;
23367 int arg4 ;
23368 int result;
23369 PyObject * obj0 = 0 ;
23370 char *kwnames[] = {
23371 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23372 };
23373
23374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
23378 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23379
23380 wxPyEndAllowThreads(__tstate);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 }
23383 resultobj = PyInt_FromLong((long)result);
23384 return resultobj;
23385 fail:
23386 return NULL;
23387 }
23388
23389
23390 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj;
23392 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23393 int arg2 ;
23394 int arg3 ;
23395 int arg4 ;
23396 int result;
23397 PyObject * obj0 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 resultobj = PyInt_FromLong((long)result);
23412 return resultobj;
23413 fail:
23414 return NULL;
23415 }
23416
23417
23418 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23421 PyObject * obj0 = 0 ;
23422 char *kwnames[] = {
23423 (char *) "self", NULL
23424 };
23425
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23428 {
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 (arg1)->base_OnLeave();
23431
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 Py_INCREF(Py_None); resultobj = Py_None;
23436 return resultobj;
23437 fail:
23438 return NULL;
23439 }
23440
23441
23442 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23443 PyObject *resultobj;
23444 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23445 int arg2 ;
23446 int arg3 ;
23447 bool result;
23448 PyObject * obj0 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self",(char *) "x",(char *) "y", NULL
23451 };
23452
23453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 resultobj = PyInt_FromLong((long)result);
23463 return resultobj;
23464 fail:
23465 return NULL;
23466 }
23467
23468
23469 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23470 PyObject *resultobj;
23471 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23472 bool result;
23473 PyObject * obj0 = 0 ;
23474 char *kwnames[] = {
23475 (char *) "self", NULL
23476 };
23477
23478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 result = (bool)(arg1)->GetData();
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 resultobj = PyInt_FromLong((long)result);
23488 return resultobj;
23489 fail:
23490 return NULL;
23491 }
23492
23493
23494 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23495 PyObject *obj;
23496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23497 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23498 Py_INCREF(obj);
23499 return Py_BuildValue((char *)"");
23500 }
23501 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23502 PyObject *resultobj;
23503 wxPyTextDropTarget *result;
23504 char *kwnames[] = {
23505 NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23509 {
23510 PyThreadState* __tstate = wxPyBeginAllowThreads();
23511 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23512
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23517 return resultobj;
23518 fail:
23519 return NULL;
23520 }
23521
23522
23523 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23524 PyObject *resultobj;
23525 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23526 PyObject *arg2 = (PyObject *) 0 ;
23527 PyObject *arg3 = (PyObject *) 0 ;
23528 PyObject * obj0 = 0 ;
23529 PyObject * obj1 = 0 ;
23530 PyObject * obj2 = 0 ;
23531 char *kwnames[] = {
23532 (char *) "self",(char *) "self",(char *) "_class", NULL
23533 };
23534
23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23537 arg2 = obj1;
23538 arg3 = obj2;
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 (arg1)->_setCallbackInfo(arg2,arg3);
23542
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 Py_INCREF(Py_None); resultobj = Py_None;
23547 return resultobj;
23548 fail:
23549 return NULL;
23550 }
23551
23552
23553 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23554 PyObject *resultobj;
23555 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23556 int arg2 ;
23557 int arg3 ;
23558 int arg4 ;
23559 int result;
23560 PyObject * obj0 = 0 ;
23561 char *kwnames[] = {
23562 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23567 {
23568 PyThreadState* __tstate = wxPyBeginAllowThreads();
23569 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23570
23571 wxPyEndAllowThreads(__tstate);
23572 if (PyErr_Occurred()) SWIG_fail;
23573 }
23574 resultobj = PyInt_FromLong((long)result);
23575 return resultobj;
23576 fail:
23577 return NULL;
23578 }
23579
23580
23581 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23582 PyObject *resultobj;
23583 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23584 int arg2 ;
23585 int arg3 ;
23586 int arg4 ;
23587 int result;
23588 PyObject * obj0 = 0 ;
23589 char *kwnames[] = {
23590 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23591 };
23592
23593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
23602 resultobj = PyInt_FromLong((long)result);
23603 return resultobj;
23604 fail:
23605 return NULL;
23606 }
23607
23608
23609 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23610 PyObject *resultobj;
23611 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23612 PyObject * obj0 = 0 ;
23613 char *kwnames[] = {
23614 (char *) "self", NULL
23615 };
23616
23617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 (arg1)->base_OnLeave();
23622
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 Py_INCREF(Py_None); resultobj = Py_None;
23627 return resultobj;
23628 fail:
23629 return NULL;
23630 }
23631
23632
23633 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23634 PyObject *resultobj;
23635 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23636 int arg2 ;
23637 int arg3 ;
23638 bool result;
23639 PyObject * obj0 = 0 ;
23640 char *kwnames[] = {
23641 (char *) "self",(char *) "x",(char *) "y", NULL
23642 };
23643
23644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23646 {
23647 PyThreadState* __tstate = wxPyBeginAllowThreads();
23648 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23649
23650 wxPyEndAllowThreads(__tstate);
23651 if (PyErr_Occurred()) SWIG_fail;
23652 }
23653 resultobj = PyInt_FromLong((long)result);
23654 return resultobj;
23655 fail:
23656 return NULL;
23657 }
23658
23659
23660 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23661 PyObject *resultobj;
23662 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23663 int arg2 ;
23664 int arg3 ;
23665 int arg4 ;
23666 int result;
23667 PyObject * obj0 = 0 ;
23668 char *kwnames[] = {
23669 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23670 };
23671
23672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 resultobj = PyInt_FromLong((long)result);
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23689 PyObject *obj;
23690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23691 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23692 Py_INCREF(obj);
23693 return Py_BuildValue((char *)"");
23694 }
23695 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23696 PyObject *resultobj;
23697 wxPyFileDropTarget *result;
23698 char *kwnames[] = {
23699 NULL
23700 };
23701
23702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23703 {
23704 PyThreadState* __tstate = wxPyBeginAllowThreads();
23705 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23706
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
23710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23711 return resultobj;
23712 fail:
23713 return NULL;
23714 }
23715
23716
23717 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23718 PyObject *resultobj;
23719 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23720 PyObject *arg2 = (PyObject *) 0 ;
23721 PyObject *arg3 = (PyObject *) 0 ;
23722 PyObject * obj0 = 0 ;
23723 PyObject * obj1 = 0 ;
23724 PyObject * obj2 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self",(char *) "self",(char *) "_class", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23731 arg2 = obj1;
23732 arg3 = obj2;
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 (arg1)->_setCallbackInfo(arg2,arg3);
23736
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 Py_INCREF(Py_None); resultobj = Py_None;
23741 return resultobj;
23742 fail:
23743 return NULL;
23744 }
23745
23746
23747 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23748 PyObject *resultobj;
23749 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23750 int arg2 ;
23751 int arg3 ;
23752 int arg4 ;
23753 int result;
23754 PyObject * obj0 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 resultobj = PyInt_FromLong((long)result);
23769 return resultobj;
23770 fail:
23771 return NULL;
23772 }
23773
23774
23775 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23776 PyObject *resultobj;
23777 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23778 int arg2 ;
23779 int arg3 ;
23780 int arg4 ;
23781 int result;
23782 PyObject * obj0 = 0 ;
23783 char *kwnames[] = {
23784 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23785 };
23786
23787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 resultobj = PyInt_FromLong((long)result);
23797 return resultobj;
23798 fail:
23799 return NULL;
23800 }
23801
23802
23803 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 (arg1)->base_OnLeave();
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 Py_INCREF(Py_None); resultobj = Py_None;
23821 return resultobj;
23822 fail:
23823 return NULL;
23824 }
23825
23826
23827 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23828 PyObject *resultobj;
23829 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23830 int arg2 ;
23831 int arg3 ;
23832 bool result;
23833 PyObject * obj0 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self",(char *) "x",(char *) "y", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = PyInt_FromLong((long)result);
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23857 int arg2 ;
23858 int arg3 ;
23859 int arg4 ;
23860 int result;
23861 PyObject * obj0 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = PyInt_FromLong((long)result);
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
23883 PyObject *obj;
23884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23885 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
23886 Py_INCREF(obj);
23887 return Py_BuildValue((char *)"");
23888 }
23889 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23890 PyObject *resultobj;
23891 wxClipboard *result;
23892 char *kwnames[] = {
23893 NULL
23894 };
23895
23896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (wxClipboard *)new wxClipboard();
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxClipboard *arg1 = (wxClipboard *) 0 ;
23914 PyObject * obj0 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self", NULL
23917 };
23918
23919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23921 {
23922 PyThreadState* __tstate = wxPyBeginAllowThreads();
23923 delete arg1;
23924
23925 wxPyEndAllowThreads(__tstate);
23926 if (PyErr_Occurred()) SWIG_fail;
23927 }
23928 Py_INCREF(Py_None); resultobj = Py_None;
23929 return resultobj;
23930 fail:
23931 return NULL;
23932 }
23933
23934
23935 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
23936 PyObject *resultobj;
23937 wxClipboard *arg1 = (wxClipboard *) 0 ;
23938 bool result;
23939 PyObject * obj0 = 0 ;
23940 char *kwnames[] = {
23941 (char *) "self", NULL
23942 };
23943
23944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
23945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 result = (bool)(arg1)->Open();
23949
23950 wxPyEndAllowThreads(__tstate);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 }
23953 resultobj = PyInt_FromLong((long)result);
23954 return resultobj;
23955 fail:
23956 return NULL;
23957 }
23958
23959
23960 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
23961 PyObject *resultobj;
23962 wxClipboard *arg1 = (wxClipboard *) 0 ;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "self", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
23969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 (arg1)->Close();
23973
23974 wxPyEndAllowThreads(__tstate);
23975 if (PyErr_Occurred()) SWIG_fail;
23976 }
23977 Py_INCREF(Py_None); resultobj = Py_None;
23978 return resultobj;
23979 fail:
23980 return NULL;
23981 }
23982
23983
23984 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
23985 PyObject *resultobj;
23986 wxClipboard *arg1 = (wxClipboard *) 0 ;
23987 bool result;
23988 PyObject * obj0 = 0 ;
23989 char *kwnames[] = {
23990 (char *) "self", NULL
23991 };
23992
23993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
23994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23995 {
23996 PyThreadState* __tstate = wxPyBeginAllowThreads();
23997 result = (bool)((wxClipboard const *)arg1)->IsOpened();
23998
23999 wxPyEndAllowThreads(__tstate);
24000 if (PyErr_Occurred()) SWIG_fail;
24001 }
24002 resultobj = PyInt_FromLong((long)result);
24003 return resultobj;
24004 fail:
24005 return NULL;
24006 }
24007
24008
24009 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24010 PyObject *resultobj;
24011 wxClipboard *arg1 = (wxClipboard *) 0 ;
24012 wxDataObject *arg2 = (wxDataObject *) 0 ;
24013 bool result;
24014 PyObject * obj0 = 0 ;
24015 PyObject * obj1 = 0 ;
24016 char *kwnames[] = {
24017 (char *) "self",(char *) "data", NULL
24018 };
24019
24020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 result = (bool)(arg1)->AddData(arg2);
24026
24027 wxPyEndAllowThreads(__tstate);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 }
24030 resultobj = PyInt_FromLong((long)result);
24031 return resultobj;
24032 fail:
24033 return NULL;
24034 }
24035
24036
24037 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24038 PyObject *resultobj;
24039 wxClipboard *arg1 = (wxClipboard *) 0 ;
24040 wxDataObject *arg2 = (wxDataObject *) 0 ;
24041 bool result;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
24044 char *kwnames[] = {
24045 (char *) "self",(char *) "data", NULL
24046 };
24047
24048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24051 {
24052 PyThreadState* __tstate = wxPyBeginAllowThreads();
24053 result = (bool)(arg1)->SetData(arg2);
24054
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 resultobj = PyInt_FromLong((long)result);
24059 return resultobj;
24060 fail:
24061 return NULL;
24062 }
24063
24064
24065 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24066 PyObject *resultobj;
24067 wxClipboard *arg1 = (wxClipboard *) 0 ;
24068 wxDataFormat *arg2 = 0 ;
24069 bool result;
24070 PyObject * obj0 = 0 ;
24071 PyObject * obj1 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self",(char *) "format", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24079 if (arg2 == NULL) {
24080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24081 }
24082 {
24083 PyThreadState* __tstate = wxPyBeginAllowThreads();
24084 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24085
24086 wxPyEndAllowThreads(__tstate);
24087 if (PyErr_Occurred()) SWIG_fail;
24088 }
24089 resultobj = PyInt_FromLong((long)result);
24090 return resultobj;
24091 fail:
24092 return NULL;
24093 }
24094
24095
24096 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24097 PyObject *resultobj;
24098 wxClipboard *arg1 = (wxClipboard *) 0 ;
24099 wxDataObject *arg2 = 0 ;
24100 bool result;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self",(char *) "data", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24110 if (arg2 == NULL) {
24111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24112 }
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (bool)(arg1)->GetData(*arg2);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 resultobj = PyInt_FromLong((long)result);
24121 return resultobj;
24122 fail:
24123 return NULL;
24124 }
24125
24126
24127 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxClipboard *arg1 = (wxClipboard *) 0 ;
24130 PyObject * obj0 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 (arg1)->Clear();
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 Py_INCREF(Py_None); resultobj = Py_None;
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 wxClipboard *arg1 = (wxClipboard *) 0 ;
24154 bool result;
24155 PyObject * obj0 = 0 ;
24156 char *kwnames[] = {
24157 (char *) "self", NULL
24158 };
24159
24160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 result = (bool)(arg1)->Flush();
24165
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 resultobj = PyInt_FromLong((long)result);
24170 return resultobj;
24171 fail:
24172 return NULL;
24173 }
24174
24175
24176 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24177 PyObject *resultobj;
24178 wxClipboard *arg1 = (wxClipboard *) 0 ;
24179 bool arg2 = (bool) False ;
24180 PyObject * obj0 = 0 ;
24181 PyObject * obj1 = 0 ;
24182 char *kwnames[] = {
24183 (char *) "self",(char *) "primary", NULL
24184 };
24185
24186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24188 if (obj1) {
24189 arg2 = PyInt_AsLong(obj1) ? true : false;
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->UsePrimarySelection(arg2);
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 Py_INCREF(Py_None); resultobj = Py_None;
24200 return resultobj;
24201 fail:
24202 return NULL;
24203 }
24204
24205
24206 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24207 PyObject *obj;
24208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24209 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24210 Py_INCREF(obj);
24211 return Py_BuildValue((char *)"");
24212 }
24213 static int _wrap_TheClipboard_set(PyObject *_val) {
24214 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24215 return 1;
24216 }
24217
24218
24219 static PyObject *_wrap_TheClipboard_get() {
24220 PyObject *pyobj;
24221
24222 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24223 return pyobj;
24224 }
24225
24226
24227 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24228 PyObject *resultobj;
24229 wxClipboard *arg1 = (wxClipboard *) NULL ;
24230 wxClipboardLocker *result;
24231 PyObject * obj0 = 0 ;
24232 char *kwnames[] = {
24233 (char *) "clipboard", NULL
24234 };
24235
24236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24237 if (obj0) {
24238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24239 }
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24248 return resultobj;
24249 fail:
24250 return NULL;
24251 }
24252
24253
24254 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24255 PyObject *resultobj;
24256 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24257 PyObject * obj0 = 0 ;
24258 char *kwnames[] = {
24259 (char *) "self", NULL
24260 };
24261
24262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 delete arg1;
24267
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 Py_INCREF(Py_None); resultobj = Py_None;
24272 return resultobj;
24273 fail:
24274 return NULL;
24275 }
24276
24277
24278 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24279 PyObject *resultobj;
24280 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24281 bool result;
24282 PyObject * obj0 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "self", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 result = (bool)wxClipboardLocker___nonzero__(arg1);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 resultobj = PyInt_FromLong((long)result);
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24304 PyObject *obj;
24305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24306 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24307 Py_INCREF(obj);
24308 return Py_BuildValue((char *)"");
24309 }
24310 static PyMethodDef SwigMethods[] = {
24311 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24317 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24318 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24321 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24325 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24384 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24392 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24408 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24413 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24416 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24419 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24425 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24439 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24445 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24451 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24454 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24466 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24469 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24470 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24473 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24500 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24502 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24504 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24506 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24513 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24519 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"LogTrace", (PyCFunction) _wrap_LogTrace, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"LogTraceMask", (PyCFunction) _wrap_LogTraceMask, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24538 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24541 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24558 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24566 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24612 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24640 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24646 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24662 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24678 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24692 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_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_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24701 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
24744 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
24748 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
24751 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
24754 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
24846 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
24847 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
24848 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
24849 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
24850 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
24851 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
24852 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
24853 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
24854 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
24855 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
24866 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
24911 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
24945 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
24953 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
24954 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
24959 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
24968 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
24972 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
24975 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
24978 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
24983 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
24986 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
24990 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
24993 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
24996 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25002 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25006 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25008 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25018 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25029 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25037 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25045 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25058 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25062 { NULL, NULL }
25063 };
25064
25065
25066 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25067
25068 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25069 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25070 }
25071 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25072 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25073 }
25074 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25075 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25076 }
25077 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25078 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25079 }
25080 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25081 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25082 }
25083 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25084 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25085 }
25086 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25087 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25088 }
25089 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25090 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25091 }
25092 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25093 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25094 }
25095 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25096 return (void *)((wxEvent *) ((wxPyEvent *) x));
25097 }
25098 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25099 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25100 }
25101 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25102 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25103 }
25104 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25105 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25106 }
25107 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25108 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25109 }
25110 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25111 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25112 }
25113 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25114 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25115 }
25116 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25117 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25118 }
25119 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25120 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25121 }
25122 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25123 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25124 }
25125 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25126 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25127 }
25128 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25129 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25130 }
25131 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25132 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25133 }
25134 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25135 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25136 }
25137 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25138 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25139 }
25140 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25141 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25142 }
25143 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25144 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25145 }
25146 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25147 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25148 }
25149 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25150 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25151 }
25152 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25153 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25154 }
25155 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25157 }
25158 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25159 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25160 }
25161 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25162 return (void *)((wxEvent *) ((wxShowEvent *) x));
25163 }
25164 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25165 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25166 }
25167 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25168 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25169 }
25170 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25171 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25172 }
25173 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25174 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25175 }
25176 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25177 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25178 }
25179 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25180 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25181 }
25182 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25183 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25184 }
25185 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25186 return (void *)((wxConfigBase *) ((wxConfig *) x));
25187 }
25188 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25189 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25190 }
25191 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25192 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25193 }
25194 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25195 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25196 }
25197 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25198 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25199 }
25200 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25201 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25202 }
25203 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25204 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25205 }
25206 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25207 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25208 }
25209 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25210 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25211 }
25212 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25213 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25214 }
25215 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25216 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25217 }
25218 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25219 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25220 }
25221 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25222 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25223 }
25224 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25225 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25226 }
25227 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25228 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25229 }
25230 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25231 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25232 }
25233 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25234 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25235 }
25236 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25237 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25238 }
25239 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25240 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25241 }
25242 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25243 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25244 }
25245 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25246 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25247 }
25248 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25249 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25250 }
25251 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25252 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25253 }
25254 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25255 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25256 }
25257 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25258 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25259 }
25260 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25261 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25262 }
25263 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25264 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25265 }
25266 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25267 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25268 }
25269 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25270 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25271 }
25272 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25273 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25274 }
25275 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25276 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25277 }
25278 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25279 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25280 }
25281 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25282 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25283 }
25284 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25285 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25286 }
25287 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25288 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25289 }
25290 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25291 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25292 }
25293 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25294 return (void *)((wxObject *) ((wxSizerItem *) x));
25295 }
25296 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25298 }
25299 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25300 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25301 }
25302 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25303 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25304 }
25305 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25306 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25307 }
25308 static void *_p_wxSizerTo_p_wxObject(void *x) {
25309 return (void *)((wxObject *) ((wxSizer *) x));
25310 }
25311 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25312 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25313 }
25314 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25315 return (void *)((wxObject *) ((wxFileHistory *) x));
25316 }
25317 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25318 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25319 }
25320 static void *_p_wxEventTo_p_wxObject(void *x) {
25321 return (void *)((wxObject *) ((wxEvent *) x));
25322 }
25323 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25324 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25325 }
25326 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25327 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25328 }
25329 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25330 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25331 }
25332 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25333 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25334 }
25335 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25336 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25337 }
25338 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25339 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25340 }
25341 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25342 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25343 }
25344 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25345 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25346 }
25347 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25348 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25349 }
25350 static void *_p_wxControlTo_p_wxObject(void *x) {
25351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25352 }
25353 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25354 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25355 }
25356 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25357 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25358 }
25359 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25360 return (void *)((wxObject *) ((wxFSFile *) x));
25361 }
25362 static void *_p_wxClipboardTo_p_wxObject(void *x) {
25363 return (void *)((wxObject *) ((wxClipboard *) x));
25364 }
25365 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25366 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25367 }
25368 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25369 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25370 }
25371 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25373 }
25374 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25375 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25376 }
25377 static void *_p_wxToolTipTo_p_wxObject(void *x) {
25378 return (void *)((wxObject *) ((wxToolTip *) x));
25379 }
25380 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25381 return (void *)((wxObject *) ((wxMenuItem *) x));
25382 }
25383 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25384 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25385 }
25386 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25387 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25388 }
25389 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25390 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25391 }
25392 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25393 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25394 }
25395 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25396 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25397 }
25398 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25399 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25400 }
25401 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25402 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25403 }
25404 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25405 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25406 }
25407 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25408 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25409 }
25410 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25411 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25412 }
25413 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25414 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25415 }
25416 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25417 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25418 }
25419 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25420 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25421 }
25422 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25423 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25424 }
25425 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25426 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25427 }
25428 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25429 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25430 }
25431 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25432 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25433 }
25434 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25435 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25436 }
25437 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25438 return (void *)((wxObject *) ((wxImageHandler *) x));
25439 }
25440 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25441 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25442 }
25443 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25444 return (void *)((wxObject *) ((wxEvtHandler *) x));
25445 }
25446 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25447 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25448 }
25449 static void *_p_wxImageTo_p_wxObject(void *x) {
25450 return (void *)((wxObject *) ((wxImage *) x));
25451 }
25452 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25453 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25454 }
25455 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25456 return (void *)((wxObject *) ((wxSystemOptions *) x));
25457 }
25458 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25459 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25460 }
25461 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25462 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25463 }
25464 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25465 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25466 }
25467 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25468 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25469 }
25470 static void *_p_wxWindowTo_p_wxObject(void *x) {
25471 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25472 }
25473 static void *_p_wxMenuTo_p_wxObject(void *x) {
25474 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25475 }
25476 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25478 }
25479 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25480 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25481 }
25482 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25483 return (void *)((wxObject *) ((wxFileSystem *) x));
25484 }
25485 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25486 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25487 }
25488 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25489 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25490 }
25491 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25492 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25493 }
25494 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25495 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25496 }
25497 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25498 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25499 }
25500 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25501 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25502 }
25503 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25504 return (void *)((wxObject *) ((wxBusyInfo *) x));
25505 }
25506 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25507 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25508 }
25509 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25511 }
25512 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25514 }
25515 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25517 }
25518 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25520 }
25521 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25523 }
25524 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25526 }
25527 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25529 }
25530 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25532 }
25533 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25535 }
25536 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25537 return (void *)((wxLog *) ((wxLogStderr *) x));
25538 }
25539 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25540 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25541 }
25542 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25543 return (void *)((wxLog *) ((wxLogWindow *) x));
25544 }
25545 static void *_p_wxLogChainTo_p_wxLog(void *x) {
25546 return (void *)((wxLog *) ((wxLogChain *) x));
25547 }
25548 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25549 return (void *)((wxLog *) ((wxLogGui *) x));
25550 }
25551 static void *_p_wxPyLogTo_p_wxLog(void *x) {
25552 return (void *)((wxLog *) ((wxPyLog *) x));
25553 }
25554 static void *_p_wxControlTo_p_wxWindow(void *x) {
25555 return (void *)((wxWindow *) ((wxControl *) x));
25556 }
25557 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25558 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25559 }
25560 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25561 return (void *)((wxWindow *) ((wxMenuBar *) x));
25562 }
25563 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25564 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25565 }
25566 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25567 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25568 }
25569 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25570 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25571 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25572 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}};
25573 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25574 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25575 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}};
25576 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}};
25577 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25578 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25579 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25580 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25581 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25582 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25583 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25584 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25585 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25586 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25587 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25588 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25589 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25590 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25591 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25592 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25593 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25594 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25595 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25596 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25597 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25598 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25599 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25600 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}};
25601 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25602 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25603 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25604 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25605 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25606 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25607 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25608 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25609 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25610 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25611 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25612 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25613 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25614 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}};
25615 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}};
25616 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25617 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25618 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25619 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25620 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25621 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25622 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25623 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25624 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25625 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25626 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25627 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25628 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25629 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25630 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
25631 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25632 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25633 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25634 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}};
25635 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25636 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25637 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25638 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25639 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25640 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25641 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}};
25642 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25643 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25644 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25645 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25646 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25647 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25648 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25649 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25650 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25651
25652 static swig_type_info *swig_types_initial[] = {
25653 _swigt__p_wxLogChain,
25654 _swigt__p_wxMutexGuiLocker,
25655 _swigt__p_wxFileHistory,
25656 _swigt__p_wxLog,
25657 _swigt__p_wxDateTime__TimeZone,
25658 _swigt__p_wxMenu,
25659 _swigt__p_wxEvent,
25660 _swigt__p_wxConfigBase,
25661 _swigt__p_wxWave,
25662 _swigt__p_wxFileType,
25663 _swigt__p_wxLogGui,
25664 _swigt__p_wxFont,
25665 _swigt__p_wxDataFormat,
25666 _swigt__p_wxTimerEvent,
25667 _swigt__p_wxCaret,
25668 _swigt__p_int,
25669 _swigt__p_wxSize,
25670 _swigt__p_wxClipboard,
25671 _swigt__p_wxStopWatch,
25672 _swigt__p_wxDC,
25673 _swigt__p_wxClipboardLocker,
25674 _swigt__p_wxIcon,
25675 _swigt__p_wxLogStderr,
25676 _swigt__p_wxLogTextCtrl,
25677 _swigt__p_wxTextCtrl,
25678 _swigt__p_wxBusyCursor,
25679 _swigt__p_wxFileDataObject,
25680 _swigt__p_wxPyBitmapDataObject,
25681 _swigt__p_wxPyTextDataObject,
25682 _swigt__p_wxBitmapDataObject,
25683 _swigt__p_wxTextDataObject,
25684 _swigt__p_wxDataObject,
25685 _swigt__p_wxCustomDataObject,
25686 _swigt__p_wxURLDataObject,
25687 _swigt__p_wxMetafileDataObject,
25688 _swigt__p_wxTimerRunner,
25689 _swigt__p_wxLogWindow,
25690 _swigt__p_wxTimeSpan,
25691 _swigt__p_wxArrayString,
25692 _swigt__p_wxWindowDisabler,
25693 _swigt__p_wxToolTip,
25694 _swigt__p_wxDataObjectComposite,
25695 _swigt__p_wxFileConfig,
25696 _swigt__p_wxSystemSettings,
25697 _swigt__p_wxPyDataObjectSimple,
25698 _swigt__p_wxDataObjectSimple,
25699 _swigt__p_wxEvtHandler,
25700 _swigt__p_wxRect,
25701 _swigt__p_wxSingleInstanceChecker,
25702 _swigt__p_wxFileTypeInfo,
25703 _swigt__p_wxFrame,
25704 _swigt__p_wxTimer,
25705 _swigt__p_wxMimeTypesManager,
25706 _swigt__p_wxPyArtProvider,
25707 _swigt__p_wxPyTipProvider,
25708 _swigt__p_wxTipProvider,
25709 _swigt__p_wxJoystick,
25710 _swigt__p_wxSystemOptions,
25711 _swigt__p_wxPoint,
25712 _swigt__p_wxJoystickEvent,
25713 _swigt__p_wxCursor,
25714 _swigt__p_wxObject,
25715 _swigt__p_wxOutputStream,
25716 _swigt__p_wxDateTime,
25717 _swigt__p_wxPyDropSource,
25718 _swigt__p_wxWindow,
25719 _swigt__p_wxString,
25720 _swigt__p_wxPyProcess,
25721 _swigt__p_wxBitmap,
25722 _swigt__p_wxConfig,
25723 _swigt__p_wxChar,
25724 _swigt__p_wxBusyInfo,
25725 _swigt__p_wxPyDropTarget,
25726 _swigt__p_wxPyTextDropTarget,
25727 _swigt__p_wxPyFileDropTarget,
25728 _swigt__p_wxProcessEvent,
25729 _swigt__p_wxPyLog,
25730 _swigt__p_wxLogNull,
25731 _swigt__p_wxColour,
25732 _swigt__p_wxConfigPathChanger,
25733 _swigt__p_wxPyTimer,
25734 _swigt__p_wxDateSpan,
25735 0
25736 };
25737
25738
25739 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25740
25741 static swig_const_info swig_const_table[] = {
25742 { SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
25743 { SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
25744 { SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
25745 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
25746 { SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
25747 { SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
25748 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
25749 { SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
25750 { SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
25751 { SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
25752 { SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
25753 { SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
25754 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
25755 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
25756 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
25757 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
25758 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
25759 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
25760 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
25761 { SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
25762 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
25763 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
25764 { SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
25765 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
25766 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
25767 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
25768 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
25769 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
25770 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
25771 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
25772 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
25773 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
25774 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
25775 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
25776 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
25777 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
25778 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
25779 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
25780 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
25781 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
25782 { SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
25783 { SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
25784 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
25785 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
25786 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
25787 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
25788 { SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
25789 { SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
25790 { SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
25791 { SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
25792 { SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
25793 { SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
25794 { SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
25795 { SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
25796 { SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
25797 { SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
25798 { SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
25799 { SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
25800 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
25801 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
25802 { SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
25803 { SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
25804 { SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
25805 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
25806 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
25807 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
25808 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
25809 { SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
25810 { SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
25811 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
25812 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
25813 { SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
25814 { SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
25815 { SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
25816 { SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
25817 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
25818 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
25819 { SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
25820 { SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
25821 { SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
25822 { SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
25823 { SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
25824 { SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
25825 { SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
25826 { SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
25827 { SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
25828 { SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
25829 { SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
25830 { SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
25831 { SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
25832 { SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
25833 { SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
25834 { SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
25835 { SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
25836 { SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
25837 { SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
25838 { SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
25839 { SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
25840 { SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
25841 { SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
25842 { SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
25843 { SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
25844 { SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
25845 { SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
25846 { SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
25847 { SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
25848 { SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
25849 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25850 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25851 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25852 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25853 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25854 { SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25855 { SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25856 { SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25857 { SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25858 { SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25859 { SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
25860 { SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
25861 { SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
25862 { SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
25863 { SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
25864 { SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
25865 { SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
25866 { SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
25867 { SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
25868 { SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
25869 { SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
25870 { SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
25871 { SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
25872 { SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
25873 { SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
25874 { SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
25875 { SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
25876 { SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
25877 { SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
25878 { SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
25879 { SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
25880 { SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
25881 { SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
25882 { SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
25883 { SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
25884 { SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
25885 { SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
25886 { SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
25887 { SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
25888 { SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
25889 { SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
25890 { SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
25891 { SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
25892 { SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
25893 { SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
25894 { SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
25895 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
25896 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
25897 { SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
25898 { SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
25899 { SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
25900 { SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
25901 { SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
25902 { SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
25903 { SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
25904 { SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
25905 { SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
25906 { SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
25907 { SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
25908 { SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
25909 { SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
25910 { SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
25911 { SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
25912 { SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
25913 { SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
25914 { SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
25915 { SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
25916 { SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
25917 { SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
25918 { SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
25919 { SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
25920 { SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
25921 { SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
25922 { SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
25923 { SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
25924 { SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
25925 { SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
25926 { SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
25927 { SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
25928 { SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
25929 { SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
25930 { SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
25931 { SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
25932 { SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
25933 { SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
25934 { SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
25935 { SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
25936 { SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
25937 { SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
25938 { SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
25939 { SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
25940 { SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
25941 { SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
25942 { SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
25943 { SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
25944 { SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
25945 { SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
25946 { SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
25947 { SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
25948 { SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
25949 { SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
25950 { SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
25951 { SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
25952 { SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
25953 { SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
25954 { SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
25955 { SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
25956 { SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
25957 { SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
25958 { SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
25959 { SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
25960 { SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
25961 { SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
25962 { SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
25963 { SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
25964 { SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
25965 { SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
25966 { SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
25967 { SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
25968 { SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
25969 { SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
25970 { SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
25971 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
25972 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
25973 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
25974 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
25975 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
25976 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
25977 { SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
25978 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
25979 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
25980 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
25981 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
25982 { SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
25983 { SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
25984 { SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
25985 { SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
25986 { SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
25987 { SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
25988 { SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
25989 { SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
25990 { SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
25991 { SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
25992 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
25993 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
25994 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
25995 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
25996 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
25997 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
25998 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
25999 { SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26000 { SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26001 { SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26002 { SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26003 { SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26004 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26005 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26006 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26007 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26008 { SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26009 { SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26010 { SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26011 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26012 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26013 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26014 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26015 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26016 { SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26017 { SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26018 { SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26019 { SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26020 { SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26021 { SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26022 { SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26023 { SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26024 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26025 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26026 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26027 { SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26028 { SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26029 { SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26030 { SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26031 { SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26032 { SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26033 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26034 { SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26035 { SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26036 { SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26037 { SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26038 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26039 { SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26040 { SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26041 { SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26042 { SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26043 { SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26044 { SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26045 { SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26046 { SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26047 { SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26048 { SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26049 { SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26050 { SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26051 { SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26052 { SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26053 { SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26054 { SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26055 { SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26056 { SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26057 { SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26058 { SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26059 { SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26060 { SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26061 { SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26062 { SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26063 { SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26064 { SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26065 { SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26066 { SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26067 { SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26068 { SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26069 { SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26070 { SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26071 { SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26072 { SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26073 { SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26074 { SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26075 { SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26076 { SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26077 { SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26078 { SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26079 { SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26080 { SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26081 { SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26082 { SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26083 { SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26084 { SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26085 { SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26086 { SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26087 { SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26088 { SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26089 { SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26090 { SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26091 { SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26092 { SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26093 { SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26094 { SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26095 { SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26096 { SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26097 { SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26098 { SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26099 { SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26100 {0}};
26101
26102 #ifdef __cplusplus
26103 }
26104 #endif
26105
26106 #ifdef __cplusplus
26107 extern "C"
26108 #endif
26109 SWIGEXPORT(void) SWIG_init(void) {
26110 static PyObject *SWIG_globals = 0;
26111 static int typeinit = 0;
26112 PyObject *m, *d;
26113 int i;
26114 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26115 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26116 d = PyModule_GetDict(m);
26117
26118 if (!typeinit) {
26119 for (i = 0; swig_types_initial[i]; i++) {
26120 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26121 }
26122 typeinit = 1;
26123 }
26124 SWIG_InstallConstants(d,swig_const_table);
26125
26126 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26127 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26128
26129 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26130
26131 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26132 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26133 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26134 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26135 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26136 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26137 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26138 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26139 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26140 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26141 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26142 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26143 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26144 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26145 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26146 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26147 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26148 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26149 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26150 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26151 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26152 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26153 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26154 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26155 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26156 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26157 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26158 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26159 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26160 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26161 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26162 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26163 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26164 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26165 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26166 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26167 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26168 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26169 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26170 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26171 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26172 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26173 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26174 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26175
26176 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26177
26178 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26179
26180 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26181 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26182 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26183 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26184
26185 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26186 }
26187