]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxLogChain swig_types[0]
213 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
214 #define SWIGTYPE_p_wxMetafile swig_types[2]
215 #define SWIGTYPE_p_wxFileHistory swig_types[3]
216 #define SWIGTYPE_p_wxLog swig_types[4]
217 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
218 #define SWIGTYPE_p_wxMenu swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxConfigBase swig_types[8]
221 #define SWIGTYPE_p_wxWave swig_types[9]
222 #define SWIGTYPE_p_wxFileType swig_types[10]
223 #define SWIGTYPE_p_wxLogGui swig_types[11]
224 #define SWIGTYPE_p_wxFont swig_types[12]
225 #define SWIGTYPE_p_wxDataFormat swig_types[13]
226 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
227 #define SWIGTYPE_p_wxCaret swig_types[15]
228 #define SWIGTYPE_p_int swig_types[16]
229 #define SWIGTYPE_p_wxSize swig_types[17]
230 #define SWIGTYPE_p_wxClipboard swig_types[18]
231 #define SWIGTYPE_p_wxStopWatch swig_types[19]
232 #define SWIGTYPE_p_wxDC swig_types[20]
233 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
234 #define SWIGTYPE_p_wxIcon swig_types[22]
235 #define SWIGTYPE_p_wxLogStderr swig_types[23]
236 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
237 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
238 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
239 #define SWIGTYPE_p_wxFileDataObject swig_types[27]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[28]
241 #define SWIGTYPE_p_wxPyTextDataObject swig_types[29]
242 #define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
243 #define SWIGTYPE_p_wxTextDataObject swig_types[31]
244 #define SWIGTYPE_p_wxDataObject swig_types[32]
245 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
246 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
247 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
248 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
249 #define SWIGTYPE_p_wxLogWindow swig_types[37]
250 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
251 #define SWIGTYPE_p_wxArrayString swig_types[39]
252 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
253 #define SWIGTYPE_p_wxToolTip swig_types[41]
254 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
255 #define SWIGTYPE_p_wxFileConfig swig_types[43]
256 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
257 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
258 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
260 #define SWIGTYPE_p_wxRect swig_types[48]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
263 #define SWIGTYPE_p_wxFrame swig_types[51]
264 #define SWIGTYPE_p_wxTimer swig_types[52]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
268 #define SWIGTYPE_p_wxTipProvider swig_types[56]
269 #define SWIGTYPE_p_wxJoystick swig_types[57]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
271 #define SWIGTYPE_p_wxPoint swig_types[59]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
273 #define SWIGTYPE_p_wxCursor swig_types[61]
274 #define SWIGTYPE_p_wxObject swig_types[62]
275 #define SWIGTYPE_p_wxOutputStream swig_types[63]
276 #define SWIGTYPE_p_wxDateTime swig_types[64]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
278 #define SWIGTYPE_p_wxWindow swig_types[66]
279 #define SWIGTYPE_p_wxString swig_types[67]
280 #define SWIGTYPE_p_wxPyProcess swig_types[68]
281 #define SWIGTYPE_p_wxBitmap swig_types[69]
282 #define SWIGTYPE_p_wxConfig swig_types[70]
283 #define SWIGTYPE_p_wxChar swig_types[71]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
289 #define SWIGTYPE_p_wxPyLog swig_types[77]
290 #define SWIGTYPE_p_wxLogNull swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
293 #define SWIGTYPE_p_wxPyTimer swig_types[81]
294 #define SWIGTYPE_p_wxDateSpan swig_types[82]
295 static swig_type_info *swig_types[84];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _misc.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc
304
305 #define SWIG_name "_misc"
306
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309 #include "wx/wxPython/pyistream.h"
310
311 DECLARE_DEF_STRING(EmptyString);
312
313
314
315
316
317 DECLARE_DEF_STRING(FileSelectorPromptStr);
318 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
319 DECLARE_DEF_STRING(DirSelectorPromptStr);
320
321
322 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
323 PyObject* o2;
324 PyObject* o3;
325
326 if (!target) {
327 target = o;
328 } else if (target == Py_None) {
329 Py_DECREF(Py_None);
330 target = o;
331 } else {
332 if (!PyTuple_Check(target)) {
333 o2 = target;
334 target = PyTuple_New(1);
335 PyTuple_SetItem(target, 0, o2);
336 }
337 o3 = PyTuple_New(1);
338 PyTuple_SetItem(o3, 0, o);
339
340 o2 = target;
341 target = PySequence_Concat(o2, o3);
342 Py_DECREF(o2);
343 Py_DECREF(o3);
344 }
345 return target;
346 }
347
348
349 bool wxThread_IsMain() {
350 #ifdef WXP_WITH_THREAD
351 return wxThread::IsMain();
352 #else
353 return True;
354 #endif
355 }
356
357
358 int wxCaret_GetBlinkTime() {
359 return wxCaret::GetBlinkTime();
360 }
361
362 void wxCaret_SetBlinkTime(int milliseconds) {
363 wxCaret::SetBlinkTime(milliseconds);
364 }
365
366
367 #include <wx/snglinst.h>
368
369
370 #ifdef __WXMSW__
371 #include <wx/msw/private.h>
372 #include <wx/dynload.h>
373 #endif
374
375
376
377 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
378 {
379 #ifdef __WXMSW__
380
381 switch (method)
382 {
383 case 1:
384 // This one only partially works. Appears to be an undocumented
385 // "standard" convention that not all widgets adhear to. For
386 // example, for some widgets backgrounds or non-client areas may
387 // not be painted.
388 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
389 break;
390
391 case 2:
392 // This one works much better, except for on XP. On Win2k nearly
393 // all widgets and their children are captured correctly[**]. On
394 // XP with Themes activated most native widgets draw only
395 // partially, if at all. Without themes it works just like on
396 // Win2k.
397 //
398 // ** For example the radio buttons in a wxRadioBox are not its
399 // children by default, but you can capture it via the panel
400 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
401 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
402 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
403 PRF_ERASEBKGND | PRF_OWNED );
404 break;
405
406 case 3:
407 // This one is only defined in the latest SDK and is only
408 // available on XP. MSDN says it is similar to sending WM_PRINT
409 // so I expect that it will work similar to the above. Since it
410 // is avaialble only on XP, it can't be compiled like this and
411 // will have to be loaded dynamically.
412 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
413
414 // fall through
415
416 case 4:
417 // Use PrintWindow if available, or fallback to WM_PRINT
418 // otherwise. Unfortunately using PrintWindow is even worse than
419 // WM_PRINT. For most native widgets nothing is drawn to the dc
420 // at all, with or without Themes.
421 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
422 static bool s_triedToLoad = False;
423 static PrintWindow_t pfnPrintWindow = NULL;
424 if ( !s_triedToLoad )
425 {
426
427 s_triedToLoad = True;
428 wxDynamicLibrary dllUser32(_T("user32.dll"));
429 if ( dllUser32.IsLoaded() )
430 {
431 wxLogNull nolog; // Don't report errors here
432 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
433 }
434 }
435 if (pfnPrintWindow)
436 {
437 printf("Using PrintWindow\n");
438 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
439 }
440 else
441 {
442 printf("Using WM_PRINT\n");
443 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
444 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
445 }
446 }
447 #endif
448 }
449
450
451
452 #include <wx/tipdlg.h>
453
454
455 class wxPyTipProvider : public wxTipProvider {
456 public:
457 wxPyTipProvider(size_t currentTip)
458 : wxTipProvider(currentTip) {}
459
460 DEC_PYCALLBACK_STRING__pure(GetTip);
461 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
462 PYPRIVATE;
463 };
464
465 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
466 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
467
468
469 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
470
471 wxString Log_TimeStamp(){
472 wxString msg;
473 wxLog::TimeStamp(&msg);
474 return msg;
475 }
476 void wxLog_Destroy(wxLog *self){ delete self; }
477
478 // A wxLog class that can be derived from in wxPython
479 class wxPyLog : public wxLog {
480 public:
481 wxPyLog() : wxLog() {}
482
483 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
484 bool found;
485 wxPyBeginBlockThreads();
486 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
487 PyObject* s = wx2PyString(szString);
488 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
489 Py_DECREF(s);
490 }
491 wxPyEndBlockThreads();
492 if (! found)
493 wxLog::DoLog(level, szString, t);
494 }
495
496 virtual void DoLogString(const wxChar *szString, time_t t) {
497 bool found;
498 wxPyBeginBlockThreads();
499 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
500 PyObject* s = wx2PyString(szString);
501 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
502 Py_DECREF(s);
503 }
504 wxPyEndBlockThreads();
505 if (! found)
506 wxLog::DoLogString(szString, t);
507 }
508
509 PYPRIVATE;
510 };
511
512
513
514
515 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
516
517
518 #include <wx/joystick.h>
519
520
521 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
522 // A C++ stub class for wxJoystick for platforms that don't have it.
523 class wxJoystick : public wxObject {
524 public:
525 wxJoystick(int joystick = wxJOYSTICK1) {
526 wxPyBeginBlockThreads();
527 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
528 wxPyEndBlockThreads();
529 }
530 wxPoint GetPosition() { return wxPoint(-1,-1); }
531 int GetZPosition() { return -1; }
532 int GetButtonState() { return -1; }
533 int GetPOVPosition() { return -1; }
534 int GetPOVCTSPosition() { return -1; }
535 int GetRudderPosition() { return -1; }
536 int GetUPosition() { return -1; }
537 int GetVPosition() { return -1; }
538 int GetMovementThreshold() { return -1; }
539 void SetMovementThreshold(int threshold) {}
540
541 bool IsOk(void) { return False; }
542 int GetNumberJoysticks() { return -1; }
543 int GetManufacturerId() { return -1; }
544 int GetProductId() { return -1; }
545 wxString GetProductName() { return ""; }
546 int GetXMin() { return -1; }
547 int GetYMin() { return -1; }
548 int GetZMin() { return -1; }
549 int GetXMax() { return -1; }
550 int GetYMax() { return -1; }
551 int GetZMax() { return -1; }
552 int GetNumberButtons() { return -1; }
553 int GetNumberAxes() { return -1; }
554 int GetMaxButtons() { return -1; }
555 int GetMaxAxes() { return -1; }
556 int GetPollingMin() { return -1; }
557 int GetPollingMax() { return -1; }
558 int GetRudderMin() { return -1; }
559 int GetRudderMax() { return -1; }
560 int GetUMin() { return -1; }
561 int GetUMax() { return -1; }
562 int GetVMin() { return -1; }
563 int GetVMax() { return -1; }
564
565 bool HasRudder() { return False; }
566 bool HasZ() { return False; }
567 bool HasU() { return False; }
568 bool HasV() { return False; }
569 bool HasPOV() { return False; }
570 bool HasPOV4Dir() { return False; }
571 bool HasPOVCTS() { return False; }
572
573 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
574 bool ReleaseCapture() { return False; }
575 };
576 #endif
577
578
579 #include <wx/wave.h>
580
581
582 #if !wxUSE_WAVE
583 // A C++ stub class for wxWave for platforms that don't have it.
584 class wxWave : public wxObject
585 {
586 public:
587 wxWave(const wxString& fileName, bool isResource = False) {
588 wxPyBeginBlockThreads();
589 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
590 wxPyEndBlockThreads();
591 }
592 wxWave(int size, const wxByte* data) {
593 wxPyBeginBlockThreads();
594 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
595 wxPyEndBlockThreads();
596 }
597
598 ~wxWave() {}
599
600 bool IsOk() const { return False; }
601 bool Play(bool async = True, bool looped = False) const { return False; }
602 };
603
604 #endif
605
606 wxWave *new_wxWave(wxString const &data){
607 return new wxWave(data.Len(), (wxByte*)data.c_str());
608 }
609
610 #include <wx/mimetype.h>
611
612 PyObject *wxFileType_GetMimeType(wxFileType *self){
613 wxString str;
614 if (self->GetMimeType(&str))
615 return wx2PyString(str);
616 else
617 RETURN_NONE();
618 }
619 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
620 wxArrayString arr;
621 if (self->GetMimeTypes(arr))
622 return wxArrayString2PyList_helper(arr);
623 else
624 RETURN_NONE();
625 }
626 PyObject *wxFileType_GetExtensions(wxFileType *self){
627 wxArrayString arr;
628 if (self->GetExtensions(arr))
629 return wxArrayString2PyList_helper(arr);
630 else
631 RETURN_NONE();
632 }
633 wxIcon *wxFileType_GetIcon(wxFileType *self){
634 wxIconLocation loc;
635 if (self->GetIcon(&loc))
636 return new wxIcon(loc);
637 else
638 return NULL;
639 }
640 PyObject *wxFileType_GetIconInfo(wxFileType *self){
641 wxIconLocation loc;
642 if (self->GetIcon(&loc)) {
643 wxString iconFile = loc.GetFileName();
644 int iconIndex = -1;
645
646
647
648 // Make a tuple and put the values in it
649 wxPyBeginBlockThreads();
650 PyObject* tuple = PyTuple_New(3);
651 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
652 wxT("wxIcon"), True));
653 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
654 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
655 wxPyEndBlockThreads();
656 return tuple;
657 }
658 else
659 RETURN_NONE();
660 }
661 PyObject *wxFileType_GetDescription(wxFileType *self){
662 wxString str;
663 if (self->GetDescription(&str))
664 return wx2PyString(str);
665 else
666 RETURN_NONE();
667 }
668 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
669 wxString str;
670 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
671 return wx2PyString(str);
672 else
673 RETURN_NONE();
674 }
675 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
676 wxString str;
677 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
678 return wx2PyString(str);
679 else
680 RETURN_NONE();
681 }
682 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
683 wxArrayString verbs;
684 wxArrayString commands;
685 if (self->GetAllCommands(&verbs, &commands,
686 wxFileType::MessageParameters(filename, mimetype))) {
687 wxPyBeginBlockThreads();
688 PyObject* tuple = PyTuple_New(2);
689 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
690 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
691 wxPyEndBlockThreads();
692 return tuple;
693 }
694 else
695 RETURN_NONE();
696 }
697 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
698 return wxFileType::ExpandCommand(command,
699 wxFileType::MessageParameters(filename, mimetype));
700 }
701 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
702 wxArrayString arr;
703 self->EnumAllFileTypes(arr);
704 return wxArrayString2PyList_helper(arr);
705 }
706
707 #include <wx/artprov.h>
708
709 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
710 static const wxString wxPyART_MENU(wxART_MENU);
711 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
712 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
713 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
714 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
715 static const wxString wxPyART_OTHER(wxART_OTHER);
716 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
717 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
718 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
719 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
720 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
721 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
722 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
723 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
724 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
725 static const wxString wxPyART_GO_UP(wxART_GO_UP);
726 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
727 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
728 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
729 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
730 static const wxString wxPyART_PRINT(wxART_PRINT);
731 static const wxString wxPyART_HELP(wxART_HELP);
732 static const wxString wxPyART_TIP(wxART_TIP);
733 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
734 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
735 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
736 static const wxString wxPyART_FOLDER(wxART_FOLDER);
737 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
738 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
739 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
740 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
741 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
742 static const wxString wxPyART_ERROR(wxART_ERROR);
743 static const wxString wxPyART_QUESTION(wxART_QUESTION);
744 static const wxString wxPyART_WARNING(wxART_WARNING);
745 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
746 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
747 // Python aware wxArtProvider
748 class wxPyArtProvider : public wxArtProvider {
749 public:
750
751 virtual wxBitmap CreateBitmap(const wxArtID& id,
752 const wxArtClient& client,
753 const wxSize& size) {
754 wxBitmap rval = wxNullBitmap;
755 wxPyBeginBlockThreads();
756 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
757 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
758 PyObject* ro;
759 wxBitmap* ptr;
760 PyObject* s1, *s2;
761 s1 = wx2PyString(id);
762 s2 = wx2PyString(client);
763 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
764 Py_DECREF(so);
765 Py_DECREF(s1);
766 Py_DECREF(s2);
767 if (ro) {
768 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
769 rval = *ptr;
770 Py_DECREF(ro);
771 }
772 }
773 wxPyEndBlockThreads();
774 return rval;
775 }
776
777 PYPRIVATE;
778 };
779
780 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
781
782
783
784 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
785 PyObject* ret = PyTuple_New(3);
786 if (ret) {
787 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
788 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
789 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
790 }
791 return ret;
792 }
793
794 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
795 bool cont;
796 long index = 0;
797 wxString value;
798
799 cont = self->GetFirstGroup(value, index);
800 return __EnumerationHelper(cont, value, index);
801 }
802 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
803 bool cont;
804 wxString value;
805
806 cont = self->GetNextGroup(value, index);
807 return __EnumerationHelper(cont, value, index);
808 }
809 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
810 bool cont;
811 long index = 0;
812 wxString value;
813
814 cont = self->GetFirstEntry(value, index);
815 return __EnumerationHelper(cont, value, index);
816 }
817 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
818 bool cont;
819 wxString value;
820
821 cont = self->GetNextEntry(value, index);
822 return __EnumerationHelper(cont, value, index);
823 }
824 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
825 long rv;
826 self->Read(key, &rv, defaultVal);
827 return rv;
828 }
829 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
830 double rv;
831 self->Read(key, &rv, defaultVal);
832 return rv;
833 }
834 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
835 bool rv;
836 self->Read(key, &rv, defaultVal);
837 return rv;
838 }
839
840 #include <wx/datetime.h>
841
842 DECLARE_DEF_STRING2(DateFormatStr, wxT("%c"));
843 DECLARE_DEF_STRING2(TimeSpanFormatStr, wxT("%H:%M:%S"));
844
845
846
847 #define LOCAL_TZ wxDateTime::Local
848
849 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
850 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
851 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
852 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
853 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
854 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
855 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
856 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
857 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
858 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
859 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
860 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
861 const wxChar* rv;
862 const wxChar* _date = date;
863 rv = self->ParseRfc822Date(_date);
864 if (rv == NULL) return -1;
865 return rv - _date;
866 }
867 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
868 const wxChar* rv;
869 const wxChar* _date = date;
870 rv = self->ParseFormat(_date, format, dateDef);
871 if (rv == NULL) return -1;
872 return rv - _date;
873 }
874 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
875 const wxChar* rv;
876 const wxChar* _datetime = datetime;
877 rv = self->ParseDateTime(_datetime);
878 if (rv == NULL) return -1;
879 return rv - _datetime;
880 }
881 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
882 const wxChar* rv;
883 const wxChar* _date = date;
884 rv = self->ParseDate(_date);
885 if (rv == NULL) return -1;
886 return rv - _date;
887 }
888 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
889 const wxChar* rv;
890 const wxChar* _time = time;
891 rv = self->ParseTime(_time);
892 if (rv == NULL) return -1;
893 return rv - _time;
894 }
895 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
896 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
897 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
898 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
899 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
900 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
901 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
902 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
903 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
904 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
905 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
906 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
907 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
908 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
909 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
910 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
911
912 #include <wx/dataobj.h>
913
914 // Create a new class for wxPython to use
915 class wxPyDataObjectSimple : public wxDataObjectSimple {
916 public:
917 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
918 : wxDataObjectSimple(format) {}
919
920 DEC_PYCALLBACK_SIZET__const(GetDataSize);
921 bool GetDataHere(void *buf) const;
922 bool SetData(size_t len, const void *buf) const;
923 PYPRIVATE;
924 };
925
926 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
927
928 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
929 // We need to get the data for this object and write it to buf. I think
930 // the best way to do this for wxPython is to have the Python method
931 // return either a string or None and then act appropriately with the
932 // C++ version.
933
934 bool rval = False;
935 wxPyBeginBlockThreads();
936 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
937 PyObject* ro;
938 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
939 if (ro) {
940 rval = (ro != Py_None && PyString_Check(ro));
941 if (rval)
942 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
943 Py_DECREF(ro);
944 }
945 }
946 wxPyEndBlockThreads();
947 return rval;
948 }
949
950 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
951 // For this one we simply need to make a string from buf and len
952 // and send it to the Python method.
953 bool rval = False;
954 wxPyBeginBlockThreads();
955 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
956 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
957 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
958 Py_DECREF(data);
959 }
960 wxPyEndBlockThreads();
961 return rval;
962 }
963
964 // Create a new class for wxPython to use
965 class wxPyTextDataObject : public wxTextDataObject {
966 public:
967 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
968 : wxTextDataObject(text) {}
969
970 DEC_PYCALLBACK_SIZET__const(GetTextLength);
971 DEC_PYCALLBACK_STRING__const(GetText);
972 DEC_PYCALLBACK__STRING(SetText);
973 PYPRIVATE;
974 };
975
976 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
977 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
978 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
979
980
981 // Create a new class for wxPython to use
982 class wxPyBitmapDataObject : public wxBitmapDataObject {
983 public:
984 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
985 : wxBitmapDataObject(bitmap) {}
986
987 wxBitmap GetBitmap() const;
988 void SetBitmap(const wxBitmap& bitmap);
989 PYPRIVATE;
990 };
991
992 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
993 wxBitmap* rval = &wxNullBitmap;
994 wxPyBeginBlockThreads();
995 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
996 PyObject* ro;
997 wxBitmap* ptr;
998 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
999 if (ro) {
1000 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1001 rval = ptr;
1002 Py_DECREF(ro);
1003 }
1004 }
1005 wxPyEndBlockThreads();
1006 return *rval;
1007 }
1008
1009 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1010 wxPyBeginBlockThreads();
1011 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1012 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1013 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1014 Py_DECREF(bo);
1015 }
1016 wxPyEndBlockThreads();
1017 }
1018
1019 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1020 if (PyString_Check(data)) {
1021 // for Python we just call SetData here since we always need it to make a copy.
1022 self->SetData(PyString_Size(data), PyString_AsString(data));
1023 }
1024 else {
1025 // raise a TypeError if not a string
1026 PyErr_SetString(PyExc_TypeError, "String expected.");
1027 }
1028 }
1029 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1030 if (PyString_Check(data)) {
1031 return self->SetData(PyString_Size(data), PyString_AsString(data));
1032 }
1033 else {
1034 // raise a TypeError if not a string
1035 PyErr_SetString(PyExc_TypeError, "String expected.");
1036 return False;
1037 }
1038 }
1039 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1040 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1041 }
1042
1043 #include <wx/metafile.h>
1044
1045
1046
1047
1048 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1049
1050
1051 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1052 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1053 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1054 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1055 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1056
1057
1058 class wxPyTextDropTarget : public wxTextDropTarget {
1059 public:
1060 wxPyTextDropTarget() {}
1061
1062 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1063
1064 DEC_PYCALLBACK__(OnLeave);
1065 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1066 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1067 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1068 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1069
1070 PYPRIVATE;
1071 };
1072
1073 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1074 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1075 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1076 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1077 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1078 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1079
1080
1081
1082 class wxPyFileDropTarget : public wxFileDropTarget {
1083 public:
1084 wxPyFileDropTarget() {}
1085
1086 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1087
1088 DEC_PYCALLBACK__(OnLeave);
1089 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1090 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1091 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1092 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1093
1094 PYPRIVATE;
1095 };
1096
1097 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1098 const wxArrayString& filenames) {
1099 bool rval = False;
1100 wxPyBeginBlockThreads();
1101 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1102 PyObject* list = wxArrayString2PyList_helper(filenames);
1103 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1104 Py_DECREF(list);
1105 }
1106 wxPyEndBlockThreads();
1107 return rval;
1108 }
1109
1110
1111
1112 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1113 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1114 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1115 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1116 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1117
1118
1119
1120
1121 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1122 #ifdef __cplusplus
1123 extern "C" {
1124 #endif
1125 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1126 PyObject *resultobj;
1127 int arg1 ;
1128 wxColour result;
1129 char *kwnames[] = {
1130 (char *) "index", NULL
1131 };
1132
1133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 {
1142 wxColour * resultptr;
1143 resultptr = new wxColour((wxColour &) result);
1144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1145 }
1146 return resultobj;
1147 fail:
1148 return NULL;
1149 }
1150
1151
1152 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1153 PyObject *resultobj;
1154 int arg1 ;
1155 wxFont result;
1156 char *kwnames[] = {
1157 (char *) "index", NULL
1158 };
1159
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1161 {
1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
1163 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1164
1165 wxPyEndAllowThreads(__tstate);
1166 if (PyErr_Occurred()) SWIG_fail;
1167 }
1168 {
1169 wxFont * resultptr;
1170 resultptr = new wxFont((wxFont &) result);
1171 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1172 }
1173 return resultobj;
1174 fail:
1175 return NULL;
1176 }
1177
1178
1179 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1180 PyObject *resultobj;
1181 int arg1 ;
1182 int result;
1183 char *kwnames[] = {
1184 (char *) "index", NULL
1185 };
1186
1187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1188 {
1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
1190 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1191
1192 wxPyEndAllowThreads(__tstate);
1193 if (PyErr_Occurred()) SWIG_fail;
1194 }
1195 resultobj = PyInt_FromLong((long)result);
1196 return resultobj;
1197 fail:
1198 return NULL;
1199 }
1200
1201
1202 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1203 PyObject *resultobj;
1204 int arg1 ;
1205 bool result;
1206 char *kwnames[] = {
1207 (char *) "index", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1211 {
1212 PyThreadState* __tstate = wxPyBeginAllowThreads();
1213 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1214
1215 wxPyEndAllowThreads(__tstate);
1216 if (PyErr_Occurred()) SWIG_fail;
1217 }
1218 resultobj = PyInt_FromLong((long)result);
1219 return resultobj;
1220 fail:
1221 return NULL;
1222 }
1223
1224
1225 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1226 PyObject *resultobj;
1227 int result;
1228 char *kwnames[] = {
1229 NULL
1230 };
1231
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1233 {
1234 PyThreadState* __tstate = wxPyBeginAllowThreads();
1235 result = (int)wxSystemSettings::GetScreenType();
1236
1237 wxPyEndAllowThreads(__tstate);
1238 if (PyErr_Occurred()) SWIG_fail;
1239 }
1240 resultobj = PyInt_FromLong((long)result);
1241 return resultobj;
1242 fail:
1243 return NULL;
1244 }
1245
1246
1247 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject *resultobj;
1249 int arg1 ;
1250 char *kwnames[] = {
1251 (char *) "screen", NULL
1252 };
1253
1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 }
1262 Py_INCREF(Py_None); resultobj = Py_None;
1263 return resultobj;
1264 fail:
1265 return NULL;
1266 }
1267
1268
1269 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1270 PyObject *obj;
1271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1272 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1273 Py_INCREF(obj);
1274 return Py_BuildValue((char *)"");
1275 }
1276 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject *resultobj;
1278 wxSystemOptions *result;
1279 char *kwnames[] = {
1280 NULL
1281 };
1282
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1284 {
1285 PyThreadState* __tstate = wxPyBeginAllowThreads();
1286 result = (wxSystemOptions *)new wxSystemOptions();
1287
1288 wxPyEndAllowThreads(__tstate);
1289 if (PyErr_Occurred()) SWIG_fail;
1290 }
1291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1292 return resultobj;
1293 fail:
1294 return NULL;
1295 }
1296
1297
1298 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1299 PyObject *resultobj;
1300 wxString *arg1 = 0 ;
1301 wxString *arg2 = 0 ;
1302 bool temp1 = False ;
1303 bool temp2 = False ;
1304 PyObject * obj0 = 0 ;
1305 PyObject * obj1 = 0 ;
1306 char *kwnames[] = {
1307 (char *) "name",(char *) "value", NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1311 {
1312 arg1 = wxString_in_helper(obj0);
1313 if (arg1 == NULL) SWIG_fail;
1314 temp1 = True;
1315 }
1316 {
1317 arg2 = wxString_in_helper(obj1);
1318 if (arg2 == NULL) SWIG_fail;
1319 temp2 = True;
1320 }
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 Py_INCREF(Py_None); resultobj = Py_None;
1329 {
1330 if (temp1)
1331 delete arg1;
1332 }
1333 {
1334 if (temp2)
1335 delete arg2;
1336 }
1337 return resultobj;
1338 fail:
1339 {
1340 if (temp1)
1341 delete arg1;
1342 }
1343 {
1344 if (temp2)
1345 delete arg2;
1346 }
1347 return NULL;
1348 }
1349
1350
1351 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject *resultobj;
1353 wxString *arg1 = 0 ;
1354 int arg2 ;
1355 bool temp1 = False ;
1356 PyObject * obj0 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "name",(char *) "value", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1362 {
1363 arg1 = wxString_in_helper(obj0);
1364 if (arg1 == NULL) SWIG_fail;
1365 temp1 = True;
1366 }
1367 {
1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
1369 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1370
1371 wxPyEndAllowThreads(__tstate);
1372 if (PyErr_Occurred()) SWIG_fail;
1373 }
1374 Py_INCREF(Py_None); resultobj = Py_None;
1375 {
1376 if (temp1)
1377 delete arg1;
1378 }
1379 return resultobj;
1380 fail:
1381 {
1382 if (temp1)
1383 delete arg1;
1384 }
1385 return NULL;
1386 }
1387
1388
1389 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1390 PyObject *resultobj;
1391 wxString *arg1 = 0 ;
1392 wxString result;
1393 bool temp1 = False ;
1394 PyObject * obj0 = 0 ;
1395 char *kwnames[] = {
1396 (char *) "name", NULL
1397 };
1398
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1400 {
1401 arg1 = wxString_in_helper(obj0);
1402 if (arg1 == NULL) SWIG_fail;
1403 temp1 = True;
1404 }
1405 {
1406 PyThreadState* __tstate = wxPyBeginAllowThreads();
1407 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1408
1409 wxPyEndAllowThreads(__tstate);
1410 if (PyErr_Occurred()) SWIG_fail;
1411 }
1412 {
1413 #if wxUSE_UNICODE
1414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1415 #else
1416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1417 #endif
1418 }
1419 {
1420 if (temp1)
1421 delete arg1;
1422 }
1423 return resultobj;
1424 fail:
1425 {
1426 if (temp1)
1427 delete arg1;
1428 }
1429 return NULL;
1430 }
1431
1432
1433 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject *resultobj;
1435 wxString *arg1 = 0 ;
1436 int result;
1437 bool temp1 = False ;
1438 PyObject * obj0 = 0 ;
1439 char *kwnames[] = {
1440 (char *) "name", NULL
1441 };
1442
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1444 {
1445 arg1 = wxString_in_helper(obj0);
1446 if (arg1 == NULL) SWIG_fail;
1447 temp1 = True;
1448 }
1449 {
1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
1451 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1452
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) SWIG_fail;
1455 }
1456 resultobj = PyInt_FromLong((long)result);
1457 {
1458 if (temp1)
1459 delete arg1;
1460 }
1461 return resultobj;
1462 fail:
1463 {
1464 if (temp1)
1465 delete arg1;
1466 }
1467 return NULL;
1468 }
1469
1470
1471 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1472 PyObject *resultobj;
1473 wxString *arg1 = 0 ;
1474 bool result;
1475 bool temp1 = False ;
1476 PyObject * obj0 = 0 ;
1477 char *kwnames[] = {
1478 (char *) "name", NULL
1479 };
1480
1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1482 {
1483 arg1 = wxString_in_helper(obj0);
1484 if (arg1 == NULL) SWIG_fail;
1485 temp1 = True;
1486 }
1487 {
1488 PyThreadState* __tstate = wxPyBeginAllowThreads();
1489 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1490
1491 wxPyEndAllowThreads(__tstate);
1492 if (PyErr_Occurred()) SWIG_fail;
1493 }
1494 resultobj = PyInt_FromLong((long)result);
1495 {
1496 if (temp1)
1497 delete arg1;
1498 }
1499 return resultobj;
1500 fail:
1501 {
1502 if (temp1)
1503 delete arg1;
1504 }
1505 return NULL;
1506 }
1507
1508
1509 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1510 PyObject *obj;
1511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1512 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1513 Py_INCREF(obj);
1514 return Py_BuildValue((char *)"");
1515 }
1516 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject *resultobj;
1518 long result;
1519 char *kwnames[] = {
1520 NULL
1521 };
1522
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 result = (long)wxNewId();
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) SWIG_fail;
1530 }
1531 resultobj = PyInt_FromLong((long)result);
1532 return resultobj;
1533 fail:
1534 return NULL;
1535 }
1536
1537
1538 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject *resultobj;
1540 long arg1 ;
1541 char *kwnames[] = {
1542 (char *) "id", NULL
1543 };
1544
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 wxRegisterId(arg1);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 Py_INCREF(Py_None); resultobj = Py_None;
1554 return resultobj;
1555 fail:
1556 return NULL;
1557 }
1558
1559
1560 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject *resultobj;
1562 long result;
1563 char *kwnames[] = {
1564 NULL
1565 };
1566
1567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1568 {
1569 PyThreadState* __tstate = wxPyBeginAllowThreads();
1570 result = (long)wxGetCurrentId();
1571
1572 wxPyEndAllowThreads(__tstate);
1573 if (PyErr_Occurred()) SWIG_fail;
1574 }
1575 resultobj = PyInt_FromLong((long)result);
1576 return resultobj;
1577 fail:
1578 return NULL;
1579 }
1580
1581
1582 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 char *kwnames[] = {
1585 NULL
1586 };
1587
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1589 {
1590 PyThreadState* __tstate = wxPyBeginAllowThreads();
1591 wxBell();
1592
1593 wxPyEndAllowThreads(__tstate);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 }
1596 Py_INCREF(Py_None); resultobj = Py_None;
1597 return resultobj;
1598 fail:
1599 return NULL;
1600 }
1601
1602
1603 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1604 PyObject *resultobj;
1605 char *kwnames[] = {
1606 NULL
1607 };
1608
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1610 {
1611 PyThreadState* __tstate = wxPyBeginAllowThreads();
1612 wxEndBusyCursor();
1613
1614 wxPyEndAllowThreads(__tstate);
1615 if (PyErr_Occurred()) SWIG_fail;
1616 }
1617 Py_INCREF(Py_None); resultobj = Py_None;
1618 return resultobj;
1619 fail:
1620 return NULL;
1621 }
1622
1623
1624 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1625 PyObject *resultobj;
1626 bool arg1 = (bool) True ;
1627 long result;
1628 PyObject * obj0 = 0 ;
1629 char *kwnames[] = {
1630 (char *) "resetTimer", NULL
1631 };
1632
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1634 if (obj0) {
1635 arg1 = PyInt_AsLong(obj0) ? true : false;
1636 if (PyErr_Occurred()) SWIG_fail;
1637 }
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 result = (long)wxGetElapsedTime(arg1);
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 resultobj = PyInt_FromLong((long)result);
1646 return resultobj;
1647 fail:
1648 return NULL;
1649 }
1650
1651
1652 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1653 PyObject *resultobj;
1654 int *arg1 = (int *) 0 ;
1655 int *arg2 = (int *) 0 ;
1656 int temp1 ;
1657 int temp2 ;
1658 char *kwnames[] = {
1659 NULL
1660 };
1661
1662 arg1 = &temp1;
1663 arg2 = &temp2;
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1665 {
1666 PyThreadState* __tstate = wxPyBeginAllowThreads();
1667 wxGetMousePosition(arg1,arg2);
1668
1669 wxPyEndAllowThreads(__tstate);
1670 if (PyErr_Occurred()) SWIG_fail;
1671 }
1672 Py_INCREF(Py_None); resultobj = Py_None;
1673 {
1674 PyObject *o = PyInt_FromLong((long) (*arg1));
1675 resultobj = t_output_helper(resultobj,o);
1676 }
1677 {
1678 PyObject *o = PyInt_FromLong((long) (*arg2));
1679 resultobj = t_output_helper(resultobj,o);
1680 }
1681 return resultobj;
1682 fail:
1683 return NULL;
1684 }
1685
1686
1687 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1688 PyObject *resultobj;
1689 bool result;
1690 char *kwnames[] = {
1691 NULL
1692 };
1693
1694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1695 {
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 result = (bool)wxIsBusy();
1698
1699 wxPyEndAllowThreads(__tstate);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 }
1702 resultobj = PyInt_FromLong((long)result);
1703 return resultobj;
1704 fail:
1705 return NULL;
1706 }
1707
1708
1709 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject *resultobj;
1711 wxString result;
1712 char *kwnames[] = {
1713 NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
1719 result = wxNow();
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 {
1725 #if wxUSE_UNICODE
1726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1727 #else
1728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1729 #endif
1730 }
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxString const &arg1_defvalue = wxPyEmptyString ;
1740 wxString *arg1 = (wxString *) &arg1_defvalue ;
1741 bool result;
1742 bool temp1 = False ;
1743 PyObject * obj0 = 0 ;
1744 char *kwnames[] = {
1745 (char *) "command", NULL
1746 };
1747
1748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1749 if (obj0) {
1750 {
1751 arg1 = wxString_in_helper(obj0);
1752 if (arg1 == NULL) SWIG_fail;
1753 temp1 = True;
1754 }
1755 }
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 result = (bool)wxShell((wxString const &)*arg1);
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 resultobj = PyInt_FromLong((long)result);
1764 {
1765 if (temp1)
1766 delete arg1;
1767 }
1768 return resultobj;
1769 fail:
1770 {
1771 if (temp1)
1772 delete arg1;
1773 }
1774 return NULL;
1775 }
1776
1777
1778 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1779 PyObject *resultobj;
1780 char *kwnames[] = {
1781 NULL
1782 };
1783
1784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1785 {
1786 PyThreadState* __tstate = wxPyBeginAllowThreads();
1787 wxStartTimer();
1788
1789 wxPyEndAllowThreads(__tstate);
1790 if (PyErr_Occurred()) SWIG_fail;
1791 }
1792 Py_INCREF(Py_None); resultobj = Py_None;
1793 return resultobj;
1794 fail:
1795 return NULL;
1796 }
1797
1798
1799 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1800 PyObject *resultobj;
1801 int *arg1 = (int *) 0 ;
1802 int *arg2 = (int *) 0 ;
1803 int result;
1804 int temp1 ;
1805 int temp2 ;
1806 char *kwnames[] = {
1807 NULL
1808 };
1809
1810 arg1 = &temp1;
1811 arg2 = &temp2;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 result = (int)wxGetOsVersion(arg1,arg2);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 resultobj = PyInt_FromLong((long)result);
1821 {
1822 PyObject *o = PyInt_FromLong((long) (*arg1));
1823 resultobj = t_output_helper(resultobj,o);
1824 }
1825 {
1826 PyObject *o = PyInt_FromLong((long) (*arg2));
1827 resultobj = t_output_helper(resultobj,o);
1828 }
1829 return resultobj;
1830 fail:
1831 return NULL;
1832 }
1833
1834
1835 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1836 PyObject *resultobj;
1837 wxString result;
1838 char *kwnames[] = {
1839 NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1843 {
1844 PyThreadState* __tstate = wxPyBeginAllowThreads();
1845 result = wxGetOsDescription();
1846
1847 wxPyEndAllowThreads(__tstate);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 {
1851 #if wxUSE_UNICODE
1852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1853 #else
1854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1855 #endif
1856 }
1857 return resultobj;
1858 fail:
1859 return NULL;
1860 }
1861
1862
1863 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1864 PyObject *resultobj;
1865 long result;
1866 char *kwnames[] = {
1867 NULL
1868 };
1869
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1871 {
1872 PyThreadState* __tstate = wxPyBeginAllowThreads();
1873 result = (long)wxGetFreeMemory();
1874
1875 wxPyEndAllowThreads(__tstate);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 }
1878 resultobj = PyInt_FromLong((long)result);
1879 return resultobj;
1880 fail:
1881 return NULL;
1882 }
1883
1884
1885 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1886 PyObject *resultobj;
1887 int arg1 ;
1888 bool result;
1889 char *kwnames[] = {
1890 (char *) "wFlags", NULL
1891 };
1892
1893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1894 {
1895 PyThreadState* __tstate = wxPyBeginAllowThreads();
1896 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1897
1898 wxPyEndAllowThreads(__tstate);
1899 if (PyErr_Occurred()) SWIG_fail;
1900 }
1901 resultobj = PyInt_FromLong((long)result);
1902 return resultobj;
1903 fail:
1904 return NULL;
1905 }
1906
1907
1908 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject *resultobj;
1910 int arg1 ;
1911 char *kwnames[] = {
1912 (char *) "secs", NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1916 {
1917 PyThreadState* __tstate = wxPyBeginAllowThreads();
1918 wxSleep(arg1);
1919
1920 wxPyEndAllowThreads(__tstate);
1921 if (PyErr_Occurred()) SWIG_fail;
1922 }
1923 Py_INCREF(Py_None); resultobj = Py_None;
1924 return resultobj;
1925 fail:
1926 return NULL;
1927 }
1928
1929
1930 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject *resultobj;
1932 unsigned long arg1 ;
1933 PyObject * obj0 = 0 ;
1934 char *kwnames[] = {
1935 (char *) "milliseconds", NULL
1936 };
1937
1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
1939 arg1 = (unsigned long) PyInt_AsLong(obj0);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 wxUsleep(arg1);
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 Py_INCREF(Py_None); resultobj = Py_None;
1949 return resultobj;
1950 fail:
1951 return NULL;
1952 }
1953
1954
1955 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 bool arg1 ;
1958 PyObject * obj0 = 0 ;
1959 char *kwnames[] = {
1960 (char *) "enable", NULL
1961 };
1962
1963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
1964 arg1 = PyInt_AsLong(obj0) ? true : false;
1965 if (PyErr_Occurred()) SWIG_fail;
1966 {
1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
1968 wxEnableTopLevelWindows(arg1);
1969
1970 wxPyEndAllowThreads(__tstate);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
1973 Py_INCREF(Py_None); resultobj = Py_None;
1974 return resultobj;
1975 fail:
1976 return NULL;
1977 }
1978
1979
1980 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
1981 PyObject *resultobj;
1982 wxString *arg1 = 0 ;
1983 wxString result;
1984 bool temp1 = False ;
1985 PyObject * obj0 = 0 ;
1986 char *kwnames[] = {
1987 (char *) "in", NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
1991 {
1992 arg1 = wxString_in_helper(obj0);
1993 if (arg1 == NULL) SWIG_fail;
1994 temp1 = True;
1995 }
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
1998 result = wxStripMenuCodes((wxString const &)*arg1);
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
2003 {
2004 #if wxUSE_UNICODE
2005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2006 #else
2007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2008 #endif
2009 }
2010 {
2011 if (temp1)
2012 delete arg1;
2013 }
2014 return resultobj;
2015 fail:
2016 {
2017 if (temp1)
2018 delete arg1;
2019 }
2020 return NULL;
2021 }
2022
2023
2024 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2025 PyObject *resultobj;
2026 wxString result;
2027 char *kwnames[] = {
2028 NULL
2029 };
2030
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = wxGetEmailAddress();
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 {
2040 #if wxUSE_UNICODE
2041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2042 #else
2043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2044 #endif
2045 }
2046 return resultobj;
2047 fail:
2048 return NULL;
2049 }
2050
2051
2052 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2053 PyObject *resultobj;
2054 wxString result;
2055 char *kwnames[] = {
2056 NULL
2057 };
2058
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 result = wxGetHostName();
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 }
2067 {
2068 #if wxUSE_UNICODE
2069 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2070 #else
2071 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2072 #endif
2073 }
2074 return resultobj;
2075 fail:
2076 return NULL;
2077 }
2078
2079
2080 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 wxString result;
2083 char *kwnames[] = {
2084 NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 result = wxGetFullHostName();
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 {
2096 #if wxUSE_UNICODE
2097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2098 #else
2099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2100 #endif
2101 }
2102 return resultobj;
2103 fail:
2104 return NULL;
2105 }
2106
2107
2108 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2109 PyObject *resultobj;
2110 wxString result;
2111 char *kwnames[] = {
2112 NULL
2113 };
2114
2115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = wxGetUserId();
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 {
2124 #if wxUSE_UNICODE
2125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2126 #else
2127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2128 #endif
2129 }
2130 return resultobj;
2131 fail:
2132 return NULL;
2133 }
2134
2135
2136 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject *resultobj;
2138 wxString result;
2139 char *kwnames[] = {
2140 NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2144 {
2145 PyThreadState* __tstate = wxPyBeginAllowThreads();
2146 result = wxGetUserName();
2147
2148 wxPyEndAllowThreads(__tstate);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 }
2151 {
2152 #if wxUSE_UNICODE
2153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2154 #else
2155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2156 #endif
2157 }
2158 return resultobj;
2159 fail:
2160 return NULL;
2161 }
2162
2163
2164 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject *resultobj;
2166 wxString result;
2167 char *kwnames[] = {
2168 NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 result = wxGetHomeDir();
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 {
2180 #if wxUSE_UNICODE
2181 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2182 #else
2183 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2184 #endif
2185 }
2186 return resultobj;
2187 fail:
2188 return NULL;
2189 }
2190
2191
2192 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject *resultobj;
2194 wxString const &arg1_defvalue = wxPyEmptyString ;
2195 wxString *arg1 = (wxString *) &arg1_defvalue ;
2196 wxString result;
2197 bool temp1 = False ;
2198 PyObject * obj0 = 0 ;
2199 char *kwnames[] = {
2200 (char *) "user", NULL
2201 };
2202
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2204 if (obj0) {
2205 {
2206 arg1 = wxString_in_helper(obj0);
2207 if (arg1 == NULL) SWIG_fail;
2208 temp1 = True;
2209 }
2210 }
2211 {
2212 PyThreadState* __tstate = wxPyBeginAllowThreads();
2213 result = wxGetUserHome((wxString const &)*arg1);
2214
2215 wxPyEndAllowThreads(__tstate);
2216 if (PyErr_Occurred()) SWIG_fail;
2217 }
2218 {
2219 #if wxUSE_UNICODE
2220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2221 #else
2222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2223 #endif
2224 }
2225 {
2226 if (temp1)
2227 delete arg1;
2228 }
2229 return resultobj;
2230 fail:
2231 {
2232 if (temp1)
2233 delete arg1;
2234 }
2235 return NULL;
2236 }
2237
2238
2239 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 unsigned long result;
2242 char *kwnames[] = {
2243 NULL
2244 };
2245
2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 result = (unsigned long)wxGetProcessId();
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) SWIG_fail;
2253 }
2254 resultobj = PyInt_FromLong((long)result);
2255 return resultobj;
2256 fail:
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject *resultobj;
2263 char *kwnames[] = {
2264 NULL
2265 };
2266
2267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 wxTrap();
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) SWIG_fail;
2274 }
2275 Py_INCREF(Py_None); resultobj = Py_None;
2276 return resultobj;
2277 fail:
2278 return NULL;
2279 }
2280
2281
2282 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2283 PyObject *resultobj;
2284 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2285 wxString *arg1 = (wxString *) &arg1_defvalue ;
2286 wxString const &arg2_defvalue = wxPyEmptyString ;
2287 wxString *arg2 = (wxString *) &arg2_defvalue ;
2288 wxString const &arg3_defvalue = wxPyEmptyString ;
2289 wxString *arg3 = (wxString *) &arg3_defvalue ;
2290 wxString const &arg4_defvalue = wxPyEmptyString ;
2291 wxString *arg4 = (wxString *) &arg4_defvalue ;
2292 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2293 wxString *arg5 = (wxString *) &arg5_defvalue ;
2294 int arg6 = (int) 0 ;
2295 wxWindow *arg7 = (wxWindow *) NULL ;
2296 int arg8 = (int) -1 ;
2297 int arg9 = (int) -1 ;
2298 wxString result;
2299 bool temp1 = False ;
2300 bool temp2 = False ;
2301 bool temp3 = False ;
2302 bool temp4 = False ;
2303 bool temp5 = False ;
2304 PyObject * obj0 = 0 ;
2305 PyObject * obj1 = 0 ;
2306 PyObject * obj2 = 0 ;
2307 PyObject * obj3 = 0 ;
2308 PyObject * obj4 = 0 ;
2309 PyObject * obj6 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2315 if (obj0) {
2316 {
2317 arg1 = wxString_in_helper(obj0);
2318 if (arg1 == NULL) SWIG_fail;
2319 temp1 = True;
2320 }
2321 }
2322 if (obj1) {
2323 {
2324 arg2 = wxString_in_helper(obj1);
2325 if (arg2 == NULL) SWIG_fail;
2326 temp2 = True;
2327 }
2328 }
2329 if (obj2) {
2330 {
2331 arg3 = wxString_in_helper(obj2);
2332 if (arg3 == NULL) SWIG_fail;
2333 temp3 = True;
2334 }
2335 }
2336 if (obj3) {
2337 {
2338 arg4 = wxString_in_helper(obj3);
2339 if (arg4 == NULL) SWIG_fail;
2340 temp4 = True;
2341 }
2342 }
2343 if (obj4) {
2344 {
2345 arg5 = wxString_in_helper(obj4);
2346 if (arg5 == NULL) SWIG_fail;
2347 temp5 = True;
2348 }
2349 }
2350 if (obj6) {
2351 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2352 }
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 }
2360 {
2361 #if wxUSE_UNICODE
2362 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2363 #else
2364 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2365 #endif
2366 }
2367 {
2368 if (temp1)
2369 delete arg1;
2370 }
2371 {
2372 if (temp2)
2373 delete arg2;
2374 }
2375 {
2376 if (temp3)
2377 delete arg3;
2378 }
2379 {
2380 if (temp4)
2381 delete arg4;
2382 }
2383 {
2384 if (temp5)
2385 delete arg5;
2386 }
2387 return resultobj;
2388 fail:
2389 {
2390 if (temp1)
2391 delete arg1;
2392 }
2393 {
2394 if (temp2)
2395 delete arg2;
2396 }
2397 {
2398 if (temp3)
2399 delete arg3;
2400 }
2401 {
2402 if (temp4)
2403 delete arg4;
2404 }
2405 {
2406 if (temp5)
2407 delete arg5;
2408 }
2409 return NULL;
2410 }
2411
2412
2413 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2414 PyObject *resultobj;
2415 wxString *arg1 = 0 ;
2416 wxString *arg2 = 0 ;
2417 wxString const &arg3_defvalue = wxPyEmptyString ;
2418 wxString *arg3 = (wxString *) &arg3_defvalue ;
2419 wxWindow *arg4 = (wxWindow *) NULL ;
2420 wxString result;
2421 bool temp1 = False ;
2422 bool temp2 = False ;
2423 bool temp3 = False ;
2424 PyObject * obj0 = 0 ;
2425 PyObject * obj1 = 0 ;
2426 PyObject * obj2 = 0 ;
2427 PyObject * obj3 = 0 ;
2428 char *kwnames[] = {
2429 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2430 };
2431
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2433 {
2434 arg1 = wxString_in_helper(obj0);
2435 if (arg1 == NULL) SWIG_fail;
2436 temp1 = True;
2437 }
2438 {
2439 arg2 = wxString_in_helper(obj1);
2440 if (arg2 == NULL) SWIG_fail;
2441 temp2 = True;
2442 }
2443 if (obj2) {
2444 {
2445 arg3 = wxString_in_helper(obj2);
2446 if (arg3 == NULL) SWIG_fail;
2447 temp3 = True;
2448 }
2449 }
2450 if (obj3) {
2451 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2452 }
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461 #if wxUSE_UNICODE
2462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2463 #else
2464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2465 #endif
2466 }
2467 {
2468 if (temp1)
2469 delete arg1;
2470 }
2471 {
2472 if (temp2)
2473 delete arg2;
2474 }
2475 {
2476 if (temp3)
2477 delete arg3;
2478 }
2479 return resultobj;
2480 fail:
2481 {
2482 if (temp1)
2483 delete arg1;
2484 }
2485 {
2486 if (temp2)
2487 delete arg2;
2488 }
2489 {
2490 if (temp3)
2491 delete arg3;
2492 }
2493 return NULL;
2494 }
2495
2496
2497 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2498 PyObject *resultobj;
2499 wxString *arg1 = 0 ;
2500 wxString *arg2 = 0 ;
2501 wxString const &arg3_defvalue = wxPyEmptyString ;
2502 wxString *arg3 = (wxString *) &arg3_defvalue ;
2503 wxWindow *arg4 = (wxWindow *) NULL ;
2504 wxString result;
2505 bool temp1 = False ;
2506 bool temp2 = False ;
2507 bool temp3 = False ;
2508 PyObject * obj0 = 0 ;
2509 PyObject * obj1 = 0 ;
2510 PyObject * obj2 = 0 ;
2511 PyObject * obj3 = 0 ;
2512 char *kwnames[] = {
2513 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2514 };
2515
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2517 {
2518 arg1 = wxString_in_helper(obj0);
2519 if (arg1 == NULL) SWIG_fail;
2520 temp1 = True;
2521 }
2522 {
2523 arg2 = wxString_in_helper(obj1);
2524 if (arg2 == NULL) SWIG_fail;
2525 temp2 = True;
2526 }
2527 if (obj2) {
2528 {
2529 arg3 = wxString_in_helper(obj2);
2530 if (arg3 == NULL) SWIG_fail;
2531 temp3 = True;
2532 }
2533 }
2534 if (obj3) {
2535 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2536 }
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 {
2545 #if wxUSE_UNICODE
2546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2547 #else
2548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2549 #endif
2550 }
2551 {
2552 if (temp1)
2553 delete arg1;
2554 }
2555 {
2556 if (temp2)
2557 delete arg2;
2558 }
2559 {
2560 if (temp3)
2561 delete arg3;
2562 }
2563 return resultobj;
2564 fail:
2565 {
2566 if (temp1)
2567 delete arg1;
2568 }
2569 {
2570 if (temp2)
2571 delete arg2;
2572 }
2573 {
2574 if (temp3)
2575 delete arg3;
2576 }
2577 return NULL;
2578 }
2579
2580
2581 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2584 wxString *arg1 = (wxString *) &arg1_defvalue ;
2585 wxString const &arg2_defvalue = wxPyEmptyString ;
2586 wxString *arg2 = (wxString *) &arg2_defvalue ;
2587 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2588 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2589 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2590 wxWindow *arg5 = (wxWindow *) NULL ;
2591 wxString result;
2592 bool temp1 = False ;
2593 bool temp2 = False ;
2594 wxPoint temp4 ;
2595 PyObject * obj0 = 0 ;
2596 PyObject * obj1 = 0 ;
2597 PyObject * obj3 = 0 ;
2598 PyObject * obj4 = 0 ;
2599 char *kwnames[] = {
2600 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2601 };
2602
2603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2604 if (obj0) {
2605 {
2606 arg1 = wxString_in_helper(obj0);
2607 if (arg1 == NULL) SWIG_fail;
2608 temp1 = True;
2609 }
2610 }
2611 if (obj1) {
2612 {
2613 arg2 = wxString_in_helper(obj1);
2614 if (arg2 == NULL) SWIG_fail;
2615 temp2 = True;
2616 }
2617 }
2618 if (obj3) {
2619 {
2620 arg4 = &temp4;
2621 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2622 }
2623 }
2624 if (obj4) {
2625 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2626 }
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 {
2635 #if wxUSE_UNICODE
2636 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2637 #else
2638 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2639 #endif
2640 }
2641 {
2642 if (temp1)
2643 delete arg1;
2644 }
2645 {
2646 if (temp2)
2647 delete arg2;
2648 }
2649 return resultobj;
2650 fail:
2651 {
2652 if (temp1)
2653 delete arg1;
2654 }
2655 {
2656 if (temp2)
2657 delete arg2;
2658 }
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxString *arg1 = 0 ;
2666 wxString const &arg2_defvalue = wxPyEmptyString ;
2667 wxString *arg2 = (wxString *) &arg2_defvalue ;
2668 wxString const &arg3_defvalue = wxPyEmptyString ;
2669 wxString *arg3 = (wxString *) &arg3_defvalue ;
2670 wxWindow *arg4 = (wxWindow *) NULL ;
2671 int arg5 = (int) -1 ;
2672 int arg6 = (int) -1 ;
2673 bool arg7 = (bool) True ;
2674 wxString result;
2675 bool temp1 = False ;
2676 bool temp2 = False ;
2677 bool temp3 = False ;
2678 PyObject * obj0 = 0 ;
2679 PyObject * obj1 = 0 ;
2680 PyObject * obj2 = 0 ;
2681 PyObject * obj3 = 0 ;
2682 PyObject * obj6 = 0 ;
2683 char *kwnames[] = {
2684 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2685 };
2686
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2688 {
2689 arg1 = wxString_in_helper(obj0);
2690 if (arg1 == NULL) SWIG_fail;
2691 temp1 = True;
2692 }
2693 if (obj1) {
2694 {
2695 arg2 = wxString_in_helper(obj1);
2696 if (arg2 == NULL) SWIG_fail;
2697 temp2 = True;
2698 }
2699 }
2700 if (obj2) {
2701 {
2702 arg3 = wxString_in_helper(obj2);
2703 if (arg3 == NULL) SWIG_fail;
2704 temp3 = True;
2705 }
2706 }
2707 if (obj3) {
2708 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2709 }
2710 if (obj6) {
2711 arg7 = PyInt_AsLong(obj6) ? true : false;
2712 if (PyErr_Occurred()) SWIG_fail;
2713 }
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 {
2722 #if wxUSE_UNICODE
2723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2724 #else
2725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2726 #endif
2727 }
2728 {
2729 if (temp1)
2730 delete arg1;
2731 }
2732 {
2733 if (temp2)
2734 delete arg2;
2735 }
2736 {
2737 if (temp3)
2738 delete arg3;
2739 }
2740 return resultobj;
2741 fail:
2742 {
2743 if (temp1)
2744 delete arg1;
2745 }
2746 {
2747 if (temp2)
2748 delete arg2;
2749 }
2750 {
2751 if (temp3)
2752 delete arg3;
2753 }
2754 return NULL;
2755 }
2756
2757
2758 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxString *arg1 = 0 ;
2761 wxString const &arg2_defvalue = wxPyEmptyString ;
2762 wxString *arg2 = (wxString *) &arg2_defvalue ;
2763 wxString const &arg3_defvalue = wxPyEmptyString ;
2764 wxString *arg3 = (wxString *) &arg3_defvalue ;
2765 wxWindow *arg4 = (wxWindow *) NULL ;
2766 wxString result;
2767 bool temp1 = False ;
2768 bool temp2 = False ;
2769 bool temp3 = False ;
2770 PyObject * obj0 = 0 ;
2771 PyObject * obj1 = 0 ;
2772 PyObject * obj2 = 0 ;
2773 PyObject * obj3 = 0 ;
2774 char *kwnames[] = {
2775 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2776 };
2777
2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2779 {
2780 arg1 = wxString_in_helper(obj0);
2781 if (arg1 == NULL) SWIG_fail;
2782 temp1 = True;
2783 }
2784 if (obj1) {
2785 {
2786 arg2 = wxString_in_helper(obj1);
2787 if (arg2 == NULL) SWIG_fail;
2788 temp2 = True;
2789 }
2790 }
2791 if (obj2) {
2792 {
2793 arg3 = wxString_in_helper(obj2);
2794 if (arg3 == NULL) SWIG_fail;
2795 temp3 = True;
2796 }
2797 }
2798 if (obj3) {
2799 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2800 }
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 {
2809 #if wxUSE_UNICODE
2810 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2811 #else
2812 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2813 #endif
2814 }
2815 {
2816 if (temp1)
2817 delete arg1;
2818 }
2819 {
2820 if (temp2)
2821 delete arg2;
2822 }
2823 {
2824 if (temp3)
2825 delete arg3;
2826 }
2827 return resultobj;
2828 fail:
2829 {
2830 if (temp1)
2831 delete arg1;
2832 }
2833 {
2834 if (temp2)
2835 delete arg2;
2836 }
2837 {
2838 if (temp3)
2839 delete arg3;
2840 }
2841 return NULL;
2842 }
2843
2844
2845 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2846 PyObject *resultobj;
2847 wxString *arg1 = 0 ;
2848 wxString *arg2 = 0 ;
2849 int arg3 ;
2850 wxString *arg4 = (wxString *) 0 ;
2851 wxWindow *arg5 = (wxWindow *) NULL ;
2852 int arg6 = (int) -1 ;
2853 int arg7 = (int) -1 ;
2854 bool arg8 = (bool) True ;
2855 int arg9 = (int) 150 ;
2856 int arg10 = (int) 200 ;
2857 wxString result;
2858 bool temp1 = False ;
2859 bool temp2 = False ;
2860 PyObject * obj0 = 0 ;
2861 PyObject * obj1 = 0 ;
2862 PyObject * obj2 = 0 ;
2863 PyObject * obj3 = 0 ;
2864 PyObject * obj6 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2870 {
2871 arg1 = wxString_in_helper(obj0);
2872 if (arg1 == NULL) SWIG_fail;
2873 temp1 = True;
2874 }
2875 {
2876 arg2 = wxString_in_helper(obj1);
2877 if (arg2 == NULL) SWIG_fail;
2878 temp2 = True;
2879 }
2880 {
2881 arg3 = PyList_Size(obj2);
2882 arg4 = wxString_LIST_helper(obj2);
2883 if (arg4 == NULL) SWIG_fail;
2884 }
2885 if (obj3) {
2886 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2887 }
2888 if (obj6) {
2889 arg8 = PyInt_AsLong(obj6) ? true : false;
2890 if (PyErr_Occurred()) SWIG_fail;
2891 }
2892 {
2893 PyThreadState* __tstate = wxPyBeginAllowThreads();
2894 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2895
2896 wxPyEndAllowThreads(__tstate);
2897 if (PyErr_Occurred()) SWIG_fail;
2898 }
2899 {
2900 #if wxUSE_UNICODE
2901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2902 #else
2903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2904 #endif
2905 }
2906 {
2907 if (temp1)
2908 delete arg1;
2909 }
2910 {
2911 if (temp2)
2912 delete arg2;
2913 }
2914 {
2915 if (arg4) delete [] arg4;
2916 }
2917 return resultobj;
2918 fail:
2919 {
2920 if (temp1)
2921 delete arg1;
2922 }
2923 {
2924 if (temp2)
2925 delete arg2;
2926 }
2927 {
2928 if (arg4) delete [] arg4;
2929 }
2930 return NULL;
2931 }
2932
2933
2934 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxString *arg1 = 0 ;
2937 wxString *arg2 = 0 ;
2938 int arg3 ;
2939 wxString *arg4 = (wxString *) 0 ;
2940 wxWindow *arg5 = (wxWindow *) NULL ;
2941 int arg6 = (int) -1 ;
2942 int arg7 = (int) -1 ;
2943 bool arg8 = (bool) True ;
2944 int arg9 = (int) 150 ;
2945 int arg10 = (int) 200 ;
2946 int result;
2947 bool temp1 = False ;
2948 bool temp2 = False ;
2949 PyObject * obj0 = 0 ;
2950 PyObject * obj1 = 0 ;
2951 PyObject * obj2 = 0 ;
2952 PyObject * obj3 = 0 ;
2953 PyObject * obj6 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2959 {
2960 arg1 = wxString_in_helper(obj0);
2961 if (arg1 == NULL) SWIG_fail;
2962 temp1 = True;
2963 }
2964 {
2965 arg2 = wxString_in_helper(obj1);
2966 if (arg2 == NULL) SWIG_fail;
2967 temp2 = True;
2968 }
2969 {
2970 arg3 = PyList_Size(obj2);
2971 arg4 = wxString_LIST_helper(obj2);
2972 if (arg4 == NULL) SWIG_fail;
2973 }
2974 if (obj3) {
2975 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2976 }
2977 if (obj6) {
2978 arg8 = PyInt_AsLong(obj6) ? true : false;
2979 if (PyErr_Occurred()) SWIG_fail;
2980 }
2981 {
2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2983 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2984
2985 wxPyEndAllowThreads(__tstate);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 }
2988 resultobj = PyInt_FromLong((long)result);
2989 {
2990 if (temp1)
2991 delete arg1;
2992 }
2993 {
2994 if (temp2)
2995 delete arg2;
2996 }
2997 {
2998 if (arg4) delete [] arg4;
2999 }
3000 return resultobj;
3001 fail:
3002 {
3003 if (temp1)
3004 delete arg1;
3005 }
3006 {
3007 if (temp2)
3008 delete arg2;
3009 }
3010 {
3011 if (arg4) delete [] arg4;
3012 }
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxString *arg1 = 0 ;
3020 wxString const &arg2_defvalue = wxPyEmptyString ;
3021 wxString *arg2 = (wxString *) &arg2_defvalue ;
3022 int arg3 = (int) wxOK|wxCENTRE ;
3023 wxWindow *arg4 = (wxWindow *) NULL ;
3024 int arg5 = (int) -1 ;
3025 int arg6 = (int) -1 ;
3026 int result;
3027 bool temp1 = False ;
3028 bool temp2 = False ;
3029 PyObject * obj0 = 0 ;
3030 PyObject * obj1 = 0 ;
3031 PyObject * obj3 = 0 ;
3032 char *kwnames[] = {
3033 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3034 };
3035
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3037 {
3038 arg1 = wxString_in_helper(obj0);
3039 if (arg1 == NULL) SWIG_fail;
3040 temp1 = True;
3041 }
3042 if (obj1) {
3043 {
3044 arg2 = wxString_in_helper(obj1);
3045 if (arg2 == NULL) SWIG_fail;
3046 temp2 = True;
3047 }
3048 }
3049 if (obj3) {
3050 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3051 }
3052 {
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3055
3056 wxPyEndAllowThreads(__tstate);
3057 if (PyErr_Occurred()) SWIG_fail;
3058 }
3059 resultobj = PyInt_FromLong((long)result);
3060 {
3061 if (temp1)
3062 delete arg1;
3063 }
3064 {
3065 if (temp2)
3066 delete arg2;
3067 }
3068 return resultobj;
3069 fail:
3070 {
3071 if (temp1)
3072 delete arg1;
3073 }
3074 {
3075 if (temp2)
3076 delete arg2;
3077 }
3078 return NULL;
3079 }
3080
3081
3082 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3083 PyObject *resultobj;
3084 wxString *arg1 = 0 ;
3085 wxString *arg2 = 0 ;
3086 wxString *arg3 = 0 ;
3087 long arg4 ;
3088 long arg5 = (long) 0 ;
3089 long arg6 = (long) 100 ;
3090 wxWindow *arg7 = (wxWindow *) NULL ;
3091 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3092 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3093 long result;
3094 bool temp1 = False ;
3095 bool temp2 = False ;
3096 bool temp3 = False ;
3097 wxPoint temp8 ;
3098 PyObject * obj0 = 0 ;
3099 PyObject * obj1 = 0 ;
3100 PyObject * obj2 = 0 ;
3101 PyObject * obj6 = 0 ;
3102 PyObject * obj7 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3108 {
3109 arg1 = wxString_in_helper(obj0);
3110 if (arg1 == NULL) SWIG_fail;
3111 temp1 = True;
3112 }
3113 {
3114 arg2 = wxString_in_helper(obj1);
3115 if (arg2 == NULL) SWIG_fail;
3116 temp2 = True;
3117 }
3118 {
3119 arg3 = wxString_in_helper(obj2);
3120 if (arg3 == NULL) SWIG_fail;
3121 temp3 = True;
3122 }
3123 if (obj6) {
3124 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3125 }
3126 if (obj7) {
3127 {
3128 arg8 = &temp8;
3129 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3130 }
3131 }
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 resultobj = PyInt_FromLong((long)result);
3140 {
3141 if (temp1)
3142 delete arg1;
3143 }
3144 {
3145 if (temp2)
3146 delete arg2;
3147 }
3148 {
3149 if (temp3)
3150 delete arg3;
3151 }
3152 return resultobj;
3153 fail:
3154 {
3155 if (temp1)
3156 delete arg1;
3157 }
3158 {
3159 if (temp2)
3160 delete arg2;
3161 }
3162 {
3163 if (temp3)
3164 delete arg3;
3165 }
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 bool result;
3173 char *kwnames[] = {
3174 NULL
3175 };
3176
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3178 {
3179 PyThreadState* __tstate = wxPyBeginAllowThreads();
3180 result = (bool)wxColourDisplay();
3181
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 resultobj = PyInt_FromLong((long)result);
3186 return resultobj;
3187 fail:
3188 return NULL;
3189 }
3190
3191
3192 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject *resultobj;
3194 int result;
3195 char *kwnames[] = {
3196 NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3200 {
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 result = (int)wxDisplayDepth();
3203
3204 wxPyEndAllowThreads(__tstate);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
3207 resultobj = PyInt_FromLong((long)result);
3208 return resultobj;
3209 fail:
3210 return NULL;
3211 }
3212
3213
3214 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 int result;
3217 char *kwnames[] = {
3218 NULL
3219 };
3220
3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 result = (int)wxGetDisplayDepth();
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 resultobj = PyInt_FromLong((long)result);
3230 return resultobj;
3231 fail:
3232 return NULL;
3233 }
3234
3235
3236 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 int *arg1 = (int *) 0 ;
3239 int *arg2 = (int *) 0 ;
3240 int temp1 ;
3241 int temp2 ;
3242 char *kwnames[] = {
3243 NULL
3244 };
3245
3246 arg1 = &temp1;
3247 arg2 = &temp2;
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 wxDisplaySize(arg1,arg2);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 Py_INCREF(Py_None); resultobj = Py_None;
3257 {
3258 PyObject *o = PyInt_FromLong((long) (*arg1));
3259 resultobj = t_output_helper(resultobj,o);
3260 }
3261 {
3262 PyObject *o = PyInt_FromLong((long) (*arg2));
3263 resultobj = t_output_helper(resultobj,o);
3264 }
3265 return resultobj;
3266 fail:
3267 return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject *resultobj;
3273 wxSize result;
3274 char *kwnames[] = {
3275 NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3279 {
3280 PyThreadState* __tstate = wxPyBeginAllowThreads();
3281 result = wxGetDisplaySize();
3282
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 {
3287 wxSize * resultptr;
3288 resultptr = new wxSize((wxSize &) result);
3289 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3290 }
3291 return resultobj;
3292 fail:
3293 return NULL;
3294 }
3295
3296
3297 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3298 PyObject *resultobj;
3299 int *arg1 = (int *) 0 ;
3300 int *arg2 = (int *) 0 ;
3301 int temp1 ;
3302 int temp2 ;
3303 char *kwnames[] = {
3304 NULL
3305 };
3306
3307 arg1 = &temp1;
3308 arg2 = &temp2;
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3310 {
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 wxDisplaySizeMM(arg1,arg2);
3313
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 Py_INCREF(Py_None); resultobj = Py_None;
3318 {
3319 PyObject *o = PyInt_FromLong((long) (*arg1));
3320 resultobj = t_output_helper(resultobj,o);
3321 }
3322 {
3323 PyObject *o = PyInt_FromLong((long) (*arg2));
3324 resultobj = t_output_helper(resultobj,o);
3325 }
3326 return resultobj;
3327 fail:
3328 return NULL;
3329 }
3330
3331
3332 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3333 PyObject *resultobj;
3334 wxSize result;
3335 char *kwnames[] = {
3336 NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3340 {
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 result = wxGetDisplaySizeMM();
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 {
3348 wxSize * resultptr;
3349 resultptr = new wxSize((wxSize &) result);
3350 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3351 }
3352 return resultobj;
3353 fail:
3354 return NULL;
3355 }
3356
3357
3358 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3359 PyObject *resultobj;
3360 int *arg1 = (int *) 0 ;
3361 int *arg2 = (int *) 0 ;
3362 int *arg3 = (int *) 0 ;
3363 int *arg4 = (int *) 0 ;
3364 int temp1 ;
3365 int temp2 ;
3366 int temp3 ;
3367 int temp4 ;
3368 char *kwnames[] = {
3369 NULL
3370 };
3371
3372 arg1 = &temp1;
3373 arg2 = &temp2;
3374 arg3 = &temp3;
3375 arg4 = &temp4;
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 Py_INCREF(Py_None); resultobj = Py_None;
3385 {
3386 PyObject *o = PyInt_FromLong((long) (*arg1));
3387 resultobj = t_output_helper(resultobj,o);
3388 }
3389 {
3390 PyObject *o = PyInt_FromLong((long) (*arg2));
3391 resultobj = t_output_helper(resultobj,o);
3392 }
3393 {
3394 PyObject *o = PyInt_FromLong((long) (*arg3));
3395 resultobj = t_output_helper(resultobj,o);
3396 }
3397 {
3398 PyObject *o = PyInt_FromLong((long) (*arg4));
3399 resultobj = t_output_helper(resultobj,o);
3400 }
3401 return resultobj;
3402 fail:
3403 return NULL;
3404 }
3405
3406
3407 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3408 PyObject *resultobj;
3409 wxRect result;
3410 char *kwnames[] = {
3411 NULL
3412 };
3413
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 result = wxGetClientDisplayRect();
3418
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 {
3423 wxRect * resultptr;
3424 resultptr = new wxRect((wxRect &) result);
3425 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3426 }
3427 return resultobj;
3428 fail:
3429 return NULL;
3430 }
3431
3432
3433 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxCursor *arg1 = 0 ;
3436 PyObject * obj0 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "cursor", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3443 if (arg1 == NULL) {
3444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3445 }
3446 {
3447 PyThreadState* __tstate = wxPyBeginAllowThreads();
3448 wxSetCursor(*arg1);
3449
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 Py_INCREF(Py_None); resultobj = Py_None;
3454 return resultobj;
3455 fail:
3456 return NULL;
3457 }
3458
3459
3460 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3461 PyObject *resultobj;
3462 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3463 PyObject * obj0 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "cursor", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3469 if (obj0) {
3470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3471 }
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 wxBeginBusyCursor(arg1);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 Py_INCREF(Py_None); resultobj = Py_None;
3480 return resultobj;
3481 fail:
3482 return NULL;
3483 }
3484
3485
3486 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxWindow *result;
3489 char *kwnames[] = {
3490 NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 result = (wxWindow *)wxGetActiveWindow();
3497
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 {
3502 resultobj = wxPyMake_wxObject(result);
3503 }
3504 return resultobj;
3505 fail:
3506 return NULL;
3507 }
3508
3509
3510 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3511 PyObject *resultobj;
3512 wxPoint *arg1 = 0 ;
3513 wxWindow *result;
3514 wxPoint temp1 ;
3515 PyObject * obj0 = 0 ;
3516 char *kwnames[] = {
3517 (char *) "pt", NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3521 {
3522 arg1 = &temp1;
3523 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3524 }
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 {
3533 resultobj = wxPyMake_wxObject(result);
3534 }
3535 return resultobj;
3536 fail:
3537 return NULL;
3538 }
3539
3540
3541 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject *resultobj;
3543 wxPoint *arg1 = 0 ;
3544 wxWindow *result;
3545 wxPoint temp1 ;
3546 PyObject * obj0 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "pt", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3552 {
3553 arg1 = &temp1;
3554 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3555 }
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 {
3564 resultobj = wxPyMake_wxObject(result);
3565 }
3566 return resultobj;
3567 fail:
3568 return NULL;
3569 }
3570
3571
3572 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3573 PyObject *resultobj;
3574 wxWindow *arg1 = (wxWindow *) 0 ;
3575 wxWindow *result;
3576 PyObject * obj0 = 0 ;
3577 char *kwnames[] = {
3578 (char *) "win", NULL
3579 };
3580
3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = (wxWindow *)wxGetTopLevelParent(arg1);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 {
3591 resultobj = wxPyMake_wxObject(result);
3592 }
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3600 PyObject *resultobj;
3601 char *kwnames[] = {
3602 NULL
3603 };
3604
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 wxWakeUpMainThread();
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 Py_INCREF(Py_None); resultobj = Py_None;
3614 return resultobj;
3615 fail:
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 char *kwnames[] = {
3623 NULL
3624 };
3625
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 wxMutexGuiEnter();
3630
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 Py_INCREF(Py_None); resultobj = Py_None;
3635 return resultobj;
3636 fail:
3637 return NULL;
3638 }
3639
3640
3641 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 char *kwnames[] = {
3644 NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 wxMutexGuiLeave();
3651
3652 wxPyEndAllowThreads(__tstate);
3653 if (PyErr_Occurred()) SWIG_fail;
3654 }
3655 Py_INCREF(Py_None); resultobj = Py_None;
3656 return resultobj;
3657 fail:
3658 return NULL;
3659 }
3660
3661
3662 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxMutexGuiLocker *result;
3665 char *kwnames[] = {
3666 NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3678 return resultobj;
3679 fail:
3680 return NULL;
3681 }
3682
3683
3684 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3685 PyObject *resultobj;
3686 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3687 PyObject * obj0 = 0 ;
3688 char *kwnames[] = {
3689 (char *) "self", NULL
3690 };
3691
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 delete arg1;
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 Py_INCREF(Py_None); resultobj = Py_None;
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3709 PyObject *obj;
3710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3711 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3712 Py_INCREF(obj);
3713 return Py_BuildValue((char *)"");
3714 }
3715 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 bool result;
3718 char *kwnames[] = {
3719 NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 result = (bool)wxThread_IsMain();
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 resultobj = PyInt_FromLong((long)result);
3731 return resultobj;
3732 fail:
3733 return NULL;
3734 }
3735
3736
3737 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 wxString *arg1 = 0 ;
3740 wxToolTip *result;
3741 bool temp1 = False ;
3742 PyObject * obj0 = 0 ;
3743 char *kwnames[] = {
3744 (char *) "tip", NULL
3745 };
3746
3747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3748 {
3749 arg1 = wxString_in_helper(obj0);
3750 if (arg1 == NULL) SWIG_fail;
3751 temp1 = True;
3752 }
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 {
3761 resultobj = wxPyMake_wxObject(result);
3762 }
3763 {
3764 if (temp1)
3765 delete arg1;
3766 }
3767 return resultobj;
3768 fail:
3769 {
3770 if (temp1)
3771 delete arg1;
3772 }
3773 return NULL;
3774 }
3775
3776
3777 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3778 PyObject *resultobj;
3779 wxToolTip *arg1 = (wxToolTip *) 0 ;
3780 wxString *arg2 = 0 ;
3781 bool temp2 = False ;
3782 PyObject * obj0 = 0 ;
3783 PyObject * obj1 = 0 ;
3784 char *kwnames[] = {
3785 (char *) "self",(char *) "tip", NULL
3786 };
3787
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3790 {
3791 arg2 = wxString_in_helper(obj1);
3792 if (arg2 == NULL) SWIG_fail;
3793 temp2 = True;
3794 }
3795 {
3796 PyThreadState* __tstate = wxPyBeginAllowThreads();
3797 (arg1)->SetTip((wxString const &)*arg2);
3798
3799 wxPyEndAllowThreads(__tstate);
3800 if (PyErr_Occurred()) SWIG_fail;
3801 }
3802 Py_INCREF(Py_None); resultobj = Py_None;
3803 {
3804 if (temp2)
3805 delete arg2;
3806 }
3807 return resultobj;
3808 fail:
3809 {
3810 if (temp2)
3811 delete arg2;
3812 }
3813 return NULL;
3814 }
3815
3816
3817 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3818 PyObject *resultobj;
3819 wxToolTip *arg1 = (wxToolTip *) 0 ;
3820 wxString result;
3821 PyObject * obj0 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (arg1)->GetTip();
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 {
3836 #if wxUSE_UNICODE
3837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3838 #else
3839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3840 #endif
3841 }
3842 return resultobj;
3843 fail:
3844 return NULL;
3845 }
3846
3847
3848 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3849 PyObject *resultobj;
3850 wxToolTip *arg1 = (wxToolTip *) 0 ;
3851 wxWindow *result;
3852 PyObject * obj0 = 0 ;
3853 char *kwnames[] = {
3854 (char *) "self", NULL
3855 };
3856
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 result = (wxWindow *)(arg1)->GetWindow();
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 {
3867 resultobj = wxPyMake_wxObject(result);
3868 }
3869 return resultobj;
3870 fail:
3871 return NULL;
3872 }
3873
3874
3875 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3876 PyObject *resultobj;
3877 bool arg1 ;
3878 PyObject * obj0 = 0 ;
3879 char *kwnames[] = {
3880 (char *) "flag", NULL
3881 };
3882
3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3884 arg1 = PyInt_AsLong(obj0) ? true : false;
3885 if (PyErr_Occurred()) SWIG_fail;
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 wxToolTip::Enable(arg1);
3889
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 Py_INCREF(Py_None); resultobj = Py_None;
3894 return resultobj;
3895 fail:
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 long arg1 ;
3903 char *kwnames[] = {
3904 (char *) "milliseconds", NULL
3905 };
3906
3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 wxToolTip::SetDelay(arg1);
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
3915 Py_INCREF(Py_None); resultobj = Py_None;
3916 return resultobj;
3917 fail:
3918 return NULL;
3919 }
3920
3921
3922 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
3923 PyObject *obj;
3924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3925 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
3926 Py_INCREF(obj);
3927 return Py_BuildValue((char *)"");
3928 }
3929 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3930 PyObject *resultobj;
3931 wxWindow *arg1 = (wxWindow *) 0 ;
3932 wxSize *arg2 = 0 ;
3933 wxCaret *result;
3934 wxSize temp2 ;
3935 PyObject * obj0 = 0 ;
3936 PyObject * obj1 = 0 ;
3937 char *kwnames[] = {
3938 (char *) "window",(char *) "size", NULL
3939 };
3940
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
3942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3943 {
3944 arg2 = &temp2;
3945 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3946 }
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
3950
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
3955 return resultobj;
3956 fail:
3957 return NULL;
3958 }
3959
3960
3961 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject *resultobj;
3963 wxCaret *arg1 = (wxCaret *) 0 ;
3964 PyObject * obj0 = 0 ;
3965 char *kwnames[] = {
3966 (char *) "self", NULL
3967 };
3968
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
3970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 delete arg1;
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 Py_INCREF(Py_None); resultobj = Py_None;
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxCaret *arg1 = (wxCaret *) 0 ;
3988 bool result;
3989 PyObject * obj0 = 0 ;
3990 char *kwnames[] = {
3991 (char *) "self", NULL
3992 };
3993
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
3995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3996 {
3997 PyThreadState* __tstate = wxPyBeginAllowThreads();
3998 result = (bool)(arg1)->IsOk();
3999
4000 wxPyEndAllowThreads(__tstate);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 resultobj = PyInt_FromLong((long)result);
4004 return resultobj;
4005 fail:
4006 return NULL;
4007 }
4008
4009
4010 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxCaret *arg1 = (wxCaret *) 0 ;
4013 bool result;
4014 PyObject * obj0 = 0 ;
4015 char *kwnames[] = {
4016 (char *) "self", NULL
4017 };
4018
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 result = (bool)(arg1)->IsVisible();
4024
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 resultobj = PyInt_FromLong((long)result);
4029 return resultobj;
4030 fail:
4031 return NULL;
4032 }
4033
4034
4035 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj;
4037 wxCaret *arg1 = (wxCaret *) 0 ;
4038 wxPoint result;
4039 PyObject * obj0 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 result = (arg1)->GetPosition();
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 {
4054 wxPoint * resultptr;
4055 resultptr = new wxPoint((wxPoint &) result);
4056 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4057 }
4058 return resultobj;
4059 fail:
4060 return NULL;
4061 }
4062
4063
4064 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject *resultobj;
4066 wxCaret *arg1 = (wxCaret *) 0 ;
4067 int *arg2 = (int *) 0 ;
4068 int *arg3 = (int *) 0 ;
4069 int temp2 ;
4070 int temp3 ;
4071 PyObject * obj0 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self", NULL
4074 };
4075
4076 arg2 = &temp2;
4077 arg3 = &temp3;
4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4080 {
4081 PyThreadState* __tstate = wxPyBeginAllowThreads();
4082 (arg1)->GetPosition(arg2,arg3);
4083
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 Py_INCREF(Py_None); resultobj = Py_None;
4088 {
4089 PyObject *o = PyInt_FromLong((long) (*arg2));
4090 resultobj = t_output_helper(resultobj,o);
4091 }
4092 {
4093 PyObject *o = PyInt_FromLong((long) (*arg3));
4094 resultobj = t_output_helper(resultobj,o);
4095 }
4096 return resultobj;
4097 fail:
4098 return NULL;
4099 }
4100
4101
4102 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4103 PyObject *resultobj;
4104 wxCaret *arg1 = (wxCaret *) 0 ;
4105 wxSize result;
4106 PyObject * obj0 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self", NULL
4109 };
4110
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 result = (arg1)->GetSize();
4116
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 {
4121 wxSize * resultptr;
4122 resultptr = new wxSize((wxSize &) result);
4123 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4124 }
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxCaret *arg1 = (wxCaret *) 0 ;
4134 int *arg2 = (int *) 0 ;
4135 int *arg3 = (int *) 0 ;
4136 int temp2 ;
4137 int temp3 ;
4138 PyObject * obj0 = 0 ;
4139 char *kwnames[] = {
4140 (char *) "self", NULL
4141 };
4142
4143 arg2 = &temp2;
4144 arg3 = &temp3;
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 (arg1)->GetSize(arg2,arg3);
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 Py_INCREF(Py_None); resultobj = Py_None;
4155 {
4156 PyObject *o = PyInt_FromLong((long) (*arg2));
4157 resultobj = t_output_helper(resultobj,o);
4158 }
4159 {
4160 PyObject *o = PyInt_FromLong((long) (*arg3));
4161 resultobj = t_output_helper(resultobj,o);
4162 }
4163 return resultobj;
4164 fail:
4165 return NULL;
4166 }
4167
4168
4169 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj;
4171 wxCaret *arg1 = (wxCaret *) 0 ;
4172 wxWindow *result;
4173 PyObject * obj0 = 0 ;
4174 char *kwnames[] = {
4175 (char *) "self", NULL
4176 };
4177
4178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4180 {
4181 PyThreadState* __tstate = wxPyBeginAllowThreads();
4182 result = (wxWindow *)(arg1)->GetWindow();
4183
4184 wxPyEndAllowThreads(__tstate);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 }
4187 {
4188 resultobj = wxPyMake_wxObject(result);
4189 }
4190 return resultobj;
4191 fail:
4192 return NULL;
4193 }
4194
4195
4196 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxCaret *arg1 = (wxCaret *) 0 ;
4199 int arg2 ;
4200 int arg3 ;
4201 PyObject * obj0 = 0 ;
4202 char *kwnames[] = {
4203 (char *) "self",(char *) "x",(char *) "y", NULL
4204 };
4205
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 (arg1)->Move(arg2,arg3);
4211
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 Py_INCREF(Py_None); resultobj = Py_None;
4216 return resultobj;
4217 fail:
4218 return NULL;
4219 }
4220
4221
4222 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj;
4224 wxCaret *arg1 = (wxCaret *) 0 ;
4225 wxPoint *arg2 = 0 ;
4226 wxPoint temp2 ;
4227 PyObject * obj0 = 0 ;
4228 PyObject * obj1 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self",(char *) "pt", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4235 {
4236 arg2 = &temp2;
4237 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4238 }
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 (arg1)->Move((wxPoint const &)*arg2);
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 Py_INCREF(Py_None); resultobj = Py_None;
4247 return resultobj;
4248 fail:
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxCaret *arg1 = (wxCaret *) 0 ;
4256 int arg2 ;
4257 int arg3 ;
4258 PyObject * obj0 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self",(char *) "width",(char *) "height", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4265 {
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 (arg1)->SetSize(arg2,arg3);
4268
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4272 Py_INCREF(Py_None); resultobj = Py_None;
4273 return resultobj;
4274 fail:
4275 return NULL;
4276 }
4277
4278
4279 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj;
4281 wxCaret *arg1 = (wxCaret *) 0 ;
4282 wxSize *arg2 = 0 ;
4283 wxSize temp2 ;
4284 PyObject * obj0 = 0 ;
4285 PyObject * obj1 = 0 ;
4286 char *kwnames[] = {
4287 (char *) "self",(char *) "size", NULL
4288 };
4289
4290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4292 {
4293 arg2 = &temp2;
4294 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4295 }
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 (arg1)->SetSize((wxSize const &)*arg2);
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxCaret *arg1 = (wxCaret *) 0 ;
4313 int arg2 = (int) True ;
4314 PyObject * obj0 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self",(char *) "show", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->Show(arg2);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 Py_INCREF(Py_None); resultobj = Py_None;
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxCaret *arg1 = (wxCaret *) 0 ;
4338 PyObject * obj0 = 0 ;
4339 char *kwnames[] = {
4340 (char *) "self", NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 (arg1)->Hide();
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 Py_INCREF(Py_None); resultobj = Py_None;
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4360 PyObject *obj;
4361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4362 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4363 Py_INCREF(obj);
4364 return Py_BuildValue((char *)"");
4365 }
4366 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 int result;
4369 char *kwnames[] = {
4370 NULL
4371 };
4372
4373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = (int)wxCaret_GetBlinkTime();
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 resultobj = PyInt_FromLong((long)result);
4382 return resultobj;
4383 fail:
4384 return NULL;
4385 }
4386
4387
4388 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4389 PyObject *resultobj;
4390 int arg1 ;
4391 char *kwnames[] = {
4392 (char *) "milliseconds", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 wxCaret_SetBlinkTime(arg1);
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 Py_INCREF(Py_None); resultobj = Py_None;
4404 return resultobj;
4405 fail:
4406 return NULL;
4407 }
4408
4409
4410 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4411 PyObject *resultobj;
4412 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4413 wxBusyCursor *result;
4414 PyObject * obj0 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "cursor", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4420 if (obj0) {
4421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4422 }
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4431 return resultobj;
4432 fail:
4433 return NULL;
4434 }
4435
4436
4437 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject *resultobj;
4439 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4440 PyObject * obj0 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 delete arg1;
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 Py_INCREF(Py_None); resultobj = Py_None;
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4462 PyObject *obj;
4463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4464 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4465 Py_INCREF(obj);
4466 return Py_BuildValue((char *)"");
4467 }
4468 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj;
4470 wxWindow *arg1 = (wxWindow *) NULL ;
4471 wxWindowDisabler *result;
4472 PyObject * obj0 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "winToSkip", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4478 if (obj0) {
4479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4480 }
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj;
4497 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4498 PyObject * obj0 = 0 ;
4499 char *kwnames[] = {
4500 (char *) "self", NULL
4501 };
4502
4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 delete arg1;
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4520 PyObject *obj;
4521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4522 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4523 Py_INCREF(obj);
4524 return Py_BuildValue((char *)"");
4525 }
4526 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxString *arg1 = 0 ;
4529 wxBusyInfo *result;
4530 bool temp1 = False ;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "message", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4537 {
4538 arg1 = wxString_in_helper(obj0);
4539 if (arg1 == NULL) SWIG_fail;
4540 temp1 = True;
4541 }
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4550 {
4551 if (temp1)
4552 delete arg1;
4553 }
4554 return resultobj;
4555 fail:
4556 {
4557 if (temp1)
4558 delete arg1;
4559 }
4560 return NULL;
4561 }
4562
4563
4564 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj;
4566 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4567 PyObject * obj0 = 0 ;
4568 char *kwnames[] = {
4569 (char *) "self", NULL
4570 };
4571
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
4576 delete arg1;
4577
4578 wxPyEndAllowThreads(__tstate);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 }
4581 Py_INCREF(Py_None); resultobj = Py_None;
4582 return resultobj;
4583 fail:
4584 return NULL;
4585 }
4586
4587
4588 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4589 PyObject *obj;
4590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4591 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4592 Py_INCREF(obj);
4593 return Py_BuildValue((char *)"");
4594 }
4595 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject *resultobj;
4597 wxStopWatch *result;
4598 char *kwnames[] = {
4599 NULL
4600 };
4601
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4603 {
4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
4605 result = (wxStopWatch *)new wxStopWatch();
4606
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4611 return resultobj;
4612 fail:
4613 return NULL;
4614 }
4615
4616
4617 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4618 PyObject *resultobj;
4619 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4620 long arg2 = (long) 0 ;
4621 PyObject * obj0 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self",(char *) "t0", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
4630 (arg1)->Start(arg2);
4631
4632 wxPyEndAllowThreads(__tstate);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 Py_INCREF(Py_None); resultobj = Py_None;
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4645 PyObject * obj0 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4652 {
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 (arg1)->Pause();
4655
4656 wxPyEndAllowThreads(__tstate);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 Py_INCREF(Py_None); resultobj = Py_None;
4660 return resultobj;
4661 fail:
4662 return NULL;
4663 }
4664
4665
4666 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj;
4668 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4669 PyObject * obj0 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "self", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 (arg1)->Resume();
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 Py_INCREF(Py_None); resultobj = Py_None;
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj;
4692 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4693 long result;
4694 PyObject * obj0 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 result = (long)((wxStopWatch const *)arg1)->Time();
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 resultobj = PyInt_FromLong((long)result);
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4716 PyObject *obj;
4717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4718 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4719 Py_INCREF(obj);
4720 return Py_BuildValue((char *)"");
4721 }
4722 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj;
4724 int arg1 = (int) 9 ;
4725 wxFileHistory *result;
4726 char *kwnames[] = {
4727 (char *) "maxFiles", NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (wxFileHistory *)new wxFileHistory(arg1);
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4739 return resultobj;
4740 fail:
4741 return NULL;
4742 }
4743
4744
4745 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4748 PyObject * obj0 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 delete arg1;
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 Py_INCREF(Py_None); resultobj = Py_None;
4763 return resultobj;
4764 fail:
4765 return NULL;
4766 }
4767
4768
4769 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj;
4771 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4772 wxString *arg2 = 0 ;
4773 bool temp2 = False ;
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self",(char *) "file", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4782 {
4783 arg2 = wxString_in_helper(obj1);
4784 if (arg2 == NULL) SWIG_fail;
4785 temp2 = True;
4786 }
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 (arg1)->AddFileToHistory((wxString const &)*arg2);
4790
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 Py_INCREF(Py_None); resultobj = Py_None;
4795 {
4796 if (temp2)
4797 delete arg2;
4798 }
4799 return resultobj;
4800 fail:
4801 {
4802 if (temp2)
4803 delete arg2;
4804 }
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4812 int arg2 ;
4813 PyObject * obj0 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "self",(char *) "i", NULL
4816 };
4817
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 (arg1)->RemoveFileFromHistory(arg2);
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) SWIG_fail;
4826 }
4827 Py_INCREF(Py_None); resultobj = Py_None;
4828 return resultobj;
4829 fail:
4830 return NULL;
4831 }
4832
4833
4834 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4835 PyObject *resultobj;
4836 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4837 int result;
4838 PyObject * obj0 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 resultobj = PyInt_FromLong((long)result);
4853 return resultobj;
4854 fail:
4855 return NULL;
4856 }
4857
4858
4859 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4862 wxMenu *arg2 = (wxMenu *) 0 ;
4863 PyObject * obj0 = 0 ;
4864 PyObject * obj1 = 0 ;
4865 char *kwnames[] = {
4866 (char *) "self",(char *) "menu", NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 (arg1)->UseMenu(arg2);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 Py_INCREF(Py_None); resultobj = Py_None;
4880 return resultobj;
4881 fail:
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4889 wxMenu *arg2 = (wxMenu *) 0 ;
4890 PyObject * obj0 = 0 ;
4891 PyObject * obj1 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "self",(char *) "menu", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->RemoveMenu(arg2);
4902
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 Py_INCREF(Py_None); resultobj = Py_None;
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4916 wxConfigBase *arg2 = 0 ;
4917 PyObject * obj0 = 0 ;
4918 PyObject * obj1 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "self",(char *) "config", NULL
4921 };
4922
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
4924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4926 if (arg2 == NULL) {
4927 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4928 }
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 (arg1)->Load(*arg2);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 Py_INCREF(Py_None); resultobj = Py_None;
4937 return resultobj;
4938 fail:
4939 return NULL;
4940 }
4941
4942
4943 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject *resultobj;
4945 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4946 wxConfigBase *arg2 = 0 ;
4947 PyObject * obj0 = 0 ;
4948 PyObject * obj1 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self",(char *) "config", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
4954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4956 if (arg2 == NULL) {
4957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4958 }
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 (arg1)->Save(*arg2);
4962
4963 wxPyEndAllowThreads(__tstate);
4964 if (PyErr_Occurred()) SWIG_fail;
4965 }
4966 Py_INCREF(Py_None); resultobj = Py_None;
4967 return resultobj;
4968 fail:
4969 return NULL;
4970 }
4971
4972
4973 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4974 PyObject *resultobj;
4975 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4976 PyObject * obj0 = 0 ;
4977 char *kwnames[] = {
4978 (char *) "self", NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
4982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 (arg1)->AddFilesToMenu();
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 Py_INCREF(Py_None); resultobj = Py_None;
4991 return resultobj;
4992 fail:
4993 return NULL;
4994 }
4995
4996
4997 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4998 PyObject *resultobj;
4999 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5000 wxMenu *arg2 = (wxMenu *) 0 ;
5001 PyObject * obj0 = 0 ;
5002 PyObject * obj1 = 0 ;
5003 char *kwnames[] = {
5004 (char *) "self",(char *) "menu", NULL
5005 };
5006
5007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 (arg1)->AddFilesToMenu(arg2);
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 Py_INCREF(Py_None); resultobj = Py_None;
5018 return resultobj;
5019 fail:
5020 return NULL;
5021 }
5022
5023
5024 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj;
5026 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5027 int arg2 ;
5028 wxString result;
5029 PyObject * obj0 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "i", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 {
5044 #if wxUSE_UNICODE
5045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5046 #else
5047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5048 #endif
5049 }
5050 return resultobj;
5051 fail:
5052 return NULL;
5053 }
5054
5055
5056 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5059 int result;
5060 PyObject * obj0 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (int)((wxFileHistory const *)arg1)->GetCount();
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 resultobj = PyInt_FromLong((long)result);
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5082 PyObject *obj;
5083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5084 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5085 Py_INCREF(obj);
5086 return Py_BuildValue((char *)"");
5087 }
5088 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5089 PyObject *resultobj;
5090 wxString *arg1 = 0 ;
5091 wxString const &arg2_defvalue = wxPyEmptyString ;
5092 wxString *arg2 = (wxString *) &arg2_defvalue ;
5093 wxSingleInstanceChecker *result;
5094 bool temp1 = False ;
5095 bool temp2 = False ;
5096 PyObject * obj0 = 0 ;
5097 PyObject * obj1 = 0 ;
5098 char *kwnames[] = {
5099 (char *) "name",(char *) "path", NULL
5100 };
5101
5102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5103 {
5104 arg1 = wxString_in_helper(obj0);
5105 if (arg1 == NULL) SWIG_fail;
5106 temp1 = True;
5107 }
5108 if (obj1) {
5109 {
5110 arg2 = wxString_in_helper(obj1);
5111 if (arg2 == NULL) SWIG_fail;
5112 temp2 = True;
5113 }
5114 }
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5123 {
5124 if (temp1)
5125 delete arg1;
5126 }
5127 {
5128 if (temp2)
5129 delete arg2;
5130 }
5131 return resultobj;
5132 fail:
5133 {
5134 if (temp1)
5135 delete arg1;
5136 }
5137 {
5138 if (temp2)
5139 delete arg2;
5140 }
5141 return NULL;
5142 }
5143
5144
5145 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj;
5147 wxSingleInstanceChecker *result;
5148 char *kwnames[] = {
5149 NULL
5150 };
5151
5152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5170 PyObject * obj0 = 0 ;
5171 char *kwnames[] = {
5172 (char *) "self", NULL
5173 };
5174
5175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5177 {
5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
5179 delete arg1;
5180
5181 wxPyEndAllowThreads(__tstate);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 }
5184 Py_INCREF(Py_None); resultobj = Py_None;
5185 return resultobj;
5186 fail:
5187 return NULL;
5188 }
5189
5190
5191 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5192 PyObject *resultobj;
5193 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5194 wxString *arg2 = 0 ;
5195 wxString const &arg3_defvalue = wxPyEmptyString ;
5196 wxString *arg3 = (wxString *) &arg3_defvalue ;
5197 bool result;
5198 bool temp2 = False ;
5199 bool temp3 = False ;
5200 PyObject * obj0 = 0 ;
5201 PyObject * obj1 = 0 ;
5202 PyObject * obj2 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self",(char *) "name",(char *) "path", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5209 {
5210 arg2 = wxString_in_helper(obj1);
5211 if (arg2 == NULL) SWIG_fail;
5212 temp2 = True;
5213 }
5214 if (obj2) {
5215 {
5216 arg3 = wxString_in_helper(obj2);
5217 if (arg3 == NULL) SWIG_fail;
5218 temp3 = True;
5219 }
5220 }
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = PyInt_FromLong((long)result);
5229 {
5230 if (temp2)
5231 delete arg2;
5232 }
5233 {
5234 if (temp3)
5235 delete arg3;
5236 }
5237 return resultobj;
5238 fail:
5239 {
5240 if (temp2)
5241 delete arg2;
5242 }
5243 {
5244 if (temp3)
5245 delete arg3;
5246 }
5247 return NULL;
5248 }
5249
5250
5251 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj;
5253 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5254 bool result;
5255 PyObject * obj0 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "self", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = PyInt_FromLong((long)result);
5270 return resultobj;
5271 fail:
5272 return NULL;
5273 }
5274
5275
5276 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5277 PyObject *obj;
5278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5279 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5280 Py_INCREF(obj);
5281 return Py_BuildValue((char *)"");
5282 }
5283 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5284 PyObject *resultobj;
5285 wxWindow *arg1 = (wxWindow *) 0 ;
5286 wxDC *arg2 = 0 ;
5287 int arg3 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "window",(char *) "dc",(char *) "method", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5297 if (arg2 == NULL) {
5298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5299 }
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 Py_INCREF(Py_None); resultobj = Py_None;
5308 return resultobj;
5309 fail:
5310 return NULL;
5311 }
5312
5313
5314 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5317 PyObject * obj0 = 0 ;
5318 char *kwnames[] = {
5319 (char *) "self", NULL
5320 };
5321
5322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5324 {
5325 PyThreadState* __tstate = wxPyBeginAllowThreads();
5326 delete arg1;
5327
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 Py_INCREF(Py_None); resultobj = Py_None;
5332 return resultobj;
5333 fail:
5334 return NULL;
5335 }
5336
5337
5338 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5341 wxString result;
5342 PyObject * obj0 = 0 ;
5343 char *kwnames[] = {
5344 (char *) "self", NULL
5345 };
5346
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 result = (arg1)->GetTip();
5352
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 {
5357 #if wxUSE_UNICODE
5358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5359 #else
5360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5361 #endif
5362 }
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5372 size_t result;
5373 PyObject * obj0 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 result = (size_t)(arg1)->GetCurrentTip();
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 resultobj = PyInt_FromLong((long)result);
5388 return resultobj;
5389 fail:
5390 return NULL;
5391 }
5392
5393
5394 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5397 wxString *arg2 = 0 ;
5398 wxString result;
5399 bool temp2 = False ;
5400 PyObject * obj0 = 0 ;
5401 PyObject * obj1 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self",(char *) "tip", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5408 {
5409 arg2 = wxString_in_helper(obj1);
5410 if (arg2 == NULL) SWIG_fail;
5411 temp2 = True;
5412 }
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 {
5421 #if wxUSE_UNICODE
5422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5423 #else
5424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5425 #endif
5426 }
5427 {
5428 if (temp2)
5429 delete arg2;
5430 }
5431 return resultobj;
5432 fail:
5433 {
5434 if (temp2)
5435 delete arg2;
5436 }
5437 return NULL;
5438 }
5439
5440
5441 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5442 PyObject *obj;
5443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5444 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5445 Py_INCREF(obj);
5446 return Py_BuildValue((char *)"");
5447 }
5448 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 size_t arg1 ;
5451 wxPyTipProvider *result;
5452 PyObject * obj0 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "currentTip", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5458 arg1 = (size_t) PyInt_AsLong(obj0);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5468 return resultobj;
5469 fail:
5470 return NULL;
5471 }
5472
5473
5474 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5477 PyObject *arg2 = (PyObject *) 0 ;
5478 PyObject *arg3 = (PyObject *) 0 ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 PyObject * obj2 = 0 ;
5482 char *kwnames[] = {
5483 (char *) "self",(char *) "self",(char *) "_class", NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5488 arg2 = obj1;
5489 arg3 = obj2;
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 (arg1)->_setCallbackInfo(arg2,arg3);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 Py_INCREF(Py_None); resultobj = Py_None;
5498 return resultobj;
5499 fail:
5500 return NULL;
5501 }
5502
5503
5504 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5505 PyObject *obj;
5506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5507 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5508 Py_INCREF(obj);
5509 return Py_BuildValue((char *)"");
5510 }
5511 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj;
5513 wxWindow *arg1 = (wxWindow *) 0 ;
5514 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5515 bool arg3 = (bool) True ;
5516 bool result;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 PyObject * obj2 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5527 if (obj2) {
5528 arg3 = PyInt_AsLong(obj2) ? true : false;
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 result = (bool)wxShowTip(arg1,arg2,arg3);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 resultobj = PyInt_FromLong((long)result);
5539 return resultobj;
5540 fail:
5541 return NULL;
5542 }
5543
5544
5545 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxString *arg1 = 0 ;
5548 size_t arg2 ;
5549 wxTipProvider *result;
5550 bool temp1 = False ;
5551 PyObject * obj0 = 0 ;
5552 PyObject * obj1 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "filename",(char *) "currentTip", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5558 {
5559 arg1 = wxString_in_helper(obj0);
5560 if (arg1 == NULL) SWIG_fail;
5561 temp1 = True;
5562 }
5563 arg2 = (size_t) PyInt_AsLong(obj1);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5573 {
5574 if (temp1)
5575 delete arg1;
5576 }
5577 return resultobj;
5578 fail:
5579 {
5580 if (temp1)
5581 delete arg1;
5582 }
5583 return NULL;
5584 }
5585
5586
5587 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5588 PyObject *resultobj;
5589 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5590 int arg2 = (int) -1 ;
5591 wxPyTimer *result;
5592 PyObject * obj0 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "owner",(char *) "id", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5598 if (obj0) {
5599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5600 }
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5618 PyObject * obj0 = 0 ;
5619 char *kwnames[] = {
5620 (char *) "self", NULL
5621 };
5622
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5625 {
5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
5627 delete arg1;
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
5632 Py_INCREF(Py_None); resultobj = Py_None;
5633 return resultobj;
5634 fail:
5635 return NULL;
5636 }
5637
5638
5639 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5642 PyObject *arg2 = (PyObject *) 0 ;
5643 PyObject *arg3 = (PyObject *) 0 ;
5644 PyObject * obj0 = 0 ;
5645 PyObject * obj1 = 0 ;
5646 PyObject * obj2 = 0 ;
5647 char *kwnames[] = {
5648 (char *) "self",(char *) "self",(char *) "_class", NULL
5649 };
5650
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5653 arg2 = obj1;
5654 arg3 = obj2;
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 (arg1)->_setCallbackInfo(arg2,arg3);
5658
5659 wxPyEndAllowThreads(__tstate);
5660 if (PyErr_Occurred()) SWIG_fail;
5661 }
5662 Py_INCREF(Py_None); resultobj = Py_None;
5663 return resultobj;
5664 fail:
5665 return NULL;
5666 }
5667
5668
5669 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5670 PyObject *resultobj;
5671 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5672 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5673 int arg3 = (int) -1 ;
5674 PyObject * obj0 = 0 ;
5675 PyObject * obj1 = 0 ;
5676 char *kwnames[] = {
5677 (char *) "self",(char *) "owner",(char *) "id", NULL
5678 };
5679
5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 (arg1)->SetOwner(arg2,arg3);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 Py_INCREF(Py_None); resultobj = Py_None;
5691 return resultobj;
5692 fail:
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5700 int arg2 = (int) -1 ;
5701 bool arg3 = (bool) False ;
5702 bool result;
5703 PyObject * obj0 = 0 ;
5704 PyObject * obj2 = 0 ;
5705 char *kwnames[] = {
5706 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5711 if (obj2) {
5712 arg3 = PyInt_AsLong(obj2) ? true : false;
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 {
5716 PyThreadState* __tstate = wxPyBeginAllowThreads();
5717 result = (bool)(arg1)->Start(arg2,arg3);
5718
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 }
5722 resultobj = PyInt_FromLong((long)result);
5723 return resultobj;
5724 fail:
5725 return NULL;
5726 }
5727
5728
5729 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5730 PyObject *resultobj;
5731 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5732 PyObject * obj0 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 (arg1)->Stop();
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 Py_INCREF(Py_None); resultobj = Py_None;
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj;
5755 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5756 bool result;
5757 PyObject * obj0 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 resultobj = PyInt_FromLong((long)result);
5772 return resultobj;
5773 fail:
5774 return NULL;
5775 }
5776
5777
5778 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5781 int result;
5782 PyObject * obj0 = 0 ;
5783 char *kwnames[] = {
5784 (char *) "self", NULL
5785 };
5786
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 resultobj = PyInt_FromLong((long)result);
5797 return resultobj;
5798 fail:
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5806 bool result;
5807 PyObject * obj0 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 resultobj = PyInt_FromLong((long)result);
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5831 int result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (int)((wxPyTimer const *)arg1)->GetId();
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 resultobj = PyInt_FromLong((long)result);
5847 return resultobj;
5848 fail:
5849 return NULL;
5850 }
5851
5852
5853 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5854 PyObject *obj;
5855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5856 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5857 Py_INCREF(obj);
5858 return Py_BuildValue((char *)"");
5859 }
5860 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 int arg1 = (int) 0 ;
5863 int arg2 = (int) 0 ;
5864 wxTimerEvent *result;
5865 char *kwnames[] = {
5866 (char *) "timerid",(char *) "interval", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5878 return resultobj;
5879 fail:
5880 return NULL;
5881 }
5882
5883
5884 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj;
5886 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5887 int result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = PyInt_FromLong((long)result);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5910 PyObject *obj;
5911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5912 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5913 Py_INCREF(obj);
5914 return Py_BuildValue((char *)"");
5915 }
5916 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5917 PyObject *resultobj;
5918 wxTimer *arg1 = 0 ;
5919 wxTimerRunner *result;
5920 PyObject * obj0 = 0 ;
5921
5922 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
5923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5924 if (arg1 == NULL) {
5925 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5926 }
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5935 return resultobj;
5936 fail:
5937 return NULL;
5938 }
5939
5940
5941 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
5942 PyObject *resultobj;
5943 wxTimer *arg1 = 0 ;
5944 int arg2 ;
5945 bool arg3 = (bool) False ;
5946 wxTimerRunner *result;
5947 PyObject * obj0 = 0 ;
5948 PyObject * obj2 = 0 ;
5949
5950 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
5951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5952 if (arg1 == NULL) {
5953 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5954 }
5955 if (obj2) {
5956 arg3 = PyInt_AsLong(obj2) ? true : false;
5957 if (PyErr_Occurred()) SWIG_fail;
5958 }
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5967 return resultobj;
5968 fail:
5969 return NULL;
5970 }
5971
5972
5973 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
5974 int argc;
5975 PyObject *argv[4];
5976 int ii;
5977
5978 argc = PyObject_Length(args);
5979 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5980 argv[ii] = PyTuple_GetItem(args,ii);
5981 }
5982 if (argc == 1) {
5983 int _v;
5984 {
5985 void *ptr;
5986 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
5987 _v = 0;
5988 PyErr_Clear();
5989 } else {
5990 _v = 1;
5991 }
5992 }
5993 if (_v) {
5994 return _wrap_new_TimerRunner__SWIG_0(self,args);
5995 }
5996 }
5997 if ((argc >= 2) && (argc <= 3)) {
5998 int _v;
5999 {
6000 void *ptr;
6001 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6002 _v = 0;
6003 PyErr_Clear();
6004 } else {
6005 _v = 1;
6006 }
6007 }
6008 if (_v) {
6009 {
6010 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6011 }
6012 if (_v) {
6013 if (argc <= 2) {
6014 return _wrap_new_TimerRunner__SWIG_1(self,args);
6015 }
6016 {
6017 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6018 }
6019 if (_v) {
6020 return _wrap_new_TimerRunner__SWIG_1(self,args);
6021 }
6022 }
6023 }
6024 }
6025
6026 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6027 return NULL;
6028 }
6029
6030
6031 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6032 PyObject *resultobj;
6033 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6034 PyObject * obj0 = 0 ;
6035 char *kwnames[] = {
6036 (char *) "self", NULL
6037 };
6038
6039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 delete arg1;
6044
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 Py_INCREF(Py_None); resultobj = Py_None;
6049 return resultobj;
6050 fail:
6051 return NULL;
6052 }
6053
6054
6055 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj;
6057 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6058 int arg2 ;
6059 bool arg3 = (bool) False ;
6060 PyObject * obj0 = 0 ;
6061 PyObject * obj2 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6068 if (obj2) {
6069 arg3 = PyInt_AsLong(obj2) ? true : false;
6070 if (PyErr_Occurred()) SWIG_fail;
6071 }
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 (arg1)->Start(arg2,arg3);
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 Py_INCREF(Py_None); resultobj = Py_None;
6080 return resultobj;
6081 fail:
6082 return NULL;
6083 }
6084
6085
6086 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6087 PyObject *obj;
6088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6089 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6090 Py_INCREF(obj);
6091 return Py_BuildValue((char *)"");
6092 }
6093 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxLog *result;
6096 char *kwnames[] = {
6097 NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (wxLog *)new wxLog();
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6109 return resultobj;
6110 fail:
6111 return NULL;
6112 }
6113
6114
6115 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 bool result;
6118 char *kwnames[] = {
6119 NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 result = (bool)wxLog::IsEnabled();
6126
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 resultobj = PyInt_FromLong((long)result);
6131 return resultobj;
6132 fail:
6133 return NULL;
6134 }
6135
6136
6137 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj;
6139 bool arg1 = (bool) True ;
6140 bool result;
6141 PyObject * obj0 = 0 ;
6142 char *kwnames[] = {
6143 (char *) "doIt", NULL
6144 };
6145
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6147 if (obj0) {
6148 arg1 = PyInt_AsLong(obj0) ? true : false;
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (bool)wxLog::EnableLogging(arg1);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 resultobj = PyInt_FromLong((long)result);
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj;
6167 wxLogLevel arg1 ;
6168 wxChar *arg2 = (wxChar *) 0 ;
6169 time_t arg3 ;
6170 PyObject * obj0 = 0 ;
6171 PyObject * obj1 = 0 ;
6172 PyObject * obj2 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "level",(char *) "szString",(char *) "t", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6178 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6181 arg3 = (time_t) PyInt_AsLong(obj2);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 Py_INCREF(Py_None); resultobj = Py_None;
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxLog *arg1 = (wxLog *) 0 ;
6200 PyObject * obj0 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "self", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 (arg1)->Flush();
6210
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 Py_INCREF(Py_None); resultobj = Py_None;
6215 return resultobj;
6216 fail:
6217 return NULL;
6218 }
6219
6220
6221 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 char *kwnames[] = {
6224 NULL
6225 };
6226
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 wxLog::FlushActive();
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 Py_INCREF(Py_None); resultobj = Py_None;
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6243 PyObject *resultobj;
6244 wxLog *result;
6245 char *kwnames[] = {
6246 NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6250 {
6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
6252 result = (wxLog *)wxLog::GetActiveTarget();
6253
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6258 return resultobj;
6259 fail:
6260 return NULL;
6261 }
6262
6263
6264 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6265 PyObject *resultobj;
6266 wxLog *arg1 = (wxLog *) 0 ;
6267 wxLog *result;
6268 PyObject * obj0 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "pLogger", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 char *kwnames[] = {
6292 NULL
6293 };
6294
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 wxLog::Suspend();
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 Py_INCREF(Py_None); resultobj = Py_None;
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 char *kwnames[] = {
6313 NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 wxLog::Resume();
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 Py_INCREF(Py_None); resultobj = Py_None;
6325 return resultobj;
6326 fail:
6327 return NULL;
6328 }
6329
6330
6331 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject *resultobj;
6333 bool arg1 = (bool) True ;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "bVerbose", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6340 if (obj0) {
6341 arg1 = PyInt_AsLong(obj0) ? true : false;
6342 if (PyErr_Occurred()) SWIG_fail;
6343 }
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 wxLog::SetVerbose(arg1);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 Py_INCREF(Py_None); resultobj = Py_None;
6352 return resultobj;
6353 fail:
6354 return NULL;
6355 }
6356
6357
6358 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject *resultobj;
6360 wxLogLevel arg1 ;
6361 PyObject * obj0 = 0 ;
6362 char *kwnames[] = {
6363 (char *) "logLevel", NULL
6364 };
6365
6366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6367 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 wxLog::SetLogLevel(arg1);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 Py_INCREF(Py_None); resultobj = Py_None;
6377 return resultobj;
6378 fail:
6379 return NULL;
6380 }
6381
6382
6383 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 char *kwnames[] = {
6386 NULL
6387 };
6388
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 wxLog::DontCreateOnDemand();
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 Py_INCREF(Py_None); resultobj = Py_None;
6398 return resultobj;
6399 fail:
6400 return NULL;
6401 }
6402
6403
6404 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 wxTraceMask arg1 ;
6407 PyObject * obj0 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "ulMask", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6413 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 wxLog::SetTraceMask(arg1);
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 Py_INCREF(Py_None); resultobj = Py_None;
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxString *arg1 = 0 ;
6432 bool temp1 = False ;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "str", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6439 {
6440 arg1 = wxString_in_helper(obj0);
6441 if (arg1 == NULL) SWIG_fail;
6442 temp1 = True;
6443 }
6444 {
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 wxLog::AddTraceMask((wxString const &)*arg1);
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 Py_INCREF(Py_None); resultobj = Py_None;
6452 {
6453 if (temp1)
6454 delete arg1;
6455 }
6456 return resultobj;
6457 fail:
6458 {
6459 if (temp1)
6460 delete arg1;
6461 }
6462 return NULL;
6463 }
6464
6465
6466 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6467 PyObject *resultobj;
6468 wxString *arg1 = 0 ;
6469 bool temp1 = False ;
6470 PyObject * obj0 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "str", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6476 {
6477 arg1 = wxString_in_helper(obj0);
6478 if (arg1 == NULL) SWIG_fail;
6479 temp1 = True;
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 wxLog::RemoveTraceMask((wxString const &)*arg1);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 Py_INCREF(Py_None); resultobj = Py_None;
6489 {
6490 if (temp1)
6491 delete arg1;
6492 }
6493 return resultobj;
6494 fail:
6495 {
6496 if (temp1)
6497 delete arg1;
6498 }
6499 return NULL;
6500 }
6501
6502
6503 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6504 PyObject *resultobj;
6505 char *kwnames[] = {
6506 NULL
6507 };
6508
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 wxLog::ClearTraceMasks();
6513
6514 wxPyEndAllowThreads(__tstate);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 Py_INCREF(Py_None); resultobj = Py_None;
6518 return resultobj;
6519 fail:
6520 return NULL;
6521 }
6522
6523
6524 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6525 PyObject *resultobj;
6526 wxArrayString *result;
6527 char *kwnames[] = {
6528 NULL
6529 };
6530
6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 {
6535 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6536 result = (wxArrayString *) &_result_ref;
6537 }
6538
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 {
6543 resultobj = wxArrayString2PyList_helper(*result);
6544 }
6545 return resultobj;
6546 fail:
6547 return NULL;
6548 }
6549
6550
6551 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxChar *arg1 = (wxChar *) 0 ;
6554 PyObject * obj0 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "ts", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 wxLog::SetTimestamp((wxChar const *)arg1);
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 Py_INCREF(Py_None); resultobj = Py_None;
6569 return resultobj;
6570 fail:
6571 return NULL;
6572 }
6573
6574
6575 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 bool result;
6578 char *kwnames[] = {
6579 NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 result = (bool)wxLog::GetVerbose();
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 resultobj = PyInt_FromLong((long)result);
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj;
6599 wxTraceMask result;
6600 char *kwnames[] = {
6601 NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (wxTraceMask)wxLog::GetTraceMask();
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 resultobj = PyInt_FromLong((long)result);
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxChar *arg1 = (wxChar *) 0 ;
6622 bool result;
6623 PyObject * obj0 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "mask", NULL
6626 };
6627
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6633
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 resultobj = PyInt_FromLong((long)result);
6638 return resultobj;
6639 fail:
6640 return NULL;
6641 }
6642
6643
6644 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxLogLevel result;
6647 char *kwnames[] = {
6648 NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 result = (wxLogLevel)wxLog::GetLogLevel();
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 resultobj = PyInt_FromLong((long)result);
6660 return resultobj;
6661 fail:
6662 return NULL;
6663 }
6664
6665
6666 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6667 PyObject *resultobj;
6668 wxChar *result;
6669 char *kwnames[] = {
6670 NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = (wxChar *)wxLog::GetTimestamp();
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6682 return resultobj;
6683 fail:
6684 return NULL;
6685 }
6686
6687
6688 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj;
6690 wxString result;
6691 char *kwnames[] = {
6692 NULL
6693 };
6694
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = Log_TimeStamp();
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 {
6704 #if wxUSE_UNICODE
6705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6706 #else
6707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6708 #endif
6709 }
6710 return resultobj;
6711 fail:
6712 return NULL;
6713 }
6714
6715
6716 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj;
6718 wxLog *arg1 = (wxLog *) 0 ;
6719 PyObject * obj0 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "self", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 wxLog_Destroy(arg1);
6729
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
6733 Py_INCREF(Py_None); resultobj = Py_None;
6734 return resultobj;
6735 fail:
6736 return NULL;
6737 }
6738
6739
6740 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6741 PyObject *obj;
6742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6743 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6744 Py_INCREF(obj);
6745 return Py_BuildValue((char *)"");
6746 }
6747 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxLogStderr *result;
6750 char *kwnames[] = {
6751 NULL
6752 };
6753
6754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = (wxLogStderr *)new wxLogStderr();
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
6762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6763 return resultobj;
6764 fail:
6765 return NULL;
6766 }
6767
6768
6769 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6770 PyObject *obj;
6771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6772 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6773 Py_INCREF(obj);
6774 return Py_BuildValue((char *)"");
6775 }
6776 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj;
6778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6779 wxLogTextCtrl *result;
6780 PyObject * obj0 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "pTextCtrl", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6787 {
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6790
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) SWIG_fail;
6793 }
6794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6795 return resultobj;
6796 fail:
6797 return NULL;
6798 }
6799
6800
6801 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6802 PyObject *obj;
6803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6804 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6805 Py_INCREF(obj);
6806 return Py_BuildValue((char *)"");
6807 }
6808 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6809 PyObject *resultobj;
6810 wxLogGui *result;
6811 char *kwnames[] = {
6812 NULL
6813 };
6814
6815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (wxLogGui *)new wxLogGui();
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6824 return resultobj;
6825 fail:
6826 return NULL;
6827 }
6828
6829
6830 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6831 PyObject *obj;
6832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6833 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6834 Py_INCREF(obj);
6835 return Py_BuildValue((char *)"");
6836 }
6837 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 wxFrame *arg1 = (wxFrame *) 0 ;
6840 wxString *arg2 = 0 ;
6841 bool arg3 = (bool) True ;
6842 bool arg4 = (bool) True ;
6843 wxLogWindow *result;
6844 bool temp2 = False ;
6845 PyObject * obj0 = 0 ;
6846 PyObject * obj1 = 0 ;
6847 PyObject * obj2 = 0 ;
6848 PyObject * obj3 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6855 {
6856 arg2 = wxString_in_helper(obj1);
6857 if (arg2 == NULL) SWIG_fail;
6858 temp2 = True;
6859 }
6860 if (obj2) {
6861 arg3 = PyInt_AsLong(obj2) ? true : false;
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 if (obj3) {
6865 arg4 = PyInt_AsLong(obj3) ? true : false;
6866 if (PyErr_Occurred()) SWIG_fail;
6867 }
6868 {
6869 PyThreadState* __tstate = wxPyBeginAllowThreads();
6870 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6871
6872 wxPyEndAllowThreads(__tstate);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6876 {
6877 if (temp2)
6878 delete arg2;
6879 }
6880 return resultobj;
6881 fail:
6882 {
6883 if (temp2)
6884 delete arg2;
6885 }
6886 return NULL;
6887 }
6888
6889
6890 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6893 bool arg2 = (bool) True ;
6894 PyObject * obj0 = 0 ;
6895 PyObject * obj1 = 0 ;
6896 char *kwnames[] = {
6897 (char *) "self",(char *) "bShow", NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6902 if (obj1) {
6903 arg2 = PyInt_AsLong(obj1) ? true : false;
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 (arg1)->Show(arg2);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj;
6922 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6923 wxFrame *result;
6924 PyObject * obj0 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 {
6939 resultobj = wxPyMake_wxObject(result);
6940 }
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6950 wxLog *result;
6951 PyObject * obj0 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "self", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
6957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6966 return resultobj;
6967 fail:
6968 return NULL;
6969 }
6970
6971
6972 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj;
6974 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6975 bool result;
6976 PyObject * obj0 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "self", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
6982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 resultobj = PyInt_FromLong((long)result);
6991 return resultobj;
6992 fail:
6993 return NULL;
6994 }
6995
6996
6997 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj;
6999 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7000 bool arg2 ;
7001 PyObject * obj0 = 0 ;
7002 PyObject * obj1 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "self",(char *) "bDoPass", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7009 arg2 = PyInt_AsLong(obj1) ? true : false;
7010 if (PyErr_Occurred()) SWIG_fail;
7011 {
7012 PyThreadState* __tstate = wxPyBeginAllowThreads();
7013 (arg1)->PassMessages(arg2);
7014
7015 wxPyEndAllowThreads(__tstate);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 Py_INCREF(Py_None); resultobj = Py_None;
7019 return resultobj;
7020 fail:
7021 return NULL;
7022 }
7023
7024
7025 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7026 PyObject *obj;
7027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7028 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7029 Py_INCREF(obj);
7030 return Py_BuildValue((char *)"");
7031 }
7032 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxLog *arg1 = (wxLog *) 0 ;
7035 wxLogChain *result;
7036 PyObject * obj0 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "logger", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 result = (wxLogChain *)new wxLogChain(arg1);
7046
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7051 return resultobj;
7052 fail:
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 wxLogChain *arg1 = (wxLogChain *) 0 ;
7060 wxLog *arg2 = (wxLog *) 0 ;
7061 PyObject * obj0 = 0 ;
7062 PyObject * obj1 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self",(char *) "logger", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 (arg1)->SetLog(arg2);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 Py_INCREF(Py_None); resultobj = Py_None;
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxLogChain *arg1 = (wxLogChain *) 0 ;
7087 bool arg2 ;
7088 PyObject * obj0 = 0 ;
7089 PyObject * obj1 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "bDoPass", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7096 arg2 = PyInt_AsLong(obj1) ? true : false;
7097 if (PyErr_Occurred()) SWIG_fail;
7098 {
7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
7100 (arg1)->PassMessages(arg2);
7101
7102 wxPyEndAllowThreads(__tstate);
7103 if (PyErr_Occurred()) SWIG_fail;
7104 }
7105 Py_INCREF(Py_None); resultobj = Py_None;
7106 return resultobj;
7107 fail:
7108 return NULL;
7109 }
7110
7111
7112 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj;
7114 wxLogChain *arg1 = (wxLogChain *) 0 ;
7115 bool result;
7116 PyObject * obj0 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "self", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (bool)(arg1)->IsPassingMessages();
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 resultobj = PyInt_FromLong((long)result);
7131 return resultobj;
7132 fail:
7133 return NULL;
7134 }
7135
7136
7137 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxLogChain *arg1 = (wxLogChain *) 0 ;
7140 wxLog *result;
7141 PyObject * obj0 = 0 ;
7142 char *kwnames[] = {
7143 (char *) "self", NULL
7144 };
7145
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 result = (wxLog *)(arg1)->GetOldLog();
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7156 return resultobj;
7157 fail:
7158 return NULL;
7159 }
7160
7161
7162 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7163 PyObject *obj;
7164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7165 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7166 Py_INCREF(obj);
7167 return Py_BuildValue((char *)"");
7168 }
7169 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7170 PyObject *resultobj;
7171 unsigned long result;
7172 char *kwnames[] = {
7173 NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 result = (unsigned long)wxSysErrorCode();
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 resultobj = PyInt_FromLong((long)result);
7185 return resultobj;
7186 fail:
7187 return NULL;
7188 }
7189
7190
7191 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 unsigned long arg1 = (unsigned long) 0 ;
7194 wxString result;
7195 PyObject * obj0 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "nErrCode", NULL
7198 };
7199
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7201 if (obj0) {
7202 arg1 = (unsigned long) PyInt_AsLong(obj0);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = wxSysErrorMsg(arg1);
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 {
7213 #if wxUSE_UNICODE
7214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7215 #else
7216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7217 #endif
7218 }
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxString *arg1 = 0 ;
7228 bool temp1 = False ;
7229 PyObject * obj0 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "msg", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7235 {
7236 arg1 = wxString_in_helper(obj0);
7237 if (arg1 == NULL) SWIG_fail;
7238 temp1 = True;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 wxLogFatalError((wxString const &)*arg1);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 {
7249 if (temp1)
7250 delete arg1;
7251 }
7252 return resultobj;
7253 fail:
7254 {
7255 if (temp1)
7256 delete arg1;
7257 }
7258 return NULL;
7259 }
7260
7261
7262 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7263 PyObject *resultobj;
7264 wxString *arg1 = 0 ;
7265 bool temp1 = False ;
7266 PyObject * obj0 = 0 ;
7267 char *kwnames[] = {
7268 (char *) "msg", NULL
7269 };
7270
7271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7272 {
7273 arg1 = wxString_in_helper(obj0);
7274 if (arg1 == NULL) SWIG_fail;
7275 temp1 = True;
7276 }
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 wxLogError((wxString const &)*arg1);
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 Py_INCREF(Py_None); resultobj = Py_None;
7285 {
7286 if (temp1)
7287 delete arg1;
7288 }
7289 return resultobj;
7290 fail:
7291 {
7292 if (temp1)
7293 delete arg1;
7294 }
7295 return NULL;
7296 }
7297
7298
7299 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7300 PyObject *resultobj;
7301 wxString *arg1 = 0 ;
7302 bool temp1 = False ;
7303 PyObject * obj0 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "msg", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7309 {
7310 arg1 = wxString_in_helper(obj0);
7311 if (arg1 == NULL) SWIG_fail;
7312 temp1 = True;
7313 }
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 wxLogWarning((wxString const &)*arg1);
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 Py_INCREF(Py_None); resultobj = Py_None;
7322 {
7323 if (temp1)
7324 delete arg1;
7325 }
7326 return resultobj;
7327 fail:
7328 {
7329 if (temp1)
7330 delete arg1;
7331 }
7332 return NULL;
7333 }
7334
7335
7336 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj;
7338 wxString *arg1 = 0 ;
7339 bool temp1 = False ;
7340 PyObject * obj0 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "msg", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7346 {
7347 arg1 = wxString_in_helper(obj0);
7348 if (arg1 == NULL) SWIG_fail;
7349 temp1 = True;
7350 }
7351 {
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 wxLogMessage((wxString const &)*arg1);
7354
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) SWIG_fail;
7357 }
7358 Py_INCREF(Py_None); resultobj = Py_None;
7359 {
7360 if (temp1)
7361 delete arg1;
7362 }
7363 return resultobj;
7364 fail:
7365 {
7366 if (temp1)
7367 delete arg1;
7368 }
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxString *arg1 = 0 ;
7376 bool temp1 = False ;
7377 PyObject * obj0 = 0 ;
7378 char *kwnames[] = {
7379 (char *) "msg", NULL
7380 };
7381
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7383 {
7384 arg1 = wxString_in_helper(obj0);
7385 if (arg1 == NULL) SWIG_fail;
7386 temp1 = True;
7387 }
7388 {
7389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7390 wxLogInfo((wxString const &)*arg1);
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 Py_INCREF(Py_None); resultobj = Py_None;
7396 {
7397 if (temp1)
7398 delete arg1;
7399 }
7400 return resultobj;
7401 fail:
7402 {
7403 if (temp1)
7404 delete arg1;
7405 }
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxString *arg1 = 0 ;
7413 bool temp1 = False ;
7414 PyObject * obj0 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "msg", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7420 {
7421 arg1 = wxString_in_helper(obj0);
7422 if (arg1 == NULL) SWIG_fail;
7423 temp1 = True;
7424 }
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 wxLogDebug((wxString const &)*arg1);
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 Py_INCREF(Py_None); resultobj = Py_None;
7433 {
7434 if (temp1)
7435 delete arg1;
7436 }
7437 return resultobj;
7438 fail:
7439 {
7440 if (temp1)
7441 delete arg1;
7442 }
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxString *arg1 = 0 ;
7450 bool temp1 = False ;
7451 PyObject * obj0 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "msg", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7457 {
7458 arg1 = wxString_in_helper(obj0);
7459 if (arg1 == NULL) SWIG_fail;
7460 temp1 = True;
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 wxLogVerbose((wxString const &)*arg1);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 Py_INCREF(Py_None); resultobj = Py_None;
7470 {
7471 if (temp1)
7472 delete arg1;
7473 }
7474 return resultobj;
7475 fail:
7476 {
7477 if (temp1)
7478 delete arg1;
7479 }
7480 return NULL;
7481 }
7482
7483
7484 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 wxString *arg1 = 0 ;
7487 bool temp1 = False ;
7488 PyObject * obj0 = 0 ;
7489 char *kwnames[] = {
7490 (char *) "msg", NULL
7491 };
7492
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7494 {
7495 arg1 = wxString_in_helper(obj0);
7496 if (arg1 == NULL) SWIG_fail;
7497 temp1 = True;
7498 }
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 wxLogStatus((wxString const &)*arg1);
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 Py_INCREF(Py_None); resultobj = Py_None;
7507 {
7508 if (temp1)
7509 delete arg1;
7510 }
7511 return resultobj;
7512 fail:
7513 {
7514 if (temp1)
7515 delete arg1;
7516 }
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxFrame *arg1 = (wxFrame *) 0 ;
7524 wxString *arg2 = 0 ;
7525 bool temp2 = False ;
7526 PyObject * obj0 = 0 ;
7527 PyObject * obj1 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "pFrame",(char *) "msg", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7534 {
7535 arg2 = wxString_in_helper(obj1);
7536 if (arg2 == NULL) SWIG_fail;
7537 temp2 = True;
7538 }
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 wxLogStatus(arg1,(wxString const &)*arg2);
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 Py_INCREF(Py_None); resultobj = Py_None;
7547 {
7548 if (temp2)
7549 delete arg2;
7550 }
7551 return resultobj;
7552 fail:
7553 {
7554 if (temp2)
7555 delete arg2;
7556 }
7557 return NULL;
7558 }
7559
7560
7561 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7562 PyObject *resultobj;
7563 wxString *arg1 = 0 ;
7564 bool temp1 = False ;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "msg", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7571 {
7572 arg1 = wxString_in_helper(obj0);
7573 if (arg1 == NULL) SWIG_fail;
7574 temp1 = True;
7575 }
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 wxLogSysError((wxString const &)*arg1);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 Py_INCREF(Py_None); resultobj = Py_None;
7584 {
7585 if (temp1)
7586 delete arg1;
7587 }
7588 return resultobj;
7589 fail:
7590 {
7591 if (temp1)
7592 delete arg1;
7593 }
7594 return NULL;
7595 }
7596
7597
7598 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
7599 PyObject *resultobj;
7600 unsigned long arg1 ;
7601 wxString *arg2 = 0 ;
7602 bool temp2 = False ;
7603 PyObject * obj0 = 0 ;
7604 PyObject * obj1 = 0 ;
7605
7606 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7607 arg1 = (unsigned long) PyInt_AsLong(obj0);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 {
7610 arg2 = wxString_in_helper(obj1);
7611 if (arg2 == NULL) SWIG_fail;
7612 temp2 = True;
7613 }
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 wxLogTrace(arg1,(wxString const &)*arg2);
7617
7618 wxPyEndAllowThreads(__tstate);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
7621 Py_INCREF(Py_None); resultobj = Py_None;
7622 {
7623 if (temp2)
7624 delete arg2;
7625 }
7626 return resultobj;
7627 fail:
7628 {
7629 if (temp2)
7630 delete arg2;
7631 }
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
7637 PyObject *resultobj;
7638 wxString *arg1 = 0 ;
7639 wxString *arg2 = 0 ;
7640 bool temp1 = False ;
7641 bool temp2 = False ;
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644
7645 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7646 {
7647 arg1 = wxString_in_helper(obj0);
7648 if (arg1 == NULL) SWIG_fail;
7649 temp1 = True;
7650 }
7651 {
7652 arg2 = wxString_in_helper(obj1);
7653 if (arg2 == NULL) SWIG_fail;
7654 temp2 = True;
7655 }
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 Py_INCREF(Py_None); resultobj = Py_None;
7664 {
7665 if (temp1)
7666 delete arg1;
7667 }
7668 {
7669 if (temp2)
7670 delete arg2;
7671 }
7672 return resultobj;
7673 fail:
7674 {
7675 if (temp1)
7676 delete arg1;
7677 }
7678 {
7679 if (temp2)
7680 delete arg2;
7681 }
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
7687 int argc;
7688 PyObject *argv[3];
7689 int ii;
7690
7691 argc = PyObject_Length(args);
7692 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
7693 argv[ii] = PyTuple_GetItem(args,ii);
7694 }
7695 if (argc == 2) {
7696 int _v;
7697 {
7698 void *ptr;
7699 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7700 _v = 0;
7701 PyErr_Clear();
7702 } else {
7703 _v = 1;
7704 }
7705 }
7706 if (_v) {
7707 {
7708 void *ptr;
7709 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7710 _v = 0;
7711 PyErr_Clear();
7712 } else {
7713 _v = 1;
7714 }
7715 }
7716 if (_v) {
7717 return _wrap_LogTrace__SWIG_1(self,args);
7718 }
7719 }
7720 }
7721 if (argc == 2) {
7722 int _v;
7723 {
7724 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7725 }
7726 if (_v) {
7727 {
7728 void *ptr;
7729 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7730 _v = 0;
7731 PyErr_Clear();
7732 } else {
7733 _v = 1;
7734 }
7735 }
7736 if (_v) {
7737 return _wrap_LogTrace__SWIG_0(self,args);
7738 }
7739 }
7740 }
7741
7742 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
7743 return NULL;
7744 }
7745
7746
7747 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 unsigned long arg1 ;
7750 wxString *arg2 = 0 ;
7751 bool temp2 = False ;
7752 PyObject * obj0 = 0 ;
7753 PyObject * obj1 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "level",(char *) "msg", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7759 arg1 = (unsigned long) PyInt_AsLong(obj0);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 {
7762 arg2 = wxString_in_helper(obj1);
7763 if (arg2 == NULL) SWIG_fail;
7764 temp2 = True;
7765 }
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 wxLogGeneric(arg1,(wxString const &)*arg2);
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 Py_INCREF(Py_None); resultobj = Py_None;
7774 {
7775 if (temp2)
7776 delete arg2;
7777 }
7778 return resultobj;
7779 fail:
7780 {
7781 if (temp2)
7782 delete arg2;
7783 }
7784 return NULL;
7785 }
7786
7787
7788 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxString *arg1 = 0 ;
7791 wxString *arg2 = 0 ;
7792 bool temp1 = False ;
7793 bool temp2 = False ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "title",(char *) "text", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7801 {
7802 arg1 = wxString_in_helper(obj0);
7803 if (arg1 == NULL) SWIG_fail;
7804 temp1 = True;
7805 }
7806 {
7807 arg2 = wxString_in_helper(obj1);
7808 if (arg2 == NULL) SWIG_fail;
7809 temp2 = True;
7810 }
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 Py_INCREF(Py_None); resultobj = Py_None;
7819 {
7820 if (temp1)
7821 delete arg1;
7822 }
7823 {
7824 if (temp2)
7825 delete arg2;
7826 }
7827 return resultobj;
7828 fail:
7829 {
7830 if (temp1)
7831 delete arg1;
7832 }
7833 {
7834 if (temp2)
7835 delete arg2;
7836 }
7837 return NULL;
7838 }
7839
7840
7841 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj;
7843 wxLogNull *result;
7844 char *kwnames[] = {
7845 NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = (wxLogNull *)new wxLogNull();
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7857 return resultobj;
7858 fail:
7859 return NULL;
7860 }
7861
7862
7863 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj;
7865 wxLogNull *arg1 = (wxLogNull *) 0 ;
7866 PyObject * obj0 = 0 ;
7867 char *kwnames[] = {
7868 (char *) "self", NULL
7869 };
7870
7871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7873 {
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 delete arg1;
7876
7877 wxPyEndAllowThreads(__tstate);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 }
7880 Py_INCREF(Py_None); resultobj = Py_None;
7881 return resultobj;
7882 fail:
7883 return NULL;
7884 }
7885
7886
7887 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7888 PyObject *obj;
7889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7890 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7891 Py_INCREF(obj);
7892 return Py_BuildValue((char *)"");
7893 }
7894 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxPyLog *result;
7897 char *kwnames[] = {
7898 NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 result = (wxPyLog *)new wxPyLog();
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7910 return resultobj;
7911 fail:
7912 return NULL;
7913 }
7914
7915
7916 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj;
7918 wxPyLog *arg1 = (wxPyLog *) 0 ;
7919 PyObject *arg2 = (PyObject *) 0 ;
7920 PyObject *arg3 = (PyObject *) 0 ;
7921 PyObject * obj0 = 0 ;
7922 PyObject * obj1 = 0 ;
7923 PyObject * obj2 = 0 ;
7924 char *kwnames[] = {
7925 (char *) "self",(char *) "self",(char *) "_class", NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7930 arg2 = obj1;
7931 arg3 = obj2;
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 (arg1)->_setCallbackInfo(arg2,arg3);
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 Py_INCREF(Py_None); resultobj = Py_None;
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
7947 PyObject *obj;
7948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7949 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
7950 Py_INCREF(obj);
7951 return Py_BuildValue((char *)"");
7952 }
7953 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
7954 PyObject *resultobj;
7955 int arg1 ;
7956 int arg2 = (int) wxSIGTERM ;
7957 int result;
7958 char *kwnames[] = {
7959 (char *) "pid",(char *) "sig", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 resultobj = PyInt_FromLong((long)result);
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 int arg1 ;
7980 bool result;
7981 char *kwnames[] = {
7982 (char *) "pid", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (bool)wxPyProcess::Exists(arg1);
7989
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 resultobj = PyInt_FromLong((long)result);
7994 return resultobj;
7995 fail:
7996 return NULL;
7997 }
7998
7999
8000 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj;
8002 wxString *arg1 = 0 ;
8003 int arg2 = (int) wxEXEC_ASYNC ;
8004 wxPyProcess *result;
8005 bool temp1 = False ;
8006 PyObject * obj0 = 0 ;
8007 char *kwnames[] = {
8008 (char *) "cmd",(char *) "flags", NULL
8009 };
8010
8011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
8012 {
8013 arg1 = wxString_in_helper(obj0);
8014 if (arg1 == NULL) SWIG_fail;
8015 temp1 = True;
8016 }
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8025 {
8026 if (temp1)
8027 delete arg1;
8028 }
8029 return resultobj;
8030 fail:
8031 {
8032 if (temp1)
8033 delete arg1;
8034 }
8035 return NULL;
8036 }
8037
8038
8039 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj;
8041 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8042 int arg2 = (int) -1 ;
8043 wxPyProcess *result;
8044 PyObject * obj0 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "parent",(char *) "id", NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8050 if (obj0) {
8051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 }
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8061 return resultobj;
8062 fail:
8063 return NULL;
8064 }
8065
8066
8067 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8068 PyObject *resultobj;
8069 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8070 PyObject *arg2 = (PyObject *) 0 ;
8071 PyObject *arg3 = (PyObject *) 0 ;
8072 PyObject * obj0 = 0 ;
8073 PyObject * obj1 = 0 ;
8074 PyObject * obj2 = 0 ;
8075 char *kwnames[] = {
8076 (char *) "self",(char *) "self",(char *) "_class", NULL
8077 };
8078
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8081 arg2 = obj1;
8082 arg3 = obj2;
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 (arg1)->_setCallbackInfo(arg2,arg3);
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 Py_INCREF(Py_None); resultobj = Py_None;
8091 return resultobj;
8092 fail:
8093 return NULL;
8094 }
8095
8096
8097 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8100 int arg2 ;
8101 int arg3 ;
8102 PyObject * obj0 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self",(char *) "pid",(char *) "status", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 (arg1)->base_OnTerminate(arg2,arg3);
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 Py_INCREF(Py_None); resultobj = Py_None;
8117 return resultobj;
8118 fail:
8119 return NULL;
8120 }
8121
8122
8123 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8126 PyObject * obj0 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "self", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 (arg1)->Redirect();
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 Py_INCREF(Py_None); resultobj = Py_None;
8141 return resultobj;
8142 fail:
8143 return NULL;
8144 }
8145
8146
8147 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj;
8149 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8150 bool result;
8151 PyObject * obj0 = 0 ;
8152 char *kwnames[] = {
8153 (char *) "self", NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 result = (bool)(arg1)->IsRedirected();
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 resultobj = PyInt_FromLong((long)result);
8166 return resultobj;
8167 fail:
8168 return NULL;
8169 }
8170
8171
8172 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8173 PyObject *resultobj;
8174 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8175 PyObject * obj0 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 (arg1)->Detach();
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 Py_INCREF(Py_None); resultobj = Py_None;
8190 return resultobj;
8191 fail:
8192 return NULL;
8193 }
8194
8195
8196 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8197 PyObject *resultobj;
8198 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8199 wxInputStream *result;
8200 PyObject * obj0 = 0 ;
8201 char *kwnames[] = {
8202 (char *) "self", NULL
8203 };
8204
8205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (wxInputStream *)(arg1)->GetInputStream();
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 {
8215 wxPyInputStream * _ptr = NULL;
8216
8217 if (result) {
8218 _ptr = new wxPyInputStream(result);
8219 }
8220 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8221 }
8222 return resultobj;
8223 fail:
8224 return NULL;
8225 }
8226
8227
8228 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8229 PyObject *resultobj;
8230 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8231 wxInputStream *result;
8232 PyObject * obj0 = 0 ;
8233 char *kwnames[] = {
8234 (char *) "self", NULL
8235 };
8236
8237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (wxInputStream *)(arg1)->GetErrorStream();
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 {
8247 wxPyInputStream * _ptr = NULL;
8248
8249 if (result) {
8250 _ptr = new wxPyInputStream(result);
8251 }
8252 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8253 }
8254 return resultobj;
8255 fail:
8256 return NULL;
8257 }
8258
8259
8260 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8263 wxOutputStream *result;
8264 PyObject * obj0 = 0 ;
8265 char *kwnames[] = {
8266 (char *) "self", NULL
8267 };
8268
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 result = (wxOutputStream *)(arg1)->GetOutputStream();
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8288 PyObject * obj0 = 0 ;
8289 char *kwnames[] = {
8290 (char *) "self", NULL
8291 };
8292
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 (arg1)->CloseOutput();
8298
8299 wxPyEndAllowThreads(__tstate);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 }
8302 Py_INCREF(Py_None); resultobj = Py_None;
8303 return resultobj;
8304 fail:
8305 return NULL;
8306 }
8307
8308
8309 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8312 bool result;
8313 PyObject * obj0 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8320 {
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8323
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 resultobj = PyInt_FromLong((long)result);
8328 return resultobj;
8329 fail:
8330 return NULL;
8331 }
8332
8333
8334 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8335 PyObject *resultobj;
8336 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8337 bool result;
8338 PyObject * obj0 = 0 ;
8339 char *kwnames[] = {
8340 (char *) "self", NULL
8341 };
8342
8343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 resultobj = PyInt_FromLong((long)result);
8353 return resultobj;
8354 fail:
8355 return NULL;
8356 }
8357
8358
8359 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj;
8361 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8362 bool result;
8363 PyObject * obj0 = 0 ;
8364 char *kwnames[] = {
8365 (char *) "self", NULL
8366 };
8367
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8373
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 resultobj = PyInt_FromLong((long)result);
8378 return resultobj;
8379 fail:
8380 return NULL;
8381 }
8382
8383
8384 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8385 PyObject *obj;
8386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8387 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8388 Py_INCREF(obj);
8389 return Py_BuildValue((char *)"");
8390 }
8391 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8392 PyObject *resultobj;
8393 int arg1 = (int) 0 ;
8394 int arg2 = (int) 0 ;
8395 int arg3 = (int) 0 ;
8396 wxProcessEvent *result;
8397 char *kwnames[] = {
8398 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8419 int result;
8420 PyObject * obj0 = 0 ;
8421 char *kwnames[] = {
8422 (char *) "self", NULL
8423 };
8424
8425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = (int)(arg1)->GetPid();
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 resultobj = PyInt_FromLong((long)result);
8435 return resultobj;
8436 fail:
8437 return NULL;
8438 }
8439
8440
8441 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8442 PyObject *resultobj;
8443 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8444 int result;
8445 PyObject * obj0 = 0 ;
8446 char *kwnames[] = {
8447 (char *) "self", NULL
8448 };
8449
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8452 {
8453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8454 result = (int)(arg1)->GetExitCode();
8455
8456 wxPyEndAllowThreads(__tstate);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 resultobj = PyInt_FromLong((long)result);
8460 return resultobj;
8461 fail:
8462 return NULL;
8463 }
8464
8465
8466 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8469 int arg2 ;
8470 PyObject * obj0 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self",(char *) "m_pid", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8477 if (arg1) (arg1)->m_pid = arg2;
8478
8479 Py_INCREF(Py_None); resultobj = Py_None;
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8489 int result;
8490 PyObject * obj0 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8497 result = (int) ((arg1)->m_pid);
8498
8499 resultobj = PyInt_FromLong((long)result);
8500 return resultobj;
8501 fail:
8502 return NULL;
8503 }
8504
8505
8506 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj;
8508 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8509 int arg2 ;
8510 PyObject * obj0 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self",(char *) "m_exitcode", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8517 if (arg1) (arg1)->m_exitcode = arg2;
8518
8519 Py_INCREF(Py_None); resultobj = Py_None;
8520 return resultobj;
8521 fail:
8522 return NULL;
8523 }
8524
8525
8526 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8527 PyObject *resultobj;
8528 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8529 int result;
8530 PyObject * obj0 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "self", NULL
8533 };
8534
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8537 result = (int) ((arg1)->m_exitcode);
8538
8539 resultobj = PyInt_FromLong((long)result);
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8547 PyObject *obj;
8548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8549 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8550 Py_INCREF(obj);
8551 return Py_BuildValue((char *)"");
8552 }
8553 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8554 PyObject *resultobj;
8555 wxString *arg1 = 0 ;
8556 int arg2 = (int) wxEXEC_ASYNC ;
8557 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8558 long result;
8559 bool temp1 = False ;
8560 PyObject * obj0 = 0 ;
8561 PyObject * obj2 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "command",(char *) "flags",(char *) "process", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8567 {
8568 arg1 = wxString_in_helper(obj0);
8569 if (arg1 == NULL) SWIG_fail;
8570 temp1 = True;
8571 }
8572 if (obj2) {
8573 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8574 }
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 resultobj = PyInt_FromLong((long)result);
8583 {
8584 if (temp1)
8585 delete arg1;
8586 }
8587 return resultobj;
8588 fail:
8589 {
8590 if (temp1)
8591 delete arg1;
8592 }
8593 return NULL;
8594 }
8595
8596
8597 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 int arg1 = (int) wxJOYSTICK1 ;
8600 wxJoystick *result;
8601 char *kwnames[] = {
8602 (char *) "joystick", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (wxJoystick *)new wxJoystick(arg1);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj;
8622 wxJoystick *arg1 = (wxJoystick *) 0 ;
8623 PyObject * obj0 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 delete arg1;
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 Py_INCREF(Py_None); resultobj = Py_None;
8638 return resultobj;
8639 fail:
8640 return NULL;
8641 }
8642
8643
8644 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8645 PyObject *resultobj;
8646 wxJoystick *arg1 = (wxJoystick *) 0 ;
8647 wxPoint result;
8648 PyObject * obj0 = 0 ;
8649 char *kwnames[] = {
8650 (char *) "self", NULL
8651 };
8652
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 result = (arg1)->GetPosition();
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 {
8663 wxPoint * resultptr;
8664 resultptr = new wxPoint((wxPoint &) result);
8665 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8666 }
8667 return resultobj;
8668 fail:
8669 return NULL;
8670 }
8671
8672
8673 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8674 PyObject *resultobj;
8675 wxJoystick *arg1 = (wxJoystick *) 0 ;
8676 int result;
8677 PyObject * obj0 = 0 ;
8678 char *kwnames[] = {
8679 (char *) "self", NULL
8680 };
8681
8682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 result = (int)(arg1)->GetZPosition();
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 resultobj = PyInt_FromLong((long)result);
8692 return resultobj;
8693 fail:
8694 return NULL;
8695 }
8696
8697
8698 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8699 PyObject *resultobj;
8700 wxJoystick *arg1 = (wxJoystick *) 0 ;
8701 int result;
8702 PyObject * obj0 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = (int)(arg1)->GetButtonState();
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 resultobj = PyInt_FromLong((long)result);
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj;
8725 wxJoystick *arg1 = (wxJoystick *) 0 ;
8726 int result;
8727 PyObject * obj0 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 result = (int)(arg1)->GetPOVPosition();
8737
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 resultobj = PyInt_FromLong((long)result);
8742 return resultobj;
8743 fail:
8744 return NULL;
8745 }
8746
8747
8748 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8749 PyObject *resultobj;
8750 wxJoystick *arg1 = (wxJoystick *) 0 ;
8751 int result;
8752 PyObject * obj0 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "self", NULL
8755 };
8756
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8759 {
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 result = (int)(arg1)->GetPOVCTSPosition();
8762
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
8766 resultobj = PyInt_FromLong((long)result);
8767 return resultobj;
8768 fail:
8769 return NULL;
8770 }
8771
8772
8773 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj;
8775 wxJoystick *arg1 = (wxJoystick *) 0 ;
8776 int result;
8777 PyObject * obj0 = 0 ;
8778 char *kwnames[] = {
8779 (char *) "self", NULL
8780 };
8781
8782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 result = (int)(arg1)->GetRudderPosition();
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 resultobj = PyInt_FromLong((long)result);
8792 return resultobj;
8793 fail:
8794 return NULL;
8795 }
8796
8797
8798 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxJoystick *arg1 = (wxJoystick *) 0 ;
8801 int result;
8802 PyObject * obj0 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 result = (int)(arg1)->GetUPosition();
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 resultobj = PyInt_FromLong((long)result);
8817 return resultobj;
8818 fail:
8819 return NULL;
8820 }
8821
8822
8823 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj;
8825 wxJoystick *arg1 = (wxJoystick *) 0 ;
8826 int result;
8827 PyObject * obj0 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
8836 result = (int)(arg1)->GetVPosition();
8837
8838 wxPyEndAllowThreads(__tstate);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 resultobj = PyInt_FromLong((long)result);
8842 return resultobj;
8843 fail:
8844 return NULL;
8845 }
8846
8847
8848 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj;
8850 wxJoystick *arg1 = (wxJoystick *) 0 ;
8851 int result;
8852 PyObject * obj0 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "self", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 result = (int)(arg1)->GetMovementThreshold();
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 resultobj = PyInt_FromLong((long)result);
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxJoystick *arg1 = (wxJoystick *) 0 ;
8876 int arg2 ;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self",(char *) "threshold", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 (arg1)->SetMovementThreshold(arg2);
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 Py_INCREF(Py_None); resultobj = Py_None;
8892 return resultobj;
8893 fail:
8894 return NULL;
8895 }
8896
8897
8898 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxJoystick *arg1 = (wxJoystick *) 0 ;
8901 bool result;
8902 PyObject * obj0 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 result = (bool)(arg1)->IsOk();
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 resultobj = PyInt_FromLong((long)result);
8917 return resultobj;
8918 fail:
8919 return NULL;
8920 }
8921
8922
8923 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxJoystick *arg1 = (wxJoystick *) 0 ;
8926 int result;
8927 PyObject * obj0 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 result = (int)(arg1)->GetNumberJoysticks();
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 resultobj = PyInt_FromLong((long)result);
8942 return resultobj;
8943 fail:
8944 return NULL;
8945 }
8946
8947
8948 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxJoystick *arg1 = (wxJoystick *) 0 ;
8951 int result;
8952 PyObject * obj0 = 0 ;
8953 char *kwnames[] = {
8954 (char *) "self", NULL
8955 };
8956
8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
8958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 result = (int)(arg1)->GetManufacturerId();
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 resultobj = PyInt_FromLong((long)result);
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxJoystick *arg1 = (wxJoystick *) 0 ;
8976 int result;
8977 PyObject * obj0 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "self", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
8983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 result = (int)(arg1)->GetProductId();
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 resultobj = PyInt_FromLong((long)result);
8992 return resultobj;
8993 fail:
8994 return NULL;
8995 }
8996
8997
8998 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj;
9000 wxJoystick *arg1 = (wxJoystick *) 0 ;
9001 wxString result;
9002 PyObject * obj0 = 0 ;
9003 char *kwnames[] = {
9004 (char *) "self", NULL
9005 };
9006
9007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 result = (arg1)->GetProductName();
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 {
9017 #if wxUSE_UNICODE
9018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9019 #else
9020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9021 #endif
9022 }
9023 return resultobj;
9024 fail:
9025 return NULL;
9026 }
9027
9028
9029 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj;
9031 wxJoystick *arg1 = (wxJoystick *) 0 ;
9032 int result;
9033 PyObject * obj0 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "self", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 result = (int)(arg1)->GetXMin();
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 resultobj = PyInt_FromLong((long)result);
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxJoystick *arg1 = (wxJoystick *) 0 ;
9057 int result;
9058 PyObject * obj0 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "self", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (int)(arg1)->GetYMin();
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = PyInt_FromLong((long)result);
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxJoystick *arg1 = (wxJoystick *) 0 ;
9082 int result;
9083 PyObject * obj0 = 0 ;
9084 char *kwnames[] = {
9085 (char *) "self", NULL
9086 };
9087
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 result = (int)(arg1)->GetZMin();
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 resultobj = PyInt_FromLong((long)result);
9098 return resultobj;
9099 fail:
9100 return NULL;
9101 }
9102
9103
9104 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj;
9106 wxJoystick *arg1 = (wxJoystick *) 0 ;
9107 int result;
9108 PyObject * obj0 = 0 ;
9109 char *kwnames[] = {
9110 (char *) "self", NULL
9111 };
9112
9113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 result = (int)(arg1)->GetXMax();
9118
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 resultobj = PyInt_FromLong((long)result);
9123 return resultobj;
9124 fail:
9125 return NULL;
9126 }
9127
9128
9129 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj;
9131 wxJoystick *arg1 = (wxJoystick *) 0 ;
9132 int result;
9133 PyObject * obj0 = 0 ;
9134 char *kwnames[] = {
9135 (char *) "self", NULL
9136 };
9137
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 result = (int)(arg1)->GetYMax();
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 resultobj = PyInt_FromLong((long)result);
9148 return resultobj;
9149 fail:
9150 return NULL;
9151 }
9152
9153
9154 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9155 PyObject *resultobj;
9156 wxJoystick *arg1 = (wxJoystick *) 0 ;
9157 int result;
9158 PyObject * obj0 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 result = (int)(arg1)->GetZMax();
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 resultobj = PyInt_FromLong((long)result);
9173 return resultobj;
9174 fail:
9175 return NULL;
9176 }
9177
9178
9179 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxJoystick *arg1 = (wxJoystick *) 0 ;
9182 int result;
9183 PyObject * obj0 = 0 ;
9184 char *kwnames[] = {
9185 (char *) "self", NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (int)(arg1)->GetNumberButtons();
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 resultobj = PyInt_FromLong((long)result);
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxJoystick *arg1 = (wxJoystick *) 0 ;
9207 int result;
9208 PyObject * obj0 = 0 ;
9209 char *kwnames[] = {
9210 (char *) "self", NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9215 {
9216 PyThreadState* __tstate = wxPyBeginAllowThreads();
9217 result = (int)(arg1)->GetNumberAxes();
9218
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 resultobj = PyInt_FromLong((long)result);
9223 return resultobj;
9224 fail:
9225 return NULL;
9226 }
9227
9228
9229 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj;
9231 wxJoystick *arg1 = (wxJoystick *) 0 ;
9232 int result;
9233 PyObject * obj0 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (int)(arg1)->GetMaxButtons();
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 resultobj = PyInt_FromLong((long)result);
9248 return resultobj;
9249 fail:
9250 return NULL;
9251 }
9252
9253
9254 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxJoystick *arg1 = (wxJoystick *) 0 ;
9257 int result;
9258 PyObject * obj0 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (int)(arg1)->GetMaxAxes();
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 resultobj = PyInt_FromLong((long)result);
9273 return resultobj;
9274 fail:
9275 return NULL;
9276 }
9277
9278
9279 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj;
9281 wxJoystick *arg1 = (wxJoystick *) 0 ;
9282 int result;
9283 PyObject * obj0 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9290 {
9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
9292 result = (int)(arg1)->GetPollingMin();
9293
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 resultobj = PyInt_FromLong((long)result);
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9305 PyObject *resultobj;
9306 wxJoystick *arg1 = (wxJoystick *) 0 ;
9307 int result;
9308 PyObject * obj0 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (int)(arg1)->GetPollingMax();
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 resultobj = PyInt_FromLong((long)result);
9323 return resultobj;
9324 fail:
9325 return NULL;
9326 }
9327
9328
9329 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj;
9331 wxJoystick *arg1 = (wxJoystick *) 0 ;
9332 int result;
9333 PyObject * obj0 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 result = (int)(arg1)->GetRudderMin();
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 resultobj = PyInt_FromLong((long)result);
9348 return resultobj;
9349 fail:
9350 return NULL;
9351 }
9352
9353
9354 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj;
9356 wxJoystick *arg1 = (wxJoystick *) 0 ;
9357 int result;
9358 PyObject * obj0 = 0 ;
9359 char *kwnames[] = {
9360 (char *) "self", NULL
9361 };
9362
9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 result = (int)(arg1)->GetRudderMax();
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 resultobj = PyInt_FromLong((long)result);
9373 return resultobj;
9374 fail:
9375 return NULL;
9376 }
9377
9378
9379 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxJoystick *arg1 = (wxJoystick *) 0 ;
9382 int result;
9383 PyObject * obj0 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "self", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (int)(arg1)->GetUMin();
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 resultobj = PyInt_FromLong((long)result);
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxJoystick *arg1 = (wxJoystick *) 0 ;
9407 int result;
9408 PyObject * obj0 = 0 ;
9409 char *kwnames[] = {
9410 (char *) "self", NULL
9411 };
9412
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (int)(arg1)->GetUMax();
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 resultobj = PyInt_FromLong((long)result);
9423 return resultobj;
9424 fail:
9425 return NULL;
9426 }
9427
9428
9429 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxJoystick *arg1 = (wxJoystick *) 0 ;
9432 int result;
9433 PyObject * obj0 = 0 ;
9434 char *kwnames[] = {
9435 (char *) "self", NULL
9436 };
9437
9438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9440 {
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 result = (int)(arg1)->GetVMin();
9443
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 resultobj = PyInt_FromLong((long)result);
9448 return resultobj;
9449 fail:
9450 return NULL;
9451 }
9452
9453
9454 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9455 PyObject *resultobj;
9456 wxJoystick *arg1 = (wxJoystick *) 0 ;
9457 int result;
9458 PyObject * obj0 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (int)(arg1)->GetVMax();
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 resultobj = PyInt_FromLong((long)result);
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxJoystick *arg1 = (wxJoystick *) 0 ;
9482 bool result;
9483 PyObject * obj0 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 result = (bool)(arg1)->HasRudder();
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 resultobj = PyInt_FromLong((long)result);
9498 return resultobj;
9499 fail:
9500 return NULL;
9501 }
9502
9503
9504 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9505 PyObject *resultobj;
9506 wxJoystick *arg1 = (wxJoystick *) 0 ;
9507 bool result;
9508 PyObject * obj0 = 0 ;
9509 char *kwnames[] = {
9510 (char *) "self", NULL
9511 };
9512
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 result = (bool)(arg1)->HasZ();
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 resultobj = PyInt_FromLong((long)result);
9523 return resultobj;
9524 fail:
9525 return NULL;
9526 }
9527
9528
9529 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj;
9531 wxJoystick *arg1 = (wxJoystick *) 0 ;
9532 bool result;
9533 PyObject * obj0 = 0 ;
9534 char *kwnames[] = {
9535 (char *) "self", NULL
9536 };
9537
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 result = (bool)(arg1)->HasU();
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 resultobj = PyInt_FromLong((long)result);
9548 return resultobj;
9549 fail:
9550 return NULL;
9551 }
9552
9553
9554 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9555 PyObject *resultobj;
9556 wxJoystick *arg1 = (wxJoystick *) 0 ;
9557 bool result;
9558 PyObject * obj0 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (bool)(arg1)->HasV();
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 resultobj = PyInt_FromLong((long)result);
9573 return resultobj;
9574 fail:
9575 return NULL;
9576 }
9577
9578
9579 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject *resultobj;
9581 wxJoystick *arg1 = (wxJoystick *) 0 ;
9582 bool result;
9583 PyObject * obj0 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 result = (bool)(arg1)->HasPOV();
9593
9594 wxPyEndAllowThreads(__tstate);
9595 if (PyErr_Occurred()) SWIG_fail;
9596 }
9597 resultobj = PyInt_FromLong((long)result);
9598 return resultobj;
9599 fail:
9600 return NULL;
9601 }
9602
9603
9604 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9605 PyObject *resultobj;
9606 wxJoystick *arg1 = (wxJoystick *) 0 ;
9607 bool result;
9608 PyObject * obj0 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "self", NULL
9611 };
9612
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (bool)(arg1)->HasPOV4Dir();
9618
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 resultobj = PyInt_FromLong((long)result);
9623 return resultobj;
9624 fail:
9625 return NULL;
9626 }
9627
9628
9629 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9630 PyObject *resultobj;
9631 wxJoystick *arg1 = (wxJoystick *) 0 ;
9632 bool result;
9633 PyObject * obj0 = 0 ;
9634 char *kwnames[] = {
9635 (char *) "self", NULL
9636 };
9637
9638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (bool)(arg1)->HasPOVCTS();
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 resultobj = PyInt_FromLong((long)result);
9648 return resultobj;
9649 fail:
9650 return NULL;
9651 }
9652
9653
9654 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj;
9656 wxJoystick *arg1 = (wxJoystick *) 0 ;
9657 wxWindow *arg2 = (wxWindow *) 0 ;
9658 int arg3 = (int) 0 ;
9659 bool result;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9669 {
9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
9671 result = (bool)(arg1)->SetCapture(arg2,arg3);
9672
9673 wxPyEndAllowThreads(__tstate);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 }
9676 resultobj = PyInt_FromLong((long)result);
9677 return resultobj;
9678 fail:
9679 return NULL;
9680 }
9681
9682
9683 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj;
9685 wxJoystick *arg1 = (wxJoystick *) 0 ;
9686 bool result;
9687 PyObject * obj0 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (bool)(arg1)->ReleaseCapture();
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = PyInt_FromLong((long)result);
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9709 PyObject *obj;
9710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9711 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9712 Py_INCREF(obj);
9713 return Py_BuildValue((char *)"");
9714 }
9715 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9718 wxPoint *arg2 = (wxPoint *) 0 ;
9719 PyObject * obj0 = 0 ;
9720 PyObject * obj1 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "m_pos", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9728 if (arg1) (arg1)->m_pos = *arg2;
9729
9730 Py_INCREF(Py_None); resultobj = Py_None;
9731 return resultobj;
9732 fail:
9733 return NULL;
9734 }
9735
9736
9737 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject *resultobj;
9739 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9740 wxPoint *result;
9741 PyObject * obj0 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9748 result = (wxPoint *)& ((arg1)->m_pos);
9749
9750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj;
9759 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9760 int arg2 ;
9761 PyObject * obj0 = 0 ;
9762 char *kwnames[] = {
9763 (char *) "self",(char *) "m_zPosition", NULL
9764 };
9765
9766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9768 if (arg1) (arg1)->m_zPosition = arg2;
9769
9770 Py_INCREF(Py_None); resultobj = Py_None;
9771 return resultobj;
9772 fail:
9773 return NULL;
9774 }
9775
9776
9777 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9780 int result;
9781 PyObject * obj0 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9788 result = (int) ((arg1)->m_zPosition);
9789
9790 resultobj = PyInt_FromLong((long)result);
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9800 int arg2 ;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self",(char *) "m_buttonChange", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9808 if (arg1) (arg1)->m_buttonChange = arg2;
9809
9810 Py_INCREF(Py_None); resultobj = Py_None;
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9820 int result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 result = (int) ((arg1)->m_buttonChange);
9829
9830 resultobj = PyInt_FromLong((long)result);
9831 return resultobj;
9832 fail:
9833 return NULL;
9834 }
9835
9836
9837 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9840 int arg2 ;
9841 PyObject * obj0 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self",(char *) "m_buttonState", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9848 if (arg1) (arg1)->m_buttonState = arg2;
9849
9850 Py_INCREF(Py_None); resultobj = Py_None;
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9860 int result;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9868 result = (int) ((arg1)->m_buttonState);
9869
9870 resultobj = PyInt_FromLong((long)result);
9871 return resultobj;
9872 fail:
9873 return NULL;
9874 }
9875
9876
9877 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9880 int arg2 ;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "m_joyStick", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 if (arg1) (arg1)->m_joyStick = arg2;
9889
9890 Py_INCREF(Py_None); resultobj = Py_None;
9891 return resultobj;
9892 fail:
9893 return NULL;
9894 }
9895
9896
9897 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9900 int result;
9901 PyObject * obj0 = 0 ;
9902 char *kwnames[] = {
9903 (char *) "self", NULL
9904 };
9905
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9908 result = (int) ((arg1)->m_joyStick);
9909
9910 resultobj = PyInt_FromLong((long)result);
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9920 int arg2 = (int) 0 ;
9921 int arg3 = (int) wxJOYSTICK1 ;
9922 int arg4 = (int) 0 ;
9923 wxJoystickEvent *result;
9924 char *kwnames[] = {
9925 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
9937 return resultobj;
9938 fail:
9939 return NULL;
9940 }
9941
9942
9943 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9944 PyObject *resultobj;
9945 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9946 wxPoint result;
9947 PyObject * obj0 = 0 ;
9948 char *kwnames[] = {
9949 (char *) "self", NULL
9950 };
9951
9952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
9953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = ((wxJoystickEvent const *)arg1)->GetPosition();
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 {
9962 wxPoint * resultptr;
9963 resultptr = new wxPoint((wxPoint &) result);
9964 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9965 }
9966 return resultobj;
9967 fail:
9968 return NULL;
9969 }
9970
9971
9972 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9973 PyObject *resultobj;
9974 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9975 int result;
9976 PyObject * obj0 = 0 ;
9977 char *kwnames[] = {
9978 (char *) "self", NULL
9979 };
9980
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
9982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9983 {
9984 PyThreadState* __tstate = wxPyBeginAllowThreads();
9985 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
9986
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 resultobj = PyInt_FromLong((long)result);
9991 return resultobj;
9992 fail:
9993 return NULL;
9994 }
9995
9996
9997 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10000 int result;
10001 PyObject * obj0 = 0 ;
10002 char *kwnames[] = {
10003 (char *) "self", NULL
10004 };
10005
10006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 resultobj = PyInt_FromLong((long)result);
10016 return resultobj;
10017 fail:
10018 return NULL;
10019 }
10020
10021
10022 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject *resultobj;
10024 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10025 int result;
10026 PyObject * obj0 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 resultobj = PyInt_FromLong((long)result);
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10050 int result;
10051 PyObject * obj0 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 resultobj = PyInt_FromLong((long)result);
10066 return resultobj;
10067 fail:
10068 return NULL;
10069 }
10070
10071
10072 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10075 int arg2 ;
10076 PyObject * obj0 = 0 ;
10077 char *kwnames[] = {
10078 (char *) "self",(char *) "stick", NULL
10079 };
10080
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 (arg1)->SetJoystick(arg2);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 Py_INCREF(Py_None); resultobj = Py_None;
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10100 int arg2 ;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self",(char *) "state", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetButtonState(arg2);
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 Py_INCREF(Py_None); resultobj = Py_None;
10116 return resultobj;
10117 fail:
10118 return NULL;
10119 }
10120
10121
10122 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10125 int arg2 ;
10126 PyObject * obj0 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self",(char *) "change", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 (arg1)->SetButtonChange(arg2);
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 Py_INCREF(Py_None); resultobj = Py_None;
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10150 wxPoint *arg2 = 0 ;
10151 wxPoint temp2 ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char *kwnames[] = {
10155 (char *) "self",(char *) "pos", NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10160 {
10161 arg2 = &temp2;
10162 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10163 }
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 (arg1)->SetPosition((wxPoint const &)*arg2);
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 Py_INCREF(Py_None); resultobj = Py_None;
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10181 int arg2 ;
10182 PyObject * obj0 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self",(char *) "zPos", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 (arg1)->SetZPosition(arg2);
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 Py_INCREF(Py_None); resultobj = Py_None;
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10206 bool result;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = PyInt_FromLong((long)result);
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj;
10230 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10231 bool result;
10232 PyObject * obj0 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 resultobj = PyInt_FromLong((long)result);
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj;
10255 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10256 bool result;
10257 PyObject * obj0 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 resultobj = PyInt_FromLong((long)result);
10272 return resultobj;
10273 fail:
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10281 int arg2 = (int) wxJOY_BUTTON_ANY ;
10282 bool result;
10283 PyObject * obj0 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "self",(char *) "but", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 resultobj = PyInt_FromLong((long)result);
10298 return resultobj;
10299 fail:
10300 return NULL;
10301 }
10302
10303
10304 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj;
10306 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10307 int arg2 = (int) wxJOY_BUTTON_ANY ;
10308 bool result;
10309 PyObject * obj0 = 0 ;
10310 char *kwnames[] = {
10311 (char *) "self",(char *) "but", NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = PyInt_FromLong((long)result);
10324 return resultobj;
10325 fail:
10326 return NULL;
10327 }
10328
10329
10330 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10333 int arg2 = (int) wxJOY_BUTTON_ANY ;
10334 bool result;
10335 PyObject * obj0 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self",(char *) "but", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 resultobj = PyInt_FromLong((long)result);
10350 return resultobj;
10351 fail:
10352 return NULL;
10353 }
10354
10355
10356 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10357 PyObject *obj;
10358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10359 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10360 Py_INCREF(obj);
10361 return Py_BuildValue((char *)"");
10362 }
10363 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxString *arg1 = 0 ;
10366 bool arg2 = (bool) False ;
10367 wxWave *result;
10368 bool temp1 = False ;
10369 PyObject * obj0 = 0 ;
10370 PyObject * obj1 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "fileName",(char *) "isResource", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10376 {
10377 arg1 = wxString_in_helper(obj0);
10378 if (arg1 == NULL) SWIG_fail;
10379 temp1 = True;
10380 }
10381 if (obj1) {
10382 arg2 = PyInt_AsLong(obj1) ? true : false;
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10393 {
10394 if (temp1)
10395 delete arg1;
10396 }
10397 return resultobj;
10398 fail:
10399 {
10400 if (temp1)
10401 delete arg1;
10402 }
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxString *arg1 = 0 ;
10410 wxWave *result;
10411 bool temp1 = False ;
10412 PyObject * obj0 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "data", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10418 {
10419 arg1 = wxString_in_helper(obj0);
10420 if (arg1 == NULL) SWIG_fail;
10421 temp1 = True;
10422 }
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10431 {
10432 if (temp1)
10433 delete arg1;
10434 }
10435 return resultobj;
10436 fail:
10437 {
10438 if (temp1)
10439 delete arg1;
10440 }
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxWave *arg1 = (wxWave *) 0 ;
10448 PyObject * obj0 = 0 ;
10449 char *kwnames[] = {
10450 (char *) "self", NULL
10451 };
10452
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 delete arg1;
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 Py_INCREF(Py_None); resultobj = Py_None;
10463 return resultobj;
10464 fail:
10465 return NULL;
10466 }
10467
10468
10469 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxWave *arg1 = (wxWave *) 0 ;
10472 bool result;
10473 PyObject * obj0 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 result = (bool)((wxWave const *)arg1)->IsOk();
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 resultobj = PyInt_FromLong((long)result);
10488 return resultobj;
10489 fail:
10490 return NULL;
10491 }
10492
10493
10494 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10495 PyObject *resultobj;
10496 wxWave *arg1 = (wxWave *) 0 ;
10497 bool arg2 = (bool) True ;
10498 bool arg3 = (bool) False ;
10499 bool result;
10500 PyObject * obj0 = 0 ;
10501 PyObject * obj1 = 0 ;
10502 PyObject * obj2 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self",(char *) "async",(char *) "looped", NULL
10505 };
10506
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10509 if (obj1) {
10510 arg2 = PyInt_AsLong(obj1) ? true : false;
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
10513 if (obj2) {
10514 arg3 = PyInt_AsLong(obj2) ? true : false;
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = (bool)(arg1)->Play(arg2,arg3);
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 resultobj = PyInt_FromLong((long)result);
10525 return resultobj;
10526 fail:
10527 return NULL;
10528 }
10529
10530
10531 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10532 PyObject *obj;
10533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10534 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10535 Py_INCREF(obj);
10536 return Py_BuildValue((char *)"");
10537 }
10538 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxString *arg1 = 0 ;
10541 wxString *arg2 = 0 ;
10542 wxString *arg3 = 0 ;
10543 wxString *arg4 = 0 ;
10544 wxFileTypeInfo *result;
10545 bool temp1 = False ;
10546 bool temp2 = False ;
10547 bool temp3 = False ;
10548 bool temp4 = False ;
10549 PyObject * obj0 = 0 ;
10550 PyObject * obj1 = 0 ;
10551 PyObject * obj2 = 0 ;
10552 PyObject * obj3 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10558 {
10559 arg1 = wxString_in_helper(obj0);
10560 if (arg1 == NULL) SWIG_fail;
10561 temp1 = True;
10562 }
10563 {
10564 arg2 = wxString_in_helper(obj1);
10565 if (arg2 == NULL) SWIG_fail;
10566 temp2 = True;
10567 }
10568 {
10569 arg3 = wxString_in_helper(obj2);
10570 if (arg3 == NULL) SWIG_fail;
10571 temp3 = True;
10572 }
10573 {
10574 arg4 = wxString_in_helper(obj3);
10575 if (arg4 == NULL) SWIG_fail;
10576 temp4 = True;
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10586 {
10587 if (temp1)
10588 delete arg1;
10589 }
10590 {
10591 if (temp2)
10592 delete arg2;
10593 }
10594 {
10595 if (temp3)
10596 delete arg3;
10597 }
10598 {
10599 if (temp4)
10600 delete arg4;
10601 }
10602 return resultobj;
10603 fail:
10604 {
10605 if (temp1)
10606 delete arg1;
10607 }
10608 {
10609 if (temp2)
10610 delete arg2;
10611 }
10612 {
10613 if (temp3)
10614 delete arg3;
10615 }
10616 {
10617 if (temp4)
10618 delete arg4;
10619 }
10620 return NULL;
10621 }
10622
10623
10624 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj;
10626 wxArrayString *arg1 = 0 ;
10627 wxFileTypeInfo *result;
10628 PyObject * obj0 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "sArray", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10634 {
10635 if (! PySequence_Check(obj0)) {
10636 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10637 SWIG_fail;
10638 }
10639 arg1 = new wxArrayString;
10640 int i, len=PySequence_Length(obj0);
10641 for (i=0; i<len; i++) {
10642 PyObject* item = PySequence_GetItem(obj0, i);
10643 #if wxUSE_UNICODE
10644 PyObject* str = PyObject_Unicode(item);
10645 #else
10646 PyObject* str = PyObject_Str(item);
10647 #endif
10648 arg1->Add(Py2wxString(str));
10649 Py_DECREF(item);
10650 Py_DECREF(str);
10651 }
10652 }
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10661 {
10662 if (arg1) delete arg1;
10663 }
10664 return resultobj;
10665 fail:
10666 {
10667 if (arg1) delete arg1;
10668 }
10669 return NULL;
10670 }
10671
10672
10673 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxFileTypeInfo *result;
10676 char *kwnames[] = {
10677 NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10689 return resultobj;
10690 fail:
10691 return NULL;
10692 }
10693
10694
10695 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10698 bool result;
10699 PyObject * obj0 = 0 ;
10700 char *kwnames[] = {
10701 (char *) "self", NULL
10702 };
10703
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10709
10710 wxPyEndAllowThreads(__tstate);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 resultobj = PyInt_FromLong((long)result);
10714 return resultobj;
10715 fail:
10716 return NULL;
10717 }
10718
10719
10720 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10721 PyObject *resultobj;
10722 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10723 wxString *arg2 = 0 ;
10724 int arg3 = (int) 0 ;
10725 bool temp2 = False ;
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10734 {
10735 arg2 = wxString_in_helper(obj1);
10736 if (arg2 == NULL) SWIG_fail;
10737 temp2 = True;
10738 }
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 Py_INCREF(Py_None); resultobj = Py_None;
10747 {
10748 if (temp2)
10749 delete arg2;
10750 }
10751 return resultobj;
10752 fail:
10753 {
10754 if (temp2)
10755 delete arg2;
10756 }
10757 return NULL;
10758 }
10759
10760
10761 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10764 wxString *arg2 = 0 ;
10765 bool temp2 = False ;
10766 PyObject * obj0 = 0 ;
10767 PyObject * obj1 = 0 ;
10768 char *kwnames[] = {
10769 (char *) "self",(char *) "shortDesc", NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10774 {
10775 arg2 = wxString_in_helper(obj1);
10776 if (arg2 == NULL) SWIG_fail;
10777 temp2 = True;
10778 }
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 (arg1)->SetShortDesc((wxString const &)*arg2);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 Py_INCREF(Py_None); resultobj = Py_None;
10787 {
10788 if (temp2)
10789 delete arg2;
10790 }
10791 return resultobj;
10792 fail:
10793 {
10794 if (temp2)
10795 delete arg2;
10796 }
10797 return NULL;
10798 }
10799
10800
10801 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10804 wxString *result;
10805 PyObject * obj0 = 0 ;
10806 char *kwnames[] = {
10807 (char *) "self", NULL
10808 };
10809
10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 {
10815 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10816 result = (wxString *) &_result_ref;
10817 }
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 {
10823 #if wxUSE_UNICODE
10824 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10825 #else
10826 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10827 #endif
10828 }
10829 return resultobj;
10830 fail:
10831 return NULL;
10832 }
10833
10834
10835 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj;
10837 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10838 wxString *result;
10839 PyObject * obj0 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self", NULL
10842 };
10843
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 {
10849 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10850 result = (wxString *) &_result_ref;
10851 }
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 {
10857 #if wxUSE_UNICODE
10858 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10859 #else
10860 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10861 #endif
10862 }
10863 return resultobj;
10864 fail:
10865 return NULL;
10866 }
10867
10868
10869 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj;
10871 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10872 wxString *result;
10873 PyObject * obj0 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10880 {
10881 PyThreadState* __tstate = wxPyBeginAllowThreads();
10882 {
10883 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10884 result = (wxString *) &_result_ref;
10885 }
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 {
10891 #if wxUSE_UNICODE
10892 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10893 #else
10894 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10895 #endif
10896 }
10897 return resultobj;
10898 fail:
10899 return NULL;
10900 }
10901
10902
10903 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10904 PyObject *resultobj;
10905 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10906 wxString *result;
10907 PyObject * obj0 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",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 {
10917 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10918 result = (wxString *) &_result_ref;
10919 }
10920
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 {
10925 #if wxUSE_UNICODE
10926 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10927 #else
10928 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10929 #endif
10930 }
10931 return resultobj;
10932 fail:
10933 return NULL;
10934 }
10935
10936
10937 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10940 wxString *result;
10941 PyObject * obj0 = 0 ;
10942 char *kwnames[] = {
10943 (char *) "self", NULL
10944 };
10945
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
10947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 {
10951 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
10952 result = (wxString *) &_result_ref;
10953 }
10954
10955 wxPyEndAllowThreads(__tstate);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 }
10958 {
10959 #if wxUSE_UNICODE
10960 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10961 #else
10962 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10963 #endif
10964 }
10965 return resultobj;
10966 fail:
10967 return NULL;
10968 }
10969
10970
10971 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10974 wxArrayString *result;
10975 PyObject * obj0 = 0 ;
10976 char *kwnames[] = {
10977 (char *) "self", NULL
10978 };
10979
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
10981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 {
10985 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
10986 result = (wxArrayString *) &_result_ref;
10987 }
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 {
10993 resultobj = wxArrayString2PyList_helper(*result);
10994 }
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11004 int result;
11005 PyObject * obj0 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11015
11016 wxPyEndAllowThreads(__tstate);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 }
11019 resultobj = PyInt_FromLong((long)result);
11020 return resultobj;
11021 fail:
11022 return NULL;
11023 }
11024
11025
11026 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11027 PyObject *resultobj;
11028 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11029 wxString *result;
11030 PyObject * obj0 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "self", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11037 {
11038 PyThreadState* __tstate = wxPyBeginAllowThreads();
11039 {
11040 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11041 result = (wxString *) &_result_ref;
11042 }
11043
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 #if wxUSE_UNICODE
11049 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11050 #else
11051 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11052 #endif
11053 }
11054 return resultobj;
11055 fail:
11056 return NULL;
11057 }
11058
11059
11060 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj;
11062 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11063 int result;
11064 PyObject * obj0 = 0 ;
11065 char *kwnames[] = {
11066 (char *) "self", NULL
11067 };
11068
11069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11074
11075 wxPyEndAllowThreads(__tstate);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 resultobj = PyInt_FromLong((long)result);
11079 return resultobj;
11080 fail:
11081 return NULL;
11082 }
11083
11084
11085 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11086 PyObject *obj;
11087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11088 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11089 Py_INCREF(obj);
11090 return Py_BuildValue((char *)"");
11091 }
11092 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj;
11094 wxFileTypeInfo *arg1 = 0 ;
11095 wxFileType *result;
11096 PyObject * obj0 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "ftInfo", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11103 if (arg1 == NULL) {
11104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11105 }
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxFileType *arg1 = (wxFileType *) 0 ;
11123 PyObject * obj0 = 0 ;
11124 char *kwnames[] = {
11125 (char *) "self", NULL
11126 };
11127
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11130 {
11131 PyThreadState* __tstate = wxPyBeginAllowThreads();
11132 delete arg1;
11133
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 Py_INCREF(Py_None); resultobj = Py_None;
11138 return resultobj;
11139 fail:
11140 return NULL;
11141 }
11142
11143
11144 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11145 PyObject *resultobj;
11146 wxFileType *arg1 = (wxFileType *) 0 ;
11147 PyObject *result;
11148 PyObject * obj0 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (PyObject *)wxFileType_GetMimeType(arg1);
11158
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 resultobj = result;
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxFileType *arg1 = (wxFileType *) 0 ;
11172 PyObject *result;
11173 PyObject * obj0 = 0 ;
11174 char *kwnames[] = {
11175 (char *) "self", NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11183
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 resultobj = result;
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxFileType *arg1 = (wxFileType *) 0 ;
11197 PyObject *result;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (PyObject *)wxFileType_GetExtensions(arg1);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 resultobj = result;
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxFileType *arg1 = (wxFileType *) 0 ;
11222 wxIcon *result;
11223 PyObject * obj0 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 result = (wxIcon *)wxFileType_GetIcon(arg1);
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11238 return resultobj;
11239 fail:
11240 return NULL;
11241 }
11242
11243
11244 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj;
11246 wxFileType *arg1 = (wxFileType *) 0 ;
11247 PyObject *result;
11248 PyObject * obj0 = 0 ;
11249 char *kwnames[] = {
11250 (char *) "self", NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 resultobj = result;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266 }
11267
11268
11269 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj;
11271 wxFileType *arg1 = (wxFileType *) 0 ;
11272 PyObject *result;
11273 PyObject * obj0 = 0 ;
11274 char *kwnames[] = {
11275 (char *) "self", NULL
11276 };
11277
11278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11280 {
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 result = (PyObject *)wxFileType_GetDescription(arg1);
11283
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 resultobj = result;
11288 return resultobj;
11289 fail:
11290 return NULL;
11291 }
11292
11293
11294 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj;
11296 wxFileType *arg1 = (wxFileType *) 0 ;
11297 wxString *arg2 = 0 ;
11298 wxString const &arg3_defvalue = wxPyEmptyString ;
11299 wxString *arg3 = (wxString *) &arg3_defvalue ;
11300 PyObject *result;
11301 bool temp2 = False ;
11302 bool temp3 = False ;
11303 PyObject * obj0 = 0 ;
11304 PyObject * obj1 = 0 ;
11305 PyObject * obj2 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 {
11313 arg2 = wxString_in_helper(obj1);
11314 if (arg2 == NULL) SWIG_fail;
11315 temp2 = True;
11316 }
11317 if (obj2) {
11318 {
11319 arg3 = wxString_in_helper(obj2);
11320 if (arg3 == NULL) SWIG_fail;
11321 temp3 = True;
11322 }
11323 }
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = result;
11332 {
11333 if (temp2)
11334 delete arg2;
11335 }
11336 {
11337 if (temp3)
11338 delete arg3;
11339 }
11340 return resultobj;
11341 fail:
11342 {
11343 if (temp2)
11344 delete arg2;
11345 }
11346 {
11347 if (temp3)
11348 delete arg3;
11349 }
11350 return NULL;
11351 }
11352
11353
11354 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj;
11356 wxFileType *arg1 = (wxFileType *) 0 ;
11357 wxString *arg2 = 0 ;
11358 wxString const &arg3_defvalue = wxPyEmptyString ;
11359 wxString *arg3 = (wxString *) &arg3_defvalue ;
11360 PyObject *result;
11361 bool temp2 = False ;
11362 bool temp3 = False ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 PyObject * obj2 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11372 {
11373 arg2 = wxString_in_helper(obj1);
11374 if (arg2 == NULL) SWIG_fail;
11375 temp2 = True;
11376 }
11377 if (obj2) {
11378 {
11379 arg3 = wxString_in_helper(obj2);
11380 if (arg3 == NULL) SWIG_fail;
11381 temp3 = True;
11382 }
11383 }
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 resultobj = result;
11392 {
11393 if (temp2)
11394 delete arg2;
11395 }
11396 {
11397 if (temp3)
11398 delete arg3;
11399 }
11400 return resultobj;
11401 fail:
11402 {
11403 if (temp2)
11404 delete arg2;
11405 }
11406 {
11407 if (temp3)
11408 delete arg3;
11409 }
11410 return NULL;
11411 }
11412
11413
11414 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxFileType *arg1 = (wxFileType *) 0 ;
11417 wxString *arg2 = 0 ;
11418 wxString const &arg3_defvalue = wxPyEmptyString ;
11419 wxString *arg3 = (wxString *) &arg3_defvalue ;
11420 PyObject *result;
11421 bool temp2 = False ;
11422 bool temp3 = False ;
11423 PyObject * obj0 = 0 ;
11424 PyObject * obj1 = 0 ;
11425 PyObject * obj2 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11432 {
11433 arg2 = wxString_in_helper(obj1);
11434 if (arg2 == NULL) SWIG_fail;
11435 temp2 = True;
11436 }
11437 if (obj2) {
11438 {
11439 arg3 = wxString_in_helper(obj2);
11440 if (arg3 == NULL) SWIG_fail;
11441 temp3 = True;
11442 }
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 resultobj = result;
11452 {
11453 if (temp2)
11454 delete arg2;
11455 }
11456 {
11457 if (temp3)
11458 delete arg3;
11459 }
11460 return resultobj;
11461 fail:
11462 {
11463 if (temp2)
11464 delete arg2;
11465 }
11466 {
11467 if (temp3)
11468 delete arg3;
11469 }
11470 return NULL;
11471 }
11472
11473
11474 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11475 PyObject *resultobj;
11476 wxFileType *arg1 = (wxFileType *) 0 ;
11477 wxString *arg2 = 0 ;
11478 wxString *arg3 = 0 ;
11479 bool arg4 = (bool) True ;
11480 bool result;
11481 bool temp2 = False ;
11482 bool temp3 = False ;
11483 PyObject * obj0 = 0 ;
11484 PyObject * obj1 = 0 ;
11485 PyObject * obj2 = 0 ;
11486 PyObject * obj3 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11493 {
11494 arg2 = wxString_in_helper(obj1);
11495 if (arg2 == NULL) SWIG_fail;
11496 temp2 = True;
11497 }
11498 {
11499 arg3 = wxString_in_helper(obj2);
11500 if (arg3 == NULL) SWIG_fail;
11501 temp3 = True;
11502 }
11503 if (obj3) {
11504 arg4 = PyInt_AsLong(obj3) ? true : false;
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 resultobj = PyInt_FromLong((long)result);
11515 {
11516 if (temp2)
11517 delete arg2;
11518 }
11519 {
11520 if (temp3)
11521 delete arg3;
11522 }
11523 return resultobj;
11524 fail:
11525 {
11526 if (temp2)
11527 delete arg2;
11528 }
11529 {
11530 if (temp3)
11531 delete arg3;
11532 }
11533 return NULL;
11534 }
11535
11536
11537 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11538 PyObject *resultobj;
11539 wxFileType *arg1 = (wxFileType *) 0 ;
11540 wxString const &arg2_defvalue = wxPyEmptyString ;
11541 wxString *arg2 = (wxString *) &arg2_defvalue ;
11542 int arg3 = (int) 0 ;
11543 bool result;
11544 bool temp2 = False ;
11545 PyObject * obj0 = 0 ;
11546 PyObject * obj1 = 0 ;
11547 char *kwnames[] = {
11548 (char *) "self",(char *) "cmd",(char *) "index", NULL
11549 };
11550
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11553 if (obj1) {
11554 {
11555 arg2 = wxString_in_helper(obj1);
11556 if (arg2 == NULL) SWIG_fail;
11557 temp2 = True;
11558 }
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 resultobj = PyInt_FromLong((long)result);
11568 {
11569 if (temp2)
11570 delete arg2;
11571 }
11572 return resultobj;
11573 fail:
11574 {
11575 if (temp2)
11576 delete arg2;
11577 }
11578 return NULL;
11579 }
11580
11581
11582 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj;
11584 wxFileType *arg1 = (wxFileType *) 0 ;
11585 bool result;
11586 PyObject * obj0 = 0 ;
11587 char *kwnames[] = {
11588 (char *) "self", NULL
11589 };
11590
11591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 result = (bool)(arg1)->Unassociate();
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 resultobj = PyInt_FromLong((long)result);
11601 return resultobj;
11602 fail:
11603 return NULL;
11604 }
11605
11606
11607 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11608 PyObject *resultobj;
11609 wxString *arg1 = 0 ;
11610 wxString *arg2 = 0 ;
11611 wxString const &arg3_defvalue = wxPyEmptyString ;
11612 wxString *arg3 = (wxString *) &arg3_defvalue ;
11613 wxString result;
11614 bool temp1 = False ;
11615 bool temp2 = False ;
11616 bool temp3 = False ;
11617 PyObject * obj0 = 0 ;
11618 PyObject * obj1 = 0 ;
11619 PyObject * obj2 = 0 ;
11620 char *kwnames[] = {
11621 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11625 {
11626 arg1 = wxString_in_helper(obj0);
11627 if (arg1 == NULL) SWIG_fail;
11628 temp1 = True;
11629 }
11630 {
11631 arg2 = wxString_in_helper(obj1);
11632 if (arg2 == NULL) SWIG_fail;
11633 temp2 = True;
11634 }
11635 if (obj2) {
11636 {
11637 arg3 = wxString_in_helper(obj2);
11638 if (arg3 == NULL) SWIG_fail;
11639 temp3 = True;
11640 }
11641 }
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11645
11646 wxPyEndAllowThreads(__tstate);
11647 if (PyErr_Occurred()) SWIG_fail;
11648 }
11649 {
11650 #if wxUSE_UNICODE
11651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11652 #else
11653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11654 #endif
11655 }
11656 {
11657 if (temp1)
11658 delete arg1;
11659 }
11660 {
11661 if (temp2)
11662 delete arg2;
11663 }
11664 {
11665 if (temp3)
11666 delete arg3;
11667 }
11668 return resultobj;
11669 fail:
11670 {
11671 if (temp1)
11672 delete arg1;
11673 }
11674 {
11675 if (temp2)
11676 delete arg2;
11677 }
11678 {
11679 if (temp3)
11680 delete arg3;
11681 }
11682 return NULL;
11683 }
11684
11685
11686 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11687 PyObject *obj;
11688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11689 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11690 Py_INCREF(obj);
11691 return Py_BuildValue((char *)"");
11692 }
11693 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11694 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11695 return 1;
11696 }
11697
11698
11699 static PyObject *_wrap_TheMimeTypesManager_get() {
11700 PyObject *pyobj;
11701
11702 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11703 return pyobj;
11704 }
11705
11706
11707 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11708 PyObject *resultobj;
11709 wxString *arg1 = 0 ;
11710 wxString *arg2 = 0 ;
11711 bool result;
11712 bool temp1 = False ;
11713 bool temp2 = False ;
11714 PyObject * obj0 = 0 ;
11715 PyObject * obj1 = 0 ;
11716 char *kwnames[] = {
11717 (char *) "mimeType",(char *) "wildcard", NULL
11718 };
11719
11720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11721 {
11722 arg1 = wxString_in_helper(obj0);
11723 if (arg1 == NULL) SWIG_fail;
11724 temp1 = True;
11725 }
11726 {
11727 arg2 = wxString_in_helper(obj1);
11728 if (arg2 == NULL) SWIG_fail;
11729 temp2 = True;
11730 }
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 resultobj = PyInt_FromLong((long)result);
11739 {
11740 if (temp1)
11741 delete arg1;
11742 }
11743 {
11744 if (temp2)
11745 delete arg2;
11746 }
11747 return resultobj;
11748 fail:
11749 {
11750 if (temp1)
11751 delete arg1;
11752 }
11753 {
11754 if (temp2)
11755 delete arg2;
11756 }
11757 return NULL;
11758 }
11759
11760
11761 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj;
11763 wxMimeTypesManager *result;
11764 char *kwnames[] = {
11765 NULL
11766 };
11767
11768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11777 return resultobj;
11778 fail:
11779 return NULL;
11780 }
11781
11782
11783 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11786 int arg2 = (int) wxMAILCAP_ALL ;
11787 wxString const &arg3_defvalue = wxPyEmptyString ;
11788 wxString *arg3 = (wxString *) &arg3_defvalue ;
11789 bool temp3 = False ;
11790 PyObject * obj0 = 0 ;
11791 PyObject * obj2 = 0 ;
11792 char *kwnames[] = {
11793 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11794 };
11795
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11798 if (obj2) {
11799 {
11800 arg3 = wxString_in_helper(obj2);
11801 if (arg3 == NULL) SWIG_fail;
11802 temp3 = True;
11803 }
11804 }
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 Py_INCREF(Py_None); resultobj = Py_None;
11813 {
11814 if (temp3)
11815 delete arg3;
11816 }
11817 return resultobj;
11818 fail:
11819 {
11820 if (temp3)
11821 delete arg3;
11822 }
11823 return NULL;
11824 }
11825
11826
11827 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11830 PyObject * obj0 = 0 ;
11831 char *kwnames[] = {
11832 (char *) "self", NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 (arg1)->ClearData();
11840
11841 wxPyEndAllowThreads(__tstate);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 }
11844 Py_INCREF(Py_None); resultobj = Py_None;
11845 return resultobj;
11846 fail:
11847 return NULL;
11848 }
11849
11850
11851 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11854 wxString *arg2 = 0 ;
11855 wxFileType *result;
11856 bool temp2 = False ;
11857 PyObject * obj0 = 0 ;
11858 PyObject * obj1 = 0 ;
11859 char *kwnames[] = {
11860 (char *) "self",(char *) "ext", NULL
11861 };
11862
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11865 {
11866 arg2 = wxString_in_helper(obj1);
11867 if (arg2 == NULL) SWIG_fail;
11868 temp2 = True;
11869 }
11870 {
11871 PyThreadState* __tstate = wxPyBeginAllowThreads();
11872 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11873
11874 wxPyEndAllowThreads(__tstate);
11875 if (PyErr_Occurred()) SWIG_fail;
11876 }
11877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11878 {
11879 if (temp2)
11880 delete arg2;
11881 }
11882 return resultobj;
11883 fail:
11884 {
11885 if (temp2)
11886 delete arg2;
11887 }
11888 return NULL;
11889 }
11890
11891
11892 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11893 PyObject *resultobj;
11894 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11895 wxString *arg2 = 0 ;
11896 wxFileType *result;
11897 bool temp2 = False ;
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 char *kwnames[] = {
11901 (char *) "self",(char *) "mimeType", NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11906 {
11907 arg2 = wxString_in_helper(obj1);
11908 if (arg2 == NULL) SWIG_fail;
11909 temp2 = True;
11910 }
11911 {
11912 PyThreadState* __tstate = wxPyBeginAllowThreads();
11913 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11914
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11919 {
11920 if (temp2)
11921 delete arg2;
11922 }
11923 return resultobj;
11924 fail:
11925 {
11926 if (temp2)
11927 delete arg2;
11928 }
11929 return NULL;
11930 }
11931
11932
11933 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
11934 PyObject *resultobj;
11935 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11936 wxString *arg2 = 0 ;
11937 bool arg3 = (bool) False ;
11938 bool result;
11939 bool temp2 = False ;
11940 PyObject * obj0 = 0 ;
11941 PyObject * obj1 = 0 ;
11942 PyObject * obj2 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11949 {
11950 arg2 = wxString_in_helper(obj1);
11951 if (arg2 == NULL) SWIG_fail;
11952 temp2 = True;
11953 }
11954 if (obj2) {
11955 arg3 = PyInt_AsLong(obj2) ? true : false;
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 resultobj = PyInt_FromLong((long)result);
11966 {
11967 if (temp2)
11968 delete arg2;
11969 }
11970 return resultobj;
11971 fail:
11972 {
11973 if (temp2)
11974 delete arg2;
11975 }
11976 return NULL;
11977 }
11978
11979
11980 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11981 PyObject *resultobj;
11982 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11983 wxString *arg2 = 0 ;
11984 bool result;
11985 bool temp2 = False ;
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj1 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "filename", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
11993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11994 {
11995 arg2 = wxString_in_helper(obj1);
11996 if (arg2 == NULL) SWIG_fail;
11997 temp2 = True;
11998 }
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 resultobj = PyInt_FromLong((long)result);
12007 {
12008 if (temp2)
12009 delete arg2;
12010 }
12011 return resultobj;
12012 fail:
12013 {
12014 if (temp2)
12015 delete arg2;
12016 }
12017 return NULL;
12018 }
12019
12020
12021 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12022 PyObject *resultobj;
12023 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12024 PyObject *result;
12025 PyObject * obj0 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 resultobj = result;
12040 return resultobj;
12041 fail:
12042 return NULL;
12043 }
12044
12045
12046 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj;
12048 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12049 wxFileTypeInfo *arg2 = 0 ;
12050 PyObject * obj0 = 0 ;
12051 PyObject * obj1 = 0 ;
12052 char *kwnames[] = {
12053 (char *) "self",(char *) "ft", NULL
12054 };
12055
12056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12059 if (arg2 == NULL) {
12060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12061 }
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 Py_INCREF(Py_None); resultobj = Py_None;
12070 return resultobj;
12071 fail:
12072 return NULL;
12073 }
12074
12075
12076 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12077 PyObject *resultobj;
12078 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12079 wxFileTypeInfo *arg2 = 0 ;
12080 wxFileType *result;
12081 PyObject * obj0 = 0 ;
12082 PyObject * obj1 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self",(char *) "ftInfo", NULL
12085 };
12086
12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12090 if (arg2 == NULL) {
12091 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12092 }
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12101 return resultobj;
12102 fail:
12103 return NULL;
12104 }
12105
12106
12107 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj;
12109 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12110 wxFileType *arg2 = (wxFileType *) 0 ;
12111 bool result;
12112 PyObject * obj0 = 0 ;
12113 PyObject * obj1 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self",(char *) "ft", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 result = (bool)(arg1)->Unassociate(arg2);
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 resultobj = PyInt_FromLong((long)result);
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj;
12137 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12138 PyObject * obj0 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 delete arg1;
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 Py_INCREF(Py_None); resultobj = Py_None;
12153 return resultobj;
12154 fail:
12155 return NULL;
12156 }
12157
12158
12159 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12160 PyObject *obj;
12161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12162 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12163 Py_INCREF(obj);
12164 return Py_BuildValue((char *)"");
12165 }
12166 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12167 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12168 return 1;
12169 }
12170
12171
12172 static PyObject *_wrap_ART_TOOLBAR_get() {
12173 PyObject *pyobj;
12174
12175 {
12176 #if wxUSE_UNICODE
12177 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12178 #else
12179 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12180 #endif
12181 }
12182 return pyobj;
12183 }
12184
12185
12186 static int _wrap_ART_MENU_set(PyObject *_val) {
12187 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12188 return 1;
12189 }
12190
12191
12192 static PyObject *_wrap_ART_MENU_get() {
12193 PyObject *pyobj;
12194
12195 {
12196 #if wxUSE_UNICODE
12197 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12198 #else
12199 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12200 #endif
12201 }
12202 return pyobj;
12203 }
12204
12205
12206 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12207 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12208 return 1;
12209 }
12210
12211
12212 static PyObject *_wrap_ART_FRAME_ICON_get() {
12213 PyObject *pyobj;
12214
12215 {
12216 #if wxUSE_UNICODE
12217 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12218 #else
12219 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12220 #endif
12221 }
12222 return pyobj;
12223 }
12224
12225
12226 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12227 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12228 return 1;
12229 }
12230
12231
12232 static PyObject *_wrap_ART_CMN_DIALOG_get() {
12233 PyObject *pyobj;
12234
12235 {
12236 #if wxUSE_UNICODE
12237 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12238 #else
12239 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12240 #endif
12241 }
12242 return pyobj;
12243 }
12244
12245
12246 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12247 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12248 return 1;
12249 }
12250
12251
12252 static PyObject *_wrap_ART_HELP_BROWSER_get() {
12253 PyObject *pyobj;
12254
12255 {
12256 #if wxUSE_UNICODE
12257 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12258 #else
12259 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12260 #endif
12261 }
12262 return pyobj;
12263 }
12264
12265
12266 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12267 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12268 return 1;
12269 }
12270
12271
12272 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12273 PyObject *pyobj;
12274
12275 {
12276 #if wxUSE_UNICODE
12277 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12278 #else
12279 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12280 #endif
12281 }
12282 return pyobj;
12283 }
12284
12285
12286 static int _wrap_ART_OTHER_set(PyObject *_val) {
12287 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12288 return 1;
12289 }
12290
12291
12292 static PyObject *_wrap_ART_OTHER_get() {
12293 PyObject *pyobj;
12294
12295 {
12296 #if wxUSE_UNICODE
12297 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12298 #else
12299 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12300 #endif
12301 }
12302 return pyobj;
12303 }
12304
12305
12306 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12307 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12308 return 1;
12309 }
12310
12311
12312 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12313 PyObject *pyobj;
12314
12315 {
12316 #if wxUSE_UNICODE
12317 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12318 #else
12319 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12320 #endif
12321 }
12322 return pyobj;
12323 }
12324
12325
12326 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12327 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12328 return 1;
12329 }
12330
12331
12332 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12333 PyObject *pyobj;
12334
12335 {
12336 #if wxUSE_UNICODE
12337 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12338 #else
12339 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12340 #endif
12341 }
12342 return pyobj;
12343 }
12344
12345
12346 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12347 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12348 return 1;
12349 }
12350
12351
12352 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12353 PyObject *pyobj;
12354
12355 {
12356 #if wxUSE_UNICODE
12357 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12358 #else
12359 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12360 #endif
12361 }
12362 return pyobj;
12363 }
12364
12365
12366 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12367 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12368 return 1;
12369 }
12370
12371
12372 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12373 PyObject *pyobj;
12374
12375 {
12376 #if wxUSE_UNICODE
12377 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12378 #else
12379 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12380 #endif
12381 }
12382 return pyobj;
12383 }
12384
12385
12386 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12387 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12388 return 1;
12389 }
12390
12391
12392 static PyObject *_wrap_ART_HELP_BOOK_get() {
12393 PyObject *pyobj;
12394
12395 {
12396 #if wxUSE_UNICODE
12397 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12398 #else
12399 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12400 #endif
12401 }
12402 return pyobj;
12403 }
12404
12405
12406 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12407 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12408 return 1;
12409 }
12410
12411
12412 static PyObject *_wrap_ART_HELP_FOLDER_get() {
12413 PyObject *pyobj;
12414
12415 {
12416 #if wxUSE_UNICODE
12417 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12418 #else
12419 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12420 #endif
12421 }
12422 return pyobj;
12423 }
12424
12425
12426 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12427 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12428 return 1;
12429 }
12430
12431
12432 static PyObject *_wrap_ART_HELP_PAGE_get() {
12433 PyObject *pyobj;
12434
12435 {
12436 #if wxUSE_UNICODE
12437 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12438 #else
12439 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12440 #endif
12441 }
12442 return pyobj;
12443 }
12444
12445
12446 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12447 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12448 return 1;
12449 }
12450
12451
12452 static PyObject *_wrap_ART_GO_BACK_get() {
12453 PyObject *pyobj;
12454
12455 {
12456 #if wxUSE_UNICODE
12457 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12458 #else
12459 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12460 #endif
12461 }
12462 return pyobj;
12463 }
12464
12465
12466 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12467 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12468 return 1;
12469 }
12470
12471
12472 static PyObject *_wrap_ART_GO_FORWARD_get() {
12473 PyObject *pyobj;
12474
12475 {
12476 #if wxUSE_UNICODE
12477 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12478 #else
12479 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12480 #endif
12481 }
12482 return pyobj;
12483 }
12484
12485
12486 static int _wrap_ART_GO_UP_set(PyObject *_val) {
12487 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12488 return 1;
12489 }
12490
12491
12492 static PyObject *_wrap_ART_GO_UP_get() {
12493 PyObject *pyobj;
12494
12495 {
12496 #if wxUSE_UNICODE
12497 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12498 #else
12499 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12500 #endif
12501 }
12502 return pyobj;
12503 }
12504
12505
12506 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12507 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12508 return 1;
12509 }
12510
12511
12512 static PyObject *_wrap_ART_GO_DOWN_get() {
12513 PyObject *pyobj;
12514
12515 {
12516 #if wxUSE_UNICODE
12517 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12518 #else
12519 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12520 #endif
12521 }
12522 return pyobj;
12523 }
12524
12525
12526 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12527 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12528 return 1;
12529 }
12530
12531
12532 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12533 PyObject *pyobj;
12534
12535 {
12536 #if wxUSE_UNICODE
12537 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12538 #else
12539 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12540 #endif
12541 }
12542 return pyobj;
12543 }
12544
12545
12546 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12547 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12548 return 1;
12549 }
12550
12551
12552 static PyObject *_wrap_ART_GO_HOME_get() {
12553 PyObject *pyobj;
12554
12555 {
12556 #if wxUSE_UNICODE
12557 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12558 #else
12559 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12560 #endif
12561 }
12562 return pyobj;
12563 }
12564
12565
12566 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12567 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12568 return 1;
12569 }
12570
12571
12572 static PyObject *_wrap_ART_FILE_OPEN_get() {
12573 PyObject *pyobj;
12574
12575 {
12576 #if wxUSE_UNICODE
12577 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12578 #else
12579 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12580 #endif
12581 }
12582 return pyobj;
12583 }
12584
12585
12586 static int _wrap_ART_PRINT_set(PyObject *_val) {
12587 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12588 return 1;
12589 }
12590
12591
12592 static PyObject *_wrap_ART_PRINT_get() {
12593 PyObject *pyobj;
12594
12595 {
12596 #if wxUSE_UNICODE
12597 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12598 #else
12599 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12600 #endif
12601 }
12602 return pyobj;
12603 }
12604
12605
12606 static int _wrap_ART_HELP_set(PyObject *_val) {
12607 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12608 return 1;
12609 }
12610
12611
12612 static PyObject *_wrap_ART_HELP_get() {
12613 PyObject *pyobj;
12614
12615 {
12616 #if wxUSE_UNICODE
12617 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12618 #else
12619 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12620 #endif
12621 }
12622 return pyobj;
12623 }
12624
12625
12626 static int _wrap_ART_TIP_set(PyObject *_val) {
12627 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12628 return 1;
12629 }
12630
12631
12632 static PyObject *_wrap_ART_TIP_get() {
12633 PyObject *pyobj;
12634
12635 {
12636 #if wxUSE_UNICODE
12637 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12638 #else
12639 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12640 #endif
12641 }
12642 return pyobj;
12643 }
12644
12645
12646 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12647 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12648 return 1;
12649 }
12650
12651
12652 static PyObject *_wrap_ART_REPORT_VIEW_get() {
12653 PyObject *pyobj;
12654
12655 {
12656 #if wxUSE_UNICODE
12657 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12658 #else
12659 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12660 #endif
12661 }
12662 return pyobj;
12663 }
12664
12665
12666 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12667 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12668 return 1;
12669 }
12670
12671
12672 static PyObject *_wrap_ART_LIST_VIEW_get() {
12673 PyObject *pyobj;
12674
12675 {
12676 #if wxUSE_UNICODE
12677 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12678 #else
12679 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12680 #endif
12681 }
12682 return pyobj;
12683 }
12684
12685
12686 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12687 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12688 return 1;
12689 }
12690
12691
12692 static PyObject *_wrap_ART_NEW_DIR_get() {
12693 PyObject *pyobj;
12694
12695 {
12696 #if wxUSE_UNICODE
12697 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12698 #else
12699 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12700 #endif
12701 }
12702 return pyobj;
12703 }
12704
12705
12706 static int _wrap_ART_FOLDER_set(PyObject *_val) {
12707 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12708 return 1;
12709 }
12710
12711
12712 static PyObject *_wrap_ART_FOLDER_get() {
12713 PyObject *pyobj;
12714
12715 {
12716 #if wxUSE_UNICODE
12717 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12718 #else
12719 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12720 #endif
12721 }
12722 return pyobj;
12723 }
12724
12725
12726 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12727 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12728 return 1;
12729 }
12730
12731
12732 static PyObject *_wrap_ART_GO_DIR_UP_get() {
12733 PyObject *pyobj;
12734
12735 {
12736 #if wxUSE_UNICODE
12737 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12738 #else
12739 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12740 #endif
12741 }
12742 return pyobj;
12743 }
12744
12745
12746 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12747 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12748 return 1;
12749 }
12750
12751
12752 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12753 PyObject *pyobj;
12754
12755 {
12756 #if wxUSE_UNICODE
12757 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12758 #else
12759 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12760 #endif
12761 }
12762 return pyobj;
12763 }
12764
12765
12766 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12767 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12768 return 1;
12769 }
12770
12771
12772 static PyObject *_wrap_ART_NORMAL_FILE_get() {
12773 PyObject *pyobj;
12774
12775 {
12776 #if wxUSE_UNICODE
12777 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12778 #else
12779 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12780 #endif
12781 }
12782 return pyobj;
12783 }
12784
12785
12786 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12787 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12788 return 1;
12789 }
12790
12791
12792 static PyObject *_wrap_ART_TICK_MARK_get() {
12793 PyObject *pyobj;
12794
12795 {
12796 #if wxUSE_UNICODE
12797 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12798 #else
12799 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12800 #endif
12801 }
12802 return pyobj;
12803 }
12804
12805
12806 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12807 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12808 return 1;
12809 }
12810
12811
12812 static PyObject *_wrap_ART_CROSS_MARK_get() {
12813 PyObject *pyobj;
12814
12815 {
12816 #if wxUSE_UNICODE
12817 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12818 #else
12819 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12820 #endif
12821 }
12822 return pyobj;
12823 }
12824
12825
12826 static int _wrap_ART_ERROR_set(PyObject *_val) {
12827 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12828 return 1;
12829 }
12830
12831
12832 static PyObject *_wrap_ART_ERROR_get() {
12833 PyObject *pyobj;
12834
12835 {
12836 #if wxUSE_UNICODE
12837 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12838 #else
12839 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12840 #endif
12841 }
12842 return pyobj;
12843 }
12844
12845
12846 static int _wrap_ART_QUESTION_set(PyObject *_val) {
12847 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12848 return 1;
12849 }
12850
12851
12852 static PyObject *_wrap_ART_QUESTION_get() {
12853 PyObject *pyobj;
12854
12855 {
12856 #if wxUSE_UNICODE
12857 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12858 #else
12859 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12860 #endif
12861 }
12862 return pyobj;
12863 }
12864
12865
12866 static int _wrap_ART_WARNING_set(PyObject *_val) {
12867 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12868 return 1;
12869 }
12870
12871
12872 static PyObject *_wrap_ART_WARNING_get() {
12873 PyObject *pyobj;
12874
12875 {
12876 #if wxUSE_UNICODE
12877 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12878 #else
12879 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12880 #endif
12881 }
12882 return pyobj;
12883 }
12884
12885
12886 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12887 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12888 return 1;
12889 }
12890
12891
12892 static PyObject *_wrap_ART_INFORMATION_get() {
12893 PyObject *pyobj;
12894
12895 {
12896 #if wxUSE_UNICODE
12897 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12898 #else
12899 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12900 #endif
12901 }
12902 return pyobj;
12903 }
12904
12905
12906 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12907 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12908 return 1;
12909 }
12910
12911
12912 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12913 PyObject *pyobj;
12914
12915 {
12916 #if wxUSE_UNICODE
12917 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12918 #else
12919 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12920 #endif
12921 }
12922 return pyobj;
12923 }
12924
12925
12926 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12927 PyObject *resultobj;
12928 wxPyArtProvider *result;
12929 char *kwnames[] = {
12930 NULL
12931 };
12932
12933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
12934 {
12935 PyThreadState* __tstate = wxPyBeginAllowThreads();
12936 result = (wxPyArtProvider *)new wxPyArtProvider();
12937
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
12942 return resultobj;
12943 fail:
12944 return NULL;
12945 }
12946
12947
12948 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj;
12950 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12951 PyObject *arg2 = (PyObject *) 0 ;
12952 PyObject *arg3 = (PyObject *) 0 ;
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
12955 PyObject * obj2 = 0 ;
12956 char *kwnames[] = {
12957 (char *) "self",(char *) "self",(char *) "_class", NULL
12958 };
12959
12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12962 arg2 = obj1;
12963 arg3 = obj2;
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 (arg1)->_setCallbackInfo(arg2,arg3);
12967
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 Py_INCREF(Py_None); resultobj = Py_None;
12972 return resultobj;
12973 fail:
12974 return NULL;
12975 }
12976
12977
12978 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12979 PyObject *resultobj;
12980 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12981 PyObject * obj0 = 0 ;
12982 char *kwnames[] = {
12983 (char *) "provider", NULL
12984 };
12985
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
12987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 wxPyArtProvider::PushProvider(arg1);
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 Py_INCREF(Py_None); resultobj = Py_None;
12996 return resultobj;
12997 fail:
12998 return NULL;
12999 }
13000
13001
13002 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13003 PyObject *resultobj;
13004 bool result;
13005 char *kwnames[] = {
13006 NULL
13007 };
13008
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (bool)wxPyArtProvider::PopProvider();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = PyInt_FromLong((long)result);
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13027 bool result;
13028 PyObject * obj0 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "provider", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 resultobj = PyInt_FromLong((long)result);
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxString *arg1 = 0 ;
13052 wxString const &arg2_defvalue = wxPyART_OTHER ;
13053 wxString *arg2 = (wxString *) &arg2_defvalue ;
13054 wxSize const &arg3_defvalue = wxDefaultSize ;
13055 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13056 wxBitmap result;
13057 bool temp1 = False ;
13058 bool temp2 = False ;
13059 wxSize temp3 ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 PyObject * obj2 = 0 ;
13063 char *kwnames[] = {
13064 (char *) "id",(char *) "client",(char *) "size", NULL
13065 };
13066
13067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13068 {
13069 arg1 = wxString_in_helper(obj0);
13070 if (arg1 == NULL) SWIG_fail;
13071 temp1 = True;
13072 }
13073 if (obj1) {
13074 {
13075 arg2 = wxString_in_helper(obj1);
13076 if (arg2 == NULL) SWIG_fail;
13077 temp2 = True;
13078 }
13079 }
13080 if (obj2) {
13081 {
13082 arg3 = &temp3;
13083 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13084 }
13085 }
13086 {
13087 PyThreadState* __tstate = wxPyBeginAllowThreads();
13088 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13089
13090 wxPyEndAllowThreads(__tstate);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
13093 {
13094 wxBitmap * resultptr;
13095 resultptr = new wxBitmap((wxBitmap &) result);
13096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13097 }
13098 {
13099 if (temp1)
13100 delete arg1;
13101 }
13102 {
13103 if (temp2)
13104 delete arg2;
13105 }
13106 return resultobj;
13107 fail:
13108 {
13109 if (temp1)
13110 delete arg1;
13111 }
13112 {
13113 if (temp2)
13114 delete arg2;
13115 }
13116 return NULL;
13117 }
13118
13119
13120 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj;
13122 wxString *arg1 = 0 ;
13123 wxString const &arg2_defvalue = wxPyART_OTHER ;
13124 wxString *arg2 = (wxString *) &arg2_defvalue ;
13125 wxSize const &arg3_defvalue = wxDefaultSize ;
13126 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13127 wxIcon result;
13128 bool temp1 = False ;
13129 bool temp2 = False ;
13130 wxSize temp3 ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj1 = 0 ;
13133 PyObject * obj2 = 0 ;
13134 char *kwnames[] = {
13135 (char *) "id",(char *) "client",(char *) "size", NULL
13136 };
13137
13138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13139 {
13140 arg1 = wxString_in_helper(obj0);
13141 if (arg1 == NULL) SWIG_fail;
13142 temp1 = True;
13143 }
13144 if (obj1) {
13145 {
13146 arg2 = wxString_in_helper(obj1);
13147 if (arg2 == NULL) SWIG_fail;
13148 temp2 = True;
13149 }
13150 }
13151 if (obj2) {
13152 {
13153 arg3 = &temp3;
13154 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13155 }
13156 }
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13160
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
13164 {
13165 wxIcon * resultptr;
13166 resultptr = new wxIcon((wxIcon &) result);
13167 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13168 }
13169 {
13170 if (temp1)
13171 delete arg1;
13172 }
13173 {
13174 if (temp2)
13175 delete arg2;
13176 }
13177 return resultobj;
13178 fail:
13179 {
13180 if (temp1)
13181 delete arg1;
13182 }
13183 {
13184 if (temp2)
13185 delete arg2;
13186 }
13187 return NULL;
13188 }
13189
13190
13191 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13194 PyObject * obj0 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 wxPyArtProvider_Destroy(arg1);
13204
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 Py_INCREF(Py_None); resultobj = Py_None;
13209 return resultobj;
13210 fail:
13211 return NULL;
13212 }
13213
13214
13215 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13216 PyObject *obj;
13217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13218 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13219 Py_INCREF(obj);
13220 return Py_BuildValue((char *)"");
13221 }
13222 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13225 PyObject * obj0 = 0 ;
13226 char *kwnames[] = {
13227 (char *) "self", NULL
13228 };
13229
13230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 delete arg1;
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 Py_INCREF(Py_None); resultobj = Py_None;
13240 return resultobj;
13241 fail:
13242 return NULL;
13243 }
13244
13245
13246 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13247 PyObject *resultobj;
13248 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13249 wxConfigBase *result;
13250 PyObject * obj0 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "pConfig", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13265 return resultobj;
13266 fail:
13267 return NULL;
13268 }
13269
13270
13271 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 bool arg1 = (bool) True ;
13274 wxConfigBase *result;
13275 PyObject * obj0 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "createOnDemand", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13281 if (obj0) {
13282 arg1 = PyInt_AsLong(obj0) ? true : false;
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13293 return resultobj;
13294 fail:
13295 return NULL;
13296 }
13297
13298
13299 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxConfigBase *result;
13302 char *kwnames[] = {
13303 NULL
13304 };
13305
13306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13307 {
13308 PyThreadState* __tstate = wxPyBeginAllowThreads();
13309 result = (wxConfigBase *)wxConfigBase::Create();
13310
13311 wxPyEndAllowThreads(__tstate);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 }
13314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13315 return resultobj;
13316 fail:
13317 return NULL;
13318 }
13319
13320
13321 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13322 PyObject *resultobj;
13323 char *kwnames[] = {
13324 NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 wxConfigBase::DontCreateOnDemand();
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 Py_INCREF(Py_None); resultobj = Py_None;
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13345 wxString *arg2 = 0 ;
13346 bool temp2 = False ;
13347 PyObject * obj0 = 0 ;
13348 PyObject * obj1 = 0 ;
13349 char *kwnames[] = {
13350 (char *) "self",(char *) "strPath", NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13355 {
13356 arg2 = wxString_in_helper(obj1);
13357 if (arg2 == NULL) SWIG_fail;
13358 temp2 = True;
13359 }
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 (arg1)->SetPath((wxString const &)*arg2);
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 Py_INCREF(Py_None); resultobj = Py_None;
13368 {
13369 if (temp2)
13370 delete arg2;
13371 }
13372 return resultobj;
13373 fail:
13374 {
13375 if (temp2)
13376 delete arg2;
13377 }
13378 return NULL;
13379 }
13380
13381
13382 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13385 wxString *result;
13386 PyObject * obj0 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "self", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 {
13396 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13397 result = (wxString *) &_result_ref;
13398 }
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 {
13404 #if wxUSE_UNICODE
13405 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13406 #else
13407 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13408 #endif
13409 }
13410 return resultobj;
13411 fail:
13412 return NULL;
13413 }
13414
13415
13416 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj;
13418 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13419 PyObject *result;
13420 PyObject * obj0 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13427 {
13428 PyThreadState* __tstate = wxPyBeginAllowThreads();
13429 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13430
13431 wxPyEndAllowThreads(__tstate);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 }
13434 resultobj = result;
13435 return resultobj;
13436 fail:
13437 return NULL;
13438 }
13439
13440
13441 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13442 PyObject *resultobj;
13443 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13444 long arg2 ;
13445 PyObject *result;
13446 PyObject * obj0 = 0 ;
13447 char *kwnames[] = {
13448 (char *) "self",(char *) "index", NULL
13449 };
13450
13451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
13455 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 resultobj = result;
13461 return resultobj;
13462 fail:
13463 return NULL;
13464 }
13465
13466
13467 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13468 PyObject *resultobj;
13469 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13470 PyObject *result;
13471 PyObject * obj0 = 0 ;
13472 char *kwnames[] = {
13473 (char *) "self", NULL
13474 };
13475
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13478 {
13479 PyThreadState* __tstate = wxPyBeginAllowThreads();
13480 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13481
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
13485 resultobj = result;
13486 return resultobj;
13487 fail:
13488 return NULL;
13489 }
13490
13491
13492 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13493 PyObject *resultobj;
13494 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13495 long arg2 ;
13496 PyObject *result;
13497 PyObject * obj0 = 0 ;
13498 char *kwnames[] = {
13499 (char *) "self",(char *) "index", NULL
13500 };
13501
13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13504 {
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13507
13508 wxPyEndAllowThreads(__tstate);
13509 if (PyErr_Occurred()) SWIG_fail;
13510 }
13511 resultobj = result;
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj;
13520 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13521 bool arg2 = (bool) False ;
13522 size_t result;
13523 PyObject * obj0 = 0 ;
13524 PyObject * obj1 = 0 ;
13525 char *kwnames[] = {
13526 (char *) "self",(char *) "bRecursive", NULL
13527 };
13528
13529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13531 if (obj1) {
13532 arg2 = PyInt_AsLong(obj1) ? true : false;
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13538
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 resultobj = PyInt_FromLong((long)result);
13543 return resultobj;
13544 fail:
13545 return NULL;
13546 }
13547
13548
13549 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13550 PyObject *resultobj;
13551 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13552 bool arg2 = (bool) False ;
13553 size_t result;
13554 PyObject * obj0 = 0 ;
13555 PyObject * obj1 = 0 ;
13556 char *kwnames[] = {
13557 (char *) "self",(char *) "bRecursive", NULL
13558 };
13559
13560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13562 if (obj1) {
13563 arg2 = PyInt_AsLong(obj1) ? true : false;
13564 if (PyErr_Occurred()) SWIG_fail;
13565 }
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 resultobj = PyInt_FromLong((long)result);
13574 return resultobj;
13575 fail:
13576 return NULL;
13577 }
13578
13579
13580 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13583 wxString *arg2 = 0 ;
13584 bool result;
13585 bool temp2 = False ;
13586 PyObject * obj0 = 0 ;
13587 PyObject * obj1 = 0 ;
13588 char *kwnames[] = {
13589 (char *) "self",(char *) "strName", NULL
13590 };
13591
13592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13594 {
13595 arg2 = wxString_in_helper(obj1);
13596 if (arg2 == NULL) SWIG_fail;
13597 temp2 = True;
13598 }
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 resultobj = PyInt_FromLong((long)result);
13607 {
13608 if (temp2)
13609 delete arg2;
13610 }
13611 return resultobj;
13612 fail:
13613 {
13614 if (temp2)
13615 delete arg2;
13616 }
13617 return NULL;
13618 }
13619
13620
13621 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj;
13623 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13624 wxString *arg2 = 0 ;
13625 bool result;
13626 bool temp2 = False ;
13627 PyObject * obj0 = 0 ;
13628 PyObject * obj1 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self",(char *) "strName", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13635 {
13636 arg2 = wxString_in_helper(obj1);
13637 if (arg2 == NULL) SWIG_fail;
13638 temp2 = True;
13639 }
13640 {
13641 PyThreadState* __tstate = wxPyBeginAllowThreads();
13642 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13643
13644 wxPyEndAllowThreads(__tstate);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 resultobj = PyInt_FromLong((long)result);
13648 {
13649 if (temp2)
13650 delete arg2;
13651 }
13652 return resultobj;
13653 fail:
13654 {
13655 if (temp2)
13656 delete arg2;
13657 }
13658 return NULL;
13659 }
13660
13661
13662 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13665 wxString *arg2 = 0 ;
13666 bool result;
13667 bool temp2 = False ;
13668 PyObject * obj0 = 0 ;
13669 PyObject * obj1 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "self",(char *) "strName", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676 {
13677 arg2 = wxString_in_helper(obj1);
13678 if (arg2 == NULL) SWIG_fail;
13679 temp2 = True;
13680 }
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 resultobj = PyInt_FromLong((long)result);
13689 {
13690 if (temp2)
13691 delete arg2;
13692 }
13693 return resultobj;
13694 fail:
13695 {
13696 if (temp2)
13697 delete arg2;
13698 }
13699 return NULL;
13700 }
13701
13702
13703 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13706 wxString *arg2 = 0 ;
13707 int result;
13708 bool temp2 = False ;
13709 PyObject * obj0 = 0 ;
13710 PyObject * obj1 = 0 ;
13711 char *kwnames[] = {
13712 (char *) "self",(char *) "name", NULL
13713 };
13714
13715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13717 {
13718 arg2 = wxString_in_helper(obj1);
13719 if (arg2 == NULL) SWIG_fail;
13720 temp2 = True;
13721 }
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 resultobj = PyInt_FromLong((long)result);
13730 {
13731 if (temp2)
13732 delete arg2;
13733 }
13734 return resultobj;
13735 fail:
13736 {
13737 if (temp2)
13738 delete arg2;
13739 }
13740 return NULL;
13741 }
13742
13743
13744 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13747 wxString *arg2 = 0 ;
13748 wxString const &arg3_defvalue = wxPyEmptyString ;
13749 wxString *arg3 = (wxString *) &arg3_defvalue ;
13750 wxString result;
13751 bool temp2 = False ;
13752 bool temp3 = False ;
13753 PyObject * obj0 = 0 ;
13754 PyObject * obj1 = 0 ;
13755 PyObject * obj2 = 0 ;
13756 char *kwnames[] = {
13757 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13758 };
13759
13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13762 {
13763 arg2 = wxString_in_helper(obj1);
13764 if (arg2 == NULL) SWIG_fail;
13765 temp2 = True;
13766 }
13767 if (obj2) {
13768 {
13769 arg3 = wxString_in_helper(obj2);
13770 if (arg3 == NULL) SWIG_fail;
13771 temp3 = True;
13772 }
13773 }
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13777
13778 wxPyEndAllowThreads(__tstate);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 {
13782 #if wxUSE_UNICODE
13783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13784 #else
13785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13786 #endif
13787 }
13788 {
13789 if (temp2)
13790 delete arg2;
13791 }
13792 {
13793 if (temp3)
13794 delete arg3;
13795 }
13796 return resultobj;
13797 fail:
13798 {
13799 if (temp2)
13800 delete arg2;
13801 }
13802 {
13803 if (temp3)
13804 delete arg3;
13805 }
13806 return NULL;
13807 }
13808
13809
13810 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13811 PyObject *resultobj;
13812 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13813 wxString *arg2 = 0 ;
13814 long arg3 = (long) 0 ;
13815 long result;
13816 bool temp2 = False ;
13817 PyObject * obj0 = 0 ;
13818 PyObject * obj1 = 0 ;
13819 char *kwnames[] = {
13820 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13821 };
13822
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13825 {
13826 arg2 = wxString_in_helper(obj1);
13827 if (arg2 == NULL) SWIG_fail;
13828 temp2 = True;
13829 }
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13833
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
13837 resultobj = PyInt_FromLong((long)result);
13838 {
13839 if (temp2)
13840 delete arg2;
13841 }
13842 return resultobj;
13843 fail:
13844 {
13845 if (temp2)
13846 delete arg2;
13847 }
13848 return NULL;
13849 }
13850
13851
13852 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13853 PyObject *resultobj;
13854 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13855 wxString *arg2 = 0 ;
13856 double arg3 = (double) 0.0 ;
13857 double result;
13858 bool temp2 = False ;
13859 PyObject * obj0 = 0 ;
13860 PyObject * obj1 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13867 {
13868 arg2 = wxString_in_helper(obj1);
13869 if (arg2 == NULL) SWIG_fail;
13870 temp2 = True;
13871 }
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13875
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 resultobj = PyFloat_FromDouble(result);
13880 {
13881 if (temp2)
13882 delete arg2;
13883 }
13884 return resultobj;
13885 fail:
13886 {
13887 if (temp2)
13888 delete arg2;
13889 }
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13897 wxString *arg2 = 0 ;
13898 bool arg3 = (bool) False ;
13899 bool result;
13900 bool temp2 = False ;
13901 PyObject * obj0 = 0 ;
13902 PyObject * obj1 = 0 ;
13903 PyObject * obj2 = 0 ;
13904 char *kwnames[] = {
13905 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13910 {
13911 arg2 = wxString_in_helper(obj1);
13912 if (arg2 == NULL) SWIG_fail;
13913 temp2 = True;
13914 }
13915 if (obj2) {
13916 arg3 = PyInt_AsLong(obj2) ? true : false;
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 {
13920 PyThreadState* __tstate = wxPyBeginAllowThreads();
13921 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
13922
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 resultobj = PyInt_FromLong((long)result);
13927 {
13928 if (temp2)
13929 delete arg2;
13930 }
13931 return resultobj;
13932 fail:
13933 {
13934 if (temp2)
13935 delete arg2;
13936 }
13937 return NULL;
13938 }
13939
13940
13941 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
13942 PyObject *resultobj;
13943 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13944 wxString *arg2 = 0 ;
13945 wxString *arg3 = 0 ;
13946 bool result;
13947 bool temp2 = False ;
13948 bool temp3 = False ;
13949 PyObject * obj0 = 0 ;
13950 PyObject * obj1 = 0 ;
13951 PyObject * obj2 = 0 ;
13952 char *kwnames[] = {
13953 (char *) "self",(char *) "key",(char *) "value", NULL
13954 };
13955
13956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
13957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13958 {
13959 arg2 = wxString_in_helper(obj1);
13960 if (arg2 == NULL) SWIG_fail;
13961 temp2 = True;
13962 }
13963 {
13964 arg3 = wxString_in_helper(obj2);
13965 if (arg3 == NULL) SWIG_fail;
13966 temp3 = True;
13967 }
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 resultobj = PyInt_FromLong((long)result);
13976 {
13977 if (temp2)
13978 delete arg2;
13979 }
13980 {
13981 if (temp3)
13982 delete arg3;
13983 }
13984 return resultobj;
13985 fail:
13986 {
13987 if (temp2)
13988 delete arg2;
13989 }
13990 {
13991 if (temp3)
13992 delete arg3;
13993 }
13994 return NULL;
13995 }
13996
13997
13998 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj;
14000 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14001 wxString *arg2 = 0 ;
14002 long arg3 ;
14003 bool result;
14004 bool temp2 = False ;
14005 PyObject * obj0 = 0 ;
14006 PyObject * obj1 = 0 ;
14007 char *kwnames[] = {
14008 (char *) "self",(char *) "key",(char *) "value", NULL
14009 };
14010
14011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14013 {
14014 arg2 = wxString_in_helper(obj1);
14015 if (arg2 == NULL) SWIG_fail;
14016 temp2 = True;
14017 }
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14021
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 resultobj = PyInt_FromLong((long)result);
14026 {
14027 if (temp2)
14028 delete arg2;
14029 }
14030 return resultobj;
14031 fail:
14032 {
14033 if (temp2)
14034 delete arg2;
14035 }
14036 return NULL;
14037 }
14038
14039
14040 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14043 wxString *arg2 = 0 ;
14044 double arg3 ;
14045 bool result;
14046 bool temp2 = False ;
14047 PyObject * obj0 = 0 ;
14048 PyObject * obj1 = 0 ;
14049 char *kwnames[] = {
14050 (char *) "self",(char *) "key",(char *) "value", NULL
14051 };
14052
14053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14055 {
14056 arg2 = wxString_in_helper(obj1);
14057 if (arg2 == NULL) SWIG_fail;
14058 temp2 = True;
14059 }
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14063
14064 wxPyEndAllowThreads(__tstate);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
14067 resultobj = PyInt_FromLong((long)result);
14068 {
14069 if (temp2)
14070 delete arg2;
14071 }
14072 return resultobj;
14073 fail:
14074 {
14075 if (temp2)
14076 delete arg2;
14077 }
14078 return NULL;
14079 }
14080
14081
14082 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14085 wxString *arg2 = 0 ;
14086 bool arg3 ;
14087 bool result;
14088 bool temp2 = False ;
14089 PyObject * obj0 = 0 ;
14090 PyObject * obj1 = 0 ;
14091 PyObject * obj2 = 0 ;
14092 char *kwnames[] = {
14093 (char *) "self",(char *) "key",(char *) "value", NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14098 {
14099 arg2 = wxString_in_helper(obj1);
14100 if (arg2 == NULL) SWIG_fail;
14101 temp2 = True;
14102 }
14103 arg3 = PyInt_AsLong(obj2) ? true : false;
14104 if (PyErr_Occurred()) SWIG_fail;
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 resultobj = PyInt_FromLong((long)result);
14113 {
14114 if (temp2)
14115 delete arg2;
14116 }
14117 return resultobj;
14118 fail:
14119 {
14120 if (temp2)
14121 delete arg2;
14122 }
14123 return NULL;
14124 }
14125
14126
14127 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14128 PyObject *resultobj;
14129 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14130 bool arg2 = (bool) False ;
14131 bool result;
14132 PyObject * obj0 = 0 ;
14133 PyObject * obj1 = 0 ;
14134 char *kwnames[] = {
14135 (char *) "self",(char *) "bCurrentOnly", NULL
14136 };
14137
14138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14140 if (obj1) {
14141 arg2 = PyInt_AsLong(obj1) ? true : false;
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 {
14145 PyThreadState* __tstate = wxPyBeginAllowThreads();
14146 result = (bool)(arg1)->Flush(arg2);
14147
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 resultobj = PyInt_FromLong((long)result);
14152 return resultobj;
14153 fail:
14154 return NULL;
14155 }
14156
14157
14158 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj;
14160 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14161 wxString *arg2 = 0 ;
14162 wxString *arg3 = 0 ;
14163 bool result;
14164 bool temp2 = False ;
14165 bool temp3 = False ;
14166 PyObject * obj0 = 0 ;
14167 PyObject * obj1 = 0 ;
14168 PyObject * obj2 = 0 ;
14169 char *kwnames[] = {
14170 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14175 {
14176 arg2 = wxString_in_helper(obj1);
14177 if (arg2 == NULL) SWIG_fail;
14178 temp2 = True;
14179 }
14180 {
14181 arg3 = wxString_in_helper(obj2);
14182 if (arg3 == NULL) SWIG_fail;
14183 temp3 = True;
14184 }
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = PyInt_FromLong((long)result);
14193 {
14194 if (temp2)
14195 delete arg2;
14196 }
14197 {
14198 if (temp3)
14199 delete arg3;
14200 }
14201 return resultobj;
14202 fail:
14203 {
14204 if (temp2)
14205 delete arg2;
14206 }
14207 {
14208 if (temp3)
14209 delete arg3;
14210 }
14211 return NULL;
14212 }
14213
14214
14215 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14216 PyObject *resultobj;
14217 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14218 wxString *arg2 = 0 ;
14219 wxString *arg3 = 0 ;
14220 bool result;
14221 bool temp2 = False ;
14222 bool temp3 = False ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 PyObject * obj2 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14232 {
14233 arg2 = wxString_in_helper(obj1);
14234 if (arg2 == NULL) SWIG_fail;
14235 temp2 = True;
14236 }
14237 {
14238 arg3 = wxString_in_helper(obj2);
14239 if (arg3 == NULL) SWIG_fail;
14240 temp3 = True;
14241 }
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 resultobj = PyInt_FromLong((long)result);
14250 {
14251 if (temp2)
14252 delete arg2;
14253 }
14254 {
14255 if (temp3)
14256 delete arg3;
14257 }
14258 return resultobj;
14259 fail:
14260 {
14261 if (temp2)
14262 delete arg2;
14263 }
14264 {
14265 if (temp3)
14266 delete arg3;
14267 }
14268 return NULL;
14269 }
14270
14271
14272 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14273 PyObject *resultobj;
14274 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14275 wxString *arg2 = 0 ;
14276 bool arg3 = (bool) True ;
14277 bool result;
14278 bool temp2 = False ;
14279 PyObject * obj0 = 0 ;
14280 PyObject * obj1 = 0 ;
14281 PyObject * obj2 = 0 ;
14282 char *kwnames[] = {
14283 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14284 };
14285
14286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14288 {
14289 arg2 = wxString_in_helper(obj1);
14290 if (arg2 == NULL) SWIG_fail;
14291 temp2 = True;
14292 }
14293 if (obj2) {
14294 arg3 = PyInt_AsLong(obj2) ? true : false;
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 resultobj = PyInt_FromLong((long)result);
14305 {
14306 if (temp2)
14307 delete arg2;
14308 }
14309 return resultobj;
14310 fail:
14311 {
14312 if (temp2)
14313 delete arg2;
14314 }
14315 return NULL;
14316 }
14317
14318
14319 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14320 PyObject *resultobj;
14321 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14322 wxString *arg2 = 0 ;
14323 bool result;
14324 bool temp2 = False ;
14325 PyObject * obj0 = 0 ;
14326 PyObject * obj1 = 0 ;
14327 char *kwnames[] = {
14328 (char *) "self",(char *) "key", NULL
14329 };
14330
14331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14333 {
14334 arg2 = wxString_in_helper(obj1);
14335 if (arg2 == NULL) SWIG_fail;
14336 temp2 = True;
14337 }
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14341
14342 wxPyEndAllowThreads(__tstate);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 resultobj = PyInt_FromLong((long)result);
14346 {
14347 if (temp2)
14348 delete arg2;
14349 }
14350 return resultobj;
14351 fail:
14352 {
14353 if (temp2)
14354 delete arg2;
14355 }
14356 return NULL;
14357 }
14358
14359
14360 static PyObject *_wrap_ConfigBase_DeleteAll(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_DeleteAll",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)(arg1)->DeleteAll();
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_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14386 PyObject *resultobj;
14387 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14388 bool result;
14389 PyObject * obj0 = 0 ;
14390 char *kwnames[] = {
14391 (char *) "self", NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14396 {
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14399
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 resultobj = PyInt_FromLong((long)result);
14404 return resultobj;
14405 fail:
14406 return NULL;
14407 }
14408
14409
14410 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14411 PyObject *resultobj;
14412 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14413 bool arg2 = (bool) True ;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "self",(char *) "bDoIt", NULL
14418 };
14419
14420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14422 if (obj1) {
14423 arg2 = PyInt_AsLong(obj1) ? true : false;
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 (arg1)->SetExpandEnvVars(arg2);
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 Py_INCREF(Py_None); resultobj = Py_None;
14434 return resultobj;
14435 fail:
14436 return NULL;
14437 }
14438
14439
14440 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14443 bool arg2 = (bool) True ;
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 char *kwnames[] = {
14447 (char *) "self",(char *) "bDoIt", NULL
14448 };
14449
14450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14452 if (obj1) {
14453 arg2 = PyInt_AsLong(obj1) ? true : false;
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 (arg1)->SetRecordDefaults(arg2);
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 Py_INCREF(Py_None); resultobj = Py_None;
14464 return resultobj;
14465 fail:
14466 return NULL;
14467 }
14468
14469
14470 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14471 PyObject *resultobj;
14472 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14473 bool result;
14474 PyObject * obj0 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14484
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
14488 resultobj = PyInt_FromLong((long)result);
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14498 wxString *arg2 = 0 ;
14499 wxString result;
14500 bool temp2 = False ;
14501 PyObject * obj0 = 0 ;
14502 PyObject * obj1 = 0 ;
14503 char *kwnames[] = {
14504 (char *) "self",(char *) "str", NULL
14505 };
14506
14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14509 {
14510 arg2 = wxString_in_helper(obj1);
14511 if (arg2 == NULL) SWIG_fail;
14512 temp2 = True;
14513 }
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14517
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 {
14522 #if wxUSE_UNICODE
14523 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14524 #else
14525 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14526 #endif
14527 }
14528 {
14529 if (temp2)
14530 delete arg2;
14531 }
14532 return resultobj;
14533 fail:
14534 {
14535 if (temp2)
14536 delete arg2;
14537 }
14538 return NULL;
14539 }
14540
14541
14542 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14543 PyObject *resultobj;
14544 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14545 wxString result;
14546 PyObject * obj0 = 0 ;
14547 char *kwnames[] = {
14548 (char *) "self", NULL
14549 };
14550
14551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = ((wxConfigBase const *)arg1)->GetAppName();
14556
14557 wxPyEndAllowThreads(__tstate);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 {
14561 #if wxUSE_UNICODE
14562 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14563 #else
14564 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14565 #endif
14566 }
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14576 wxString result;
14577 PyObject * obj0 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = ((wxConfigBase const *)arg1)->GetVendorName();
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 #if wxUSE_UNICODE
14593 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14594 #else
14595 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14596 #endif
14597 }
14598 return resultobj;
14599 fail:
14600 return NULL;
14601 }
14602
14603
14604 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14605 PyObject *resultobj;
14606 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14607 wxString *arg2 = 0 ;
14608 bool temp2 = False ;
14609 PyObject * obj0 = 0 ;
14610 PyObject * obj1 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self",(char *) "appName", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14617 {
14618 arg2 = wxString_in_helper(obj1);
14619 if (arg2 == NULL) SWIG_fail;
14620 temp2 = True;
14621 }
14622 {
14623 PyThreadState* __tstate = wxPyBeginAllowThreads();
14624 (arg1)->SetAppName((wxString const &)*arg2);
14625
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 Py_INCREF(Py_None); resultobj = Py_None;
14630 {
14631 if (temp2)
14632 delete arg2;
14633 }
14634 return resultobj;
14635 fail:
14636 {
14637 if (temp2)
14638 delete arg2;
14639 }
14640 return NULL;
14641 }
14642
14643
14644 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14647 wxString *arg2 = 0 ;
14648 bool temp2 = False ;
14649 PyObject * obj0 = 0 ;
14650 PyObject * obj1 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self",(char *) "vendorName", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 {
14658 arg2 = wxString_in_helper(obj1);
14659 if (arg2 == NULL) SWIG_fail;
14660 temp2 = True;
14661 }
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 (arg1)->SetVendorName((wxString const &)*arg2);
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 Py_INCREF(Py_None); resultobj = Py_None;
14670 {
14671 if (temp2)
14672 delete arg2;
14673 }
14674 return resultobj;
14675 fail:
14676 {
14677 if (temp2)
14678 delete arg2;
14679 }
14680 return NULL;
14681 }
14682
14683
14684 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14685 PyObject *resultobj;
14686 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14687 long arg2 ;
14688 PyObject * obj0 = 0 ;
14689 char *kwnames[] = {
14690 (char *) "self",(char *) "style", NULL
14691 };
14692
14693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 (arg1)->SetStyle(arg2);
14698
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 Py_INCREF(Py_None); resultobj = Py_None;
14703 return resultobj;
14704 fail:
14705 return NULL;
14706 }
14707
14708
14709 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14710 PyObject *resultobj;
14711 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14712 long result;
14713 PyObject * obj0 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "self", NULL
14716 };
14717
14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14723
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 resultobj = PyInt_FromLong((long)result);
14728 return resultobj;
14729 fail:
14730 return NULL;
14731 }
14732
14733
14734 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14735 PyObject *obj;
14736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14737 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14738 Py_INCREF(obj);
14739 return Py_BuildValue((char *)"");
14740 }
14741 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj;
14743 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14744 wxString *arg2 = 0 ;
14745 wxConfigPathChanger *result;
14746 bool temp2 = False ;
14747 PyObject * obj0 = 0 ;
14748 PyObject * obj1 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "pContainer",(char *) "strEntry", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14755 {
14756 arg2 = wxString_in_helper(obj1);
14757 if (arg2 == NULL) SWIG_fail;
14758 temp2 = True;
14759 }
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14768 {
14769 if (temp2)
14770 delete arg2;
14771 }
14772 return resultobj;
14773 fail:
14774 {
14775 if (temp2)
14776 delete arg2;
14777 }
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 delete arg1;
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 Py_INCREF(Py_None); resultobj = Py_None;
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14809 wxString *result;
14810 PyObject * obj0 = 0 ;
14811 char *kwnames[] = {
14812 (char *) "self", NULL
14813 };
14814
14815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14817 {
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 {
14820 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14821 result = (wxString *) &_result_ref;
14822 }
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 {
14828 #if wxUSE_UNICODE
14829 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14830 #else
14831 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14832 #endif
14833 }
14834 return resultobj;
14835 fail:
14836 return NULL;
14837 }
14838
14839
14840 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14841 PyObject *obj;
14842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14843 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14844 Py_INCREF(obj);
14845 return Py_BuildValue((char *)"");
14846 }
14847 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj;
14849 wxString const &arg1_defvalue = wxPyEmptyString ;
14850 wxString *arg1 = (wxString *) &arg1_defvalue ;
14851 wxString const &arg2_defvalue = wxPyEmptyString ;
14852 wxString *arg2 = (wxString *) &arg2_defvalue ;
14853 wxString const &arg3_defvalue = wxPyEmptyString ;
14854 wxString *arg3 = (wxString *) &arg3_defvalue ;
14855 wxString const &arg4_defvalue = wxPyEmptyString ;
14856 wxString *arg4 = (wxString *) &arg4_defvalue ;
14857 long arg5 = (long) 0 ;
14858 wxConfig *result;
14859 bool temp1 = False ;
14860 bool temp2 = False ;
14861 bool temp3 = False ;
14862 bool temp4 = False ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 PyObject * obj2 = 0 ;
14866 PyObject * obj3 = 0 ;
14867 char *kwnames[] = {
14868 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14869 };
14870
14871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14872 if (obj0) {
14873 {
14874 arg1 = wxString_in_helper(obj0);
14875 if (arg1 == NULL) SWIG_fail;
14876 temp1 = True;
14877 }
14878 }
14879 if (obj1) {
14880 {
14881 arg2 = wxString_in_helper(obj1);
14882 if (arg2 == NULL) SWIG_fail;
14883 temp2 = True;
14884 }
14885 }
14886 if (obj2) {
14887 {
14888 arg3 = wxString_in_helper(obj2);
14889 if (arg3 == NULL) SWIG_fail;
14890 temp3 = True;
14891 }
14892 }
14893 if (obj3) {
14894 {
14895 arg4 = wxString_in_helper(obj3);
14896 if (arg4 == NULL) SWIG_fail;
14897 temp4 = True;
14898 }
14899 }
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14908 {
14909 if (temp1)
14910 delete arg1;
14911 }
14912 {
14913 if (temp2)
14914 delete arg2;
14915 }
14916 {
14917 if (temp3)
14918 delete arg3;
14919 }
14920 {
14921 if (temp4)
14922 delete arg4;
14923 }
14924 return resultobj;
14925 fail:
14926 {
14927 if (temp1)
14928 delete arg1;
14929 }
14930 {
14931 if (temp2)
14932 delete arg2;
14933 }
14934 {
14935 if (temp3)
14936 delete arg3;
14937 }
14938 {
14939 if (temp4)
14940 delete arg4;
14941 }
14942 return NULL;
14943 }
14944
14945
14946 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14947 PyObject *resultobj;
14948 wxConfig *arg1 = (wxConfig *) 0 ;
14949 PyObject * obj0 = 0 ;
14950 char *kwnames[] = {
14951 (char *) "self", NULL
14952 };
14953
14954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
14955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 delete arg1;
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 Py_INCREF(Py_None); resultobj = Py_None;
14964 return resultobj;
14965 fail:
14966 return NULL;
14967 }
14968
14969
14970 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
14971 PyObject *obj;
14972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14973 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
14974 Py_INCREF(obj);
14975 return Py_BuildValue((char *)"");
14976 }
14977 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxString const &arg1_defvalue = wxPyEmptyString ;
14980 wxString *arg1 = (wxString *) &arg1_defvalue ;
14981 wxString const &arg2_defvalue = wxPyEmptyString ;
14982 wxString *arg2 = (wxString *) &arg2_defvalue ;
14983 wxString const &arg3_defvalue = wxPyEmptyString ;
14984 wxString *arg3 = (wxString *) &arg3_defvalue ;
14985 wxString const &arg4_defvalue = wxPyEmptyString ;
14986 wxString *arg4 = (wxString *) &arg4_defvalue ;
14987 long arg5 = (long) 0 ;
14988 wxFileConfig *result;
14989 bool temp1 = False ;
14990 bool temp2 = False ;
14991 bool temp3 = False ;
14992 bool temp4 = False ;
14993 PyObject * obj0 = 0 ;
14994 PyObject * obj1 = 0 ;
14995 PyObject * obj2 = 0 ;
14996 PyObject * obj3 = 0 ;
14997 char *kwnames[] = {
14998 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14999 };
15000
15001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15002 if (obj0) {
15003 {
15004 arg1 = wxString_in_helper(obj0);
15005 if (arg1 == NULL) SWIG_fail;
15006 temp1 = True;
15007 }
15008 }
15009 if (obj1) {
15010 {
15011 arg2 = wxString_in_helper(obj1);
15012 if (arg2 == NULL) SWIG_fail;
15013 temp2 = True;
15014 }
15015 }
15016 if (obj2) {
15017 {
15018 arg3 = wxString_in_helper(obj2);
15019 if (arg3 == NULL) SWIG_fail;
15020 temp3 = True;
15021 }
15022 }
15023 if (obj3) {
15024 {
15025 arg4 = wxString_in_helper(obj3);
15026 if (arg4 == NULL) SWIG_fail;
15027 temp4 = True;
15028 }
15029 }
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15038 {
15039 if (temp1)
15040 delete arg1;
15041 }
15042 {
15043 if (temp2)
15044 delete arg2;
15045 }
15046 {
15047 if (temp3)
15048 delete arg3;
15049 }
15050 {
15051 if (temp4)
15052 delete arg4;
15053 }
15054 return resultobj;
15055 fail:
15056 {
15057 if (temp1)
15058 delete arg1;
15059 }
15060 {
15061 if (temp2)
15062 delete arg2;
15063 }
15064 {
15065 if (temp3)
15066 delete arg3;
15067 }
15068 {
15069 if (temp4)
15070 delete arg4;
15071 }
15072 return NULL;
15073 }
15074
15075
15076 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj;
15078 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15079 PyObject * obj0 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 delete arg1;
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 Py_INCREF(Py_None); resultobj = Py_None;
15094 return resultobj;
15095 fail:
15096 return NULL;
15097 }
15098
15099
15100 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15101 PyObject *obj;
15102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15103 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15104 Py_INCREF(obj);
15105 return Py_BuildValue((char *)"");
15106 }
15107 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15108 PyObject *resultobj;
15109 wxString *arg1 = 0 ;
15110 wxString result;
15111 bool temp1 = False ;
15112 PyObject * obj0 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "sz", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15118 {
15119 arg1 = wxString_in_helper(obj0);
15120 if (arg1 == NULL) SWIG_fail;
15121 temp1 = True;
15122 }
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 result = wxExpandEnvVars((wxString const &)*arg1);
15126
15127 wxPyEndAllowThreads(__tstate);
15128 if (PyErr_Occurred()) SWIG_fail;
15129 }
15130 {
15131 #if wxUSE_UNICODE
15132 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15133 #else
15134 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15135 #endif
15136 }
15137 {
15138 if (temp1)
15139 delete arg1;
15140 }
15141 return resultobj;
15142 fail:
15143 {
15144 if (temp1)
15145 delete arg1;
15146 }
15147 return NULL;
15148 }
15149
15150
15151 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 int arg1 ;
15154 char *kwnames[] = {
15155 (char *) "country", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 Py_INCREF(Py_None); resultobj = Py_None;
15167 return resultobj;
15168 fail:
15169 return NULL;
15170 }
15171
15172
15173 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 int result;
15176 char *kwnames[] = {
15177 NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 result = (int)wxDateTime::GetCountry();
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_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 int arg1 = (int) wxDateTime::Country_Default ;
15198 bool result;
15199 char *kwnames[] = {
15200 (char *) "country", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )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_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj;
15220 int arg1 = (int) wxDateTime::Gregorian ;
15221 int result;
15222 char *kwnames[] = {
15223 (char *) "cal", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 resultobj = PyInt_FromLong((long)result);
15235 return resultobj;
15236 fail:
15237 return NULL;
15238 }
15239
15240
15241 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15242 PyObject *resultobj;
15243 int arg1 ;
15244 int result;
15245 char *kwnames[] = {
15246 (char *) "year", NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 result = (int)wxDateTime::ConvertYearToBC(arg1);
15253
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 resultobj = PyInt_FromLong((long)result);
15258 return resultobj;
15259 fail:
15260 return NULL;
15261 }
15262
15263
15264 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15265 PyObject *resultobj;
15266 int arg1 = (int) wxDateTime::Gregorian ;
15267 int result;
15268 char *kwnames[] = {
15269 (char *) "cal", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 resultobj = PyInt_FromLong((long)result);
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 int arg1 = (int) wxDateTime::Inv_Year ;
15290 int arg2 = (int) wxDateTime::Gregorian ;
15291 bool result;
15292 char *kwnames[] = {
15293 (char *) "year",(char *) "cal", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 resultobj = PyInt_FromLong((long)result);
15305 return resultobj;
15306 fail:
15307 return NULL;
15308 }
15309
15310
15311 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15312 PyObject *resultobj;
15313 int arg1 = (int) wxDateTime::Inv_Year ;
15314 int result;
15315 char *kwnames[] = {
15316 (char *) "year", NULL
15317 };
15318
15319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15320 {
15321 PyThreadState* __tstate = wxPyBeginAllowThreads();
15322 result = (int)wxDateTime::GetCentury(arg1);
15323
15324 wxPyEndAllowThreads(__tstate);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 }
15327 resultobj = PyInt_FromLong((long)result);
15328 return resultobj;
15329 fail:
15330 return NULL;
15331 }
15332
15333
15334 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 int arg1 ;
15337 int arg2 = (int) wxDateTime::Gregorian ;
15338 int result;
15339 char *kwnames[] = {
15340 (char *) "year",(char *) "cal", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 resultobj = PyInt_FromLong((long)result);
15352 return resultobj;
15353 fail:
15354 return NULL;
15355 }
15356
15357
15358 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15359 PyObject *resultobj;
15360 int arg1 ;
15361 int arg2 = (int) wxDateTime::Inv_Year ;
15362 int arg3 = (int) wxDateTime::Gregorian ;
15363 int result;
15364 char *kwnames[] = {
15365 (char *) "month",(char *) "year",(char *) "cal", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 resultobj = PyInt_FromLong((long)result);
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 int arg1 ;
15386 int arg2 = (int) wxDateTime::Name_Full ;
15387 wxString result;
15388 char *kwnames[] = {
15389 (char *) "month",(char *) "flags", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 {
15401 #if wxUSE_UNICODE
15402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15403 #else
15404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15405 #endif
15406 }
15407 return resultobj;
15408 fail:
15409 return NULL;
15410 }
15411
15412
15413 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15414 PyObject *resultobj;
15415 int arg1 ;
15416 int arg2 = (int) wxDateTime::Name_Full ;
15417 wxString result;
15418 char *kwnames[] = {
15419 (char *) "weekday",(char *) "flags", NULL
15420 };
15421
15422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15423 {
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15426
15427 wxPyEndAllowThreads(__tstate);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 {
15431 #if wxUSE_UNICODE
15432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15433 #else
15434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15435 #endif
15436 }
15437 return resultobj;
15438 fail:
15439 return NULL;
15440 }
15441
15442
15443 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15444 PyObject *resultobj;
15445 wxString *arg1 = (wxString *) 0 ;
15446 wxString *arg2 = (wxString *) 0 ;
15447 PyObject * obj0 = 0 ;
15448 PyObject * obj1 = 0 ;
15449 char *kwnames[] = {
15450 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15451 };
15452
15453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15456 {
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 wxDateTime::GetAmPmStrings(arg1,arg2);
15459
15460 wxPyEndAllowThreads(__tstate);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 Py_INCREF(Py_None); resultobj = Py_None;
15464 return resultobj;
15465 fail:
15466 return NULL;
15467 }
15468
15469
15470 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj;
15472 int arg1 = (int) wxDateTime::Inv_Year ;
15473 int arg2 = (int) wxDateTime::Country_Default ;
15474 bool result;
15475 char *kwnames[] = {
15476 (char *) "year",(char *) "country", NULL
15477 };
15478
15479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15487 resultobj = PyInt_FromLong((long)result);
15488 return resultobj;
15489 fail:
15490 return NULL;
15491 }
15492
15493
15494 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 int arg1 = (int) wxDateTime::Inv_Year ;
15497 int arg2 = (int) wxDateTime::Country_Default ;
15498 wxDateTime result;
15499 char *kwnames[] = {
15500 (char *) "year",(char *) "country", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15504 {
15505 PyThreadState* __tstate = wxPyBeginAllowThreads();
15506 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15507
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 {
15512 wxDateTime * resultptr;
15513 resultptr = new wxDateTime((wxDateTime &) result);
15514 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15515 }
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 int arg1 = (int) wxDateTime::Inv_Year ;
15525 int arg2 = (int) wxDateTime::Country_Default ;
15526 wxDateTime result;
15527 char *kwnames[] = {
15528 (char *) "year",(char *) "country", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 {
15540 wxDateTime * resultptr;
15541 resultptr = new wxDateTime((wxDateTime &) result);
15542 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15543 }
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj;
15552 wxDateTime result;
15553 char *kwnames[] = {
15554 NULL
15555 };
15556
15557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 result = wxDateTime::Now();
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 {
15566 wxDateTime * resultptr;
15567 resultptr = new wxDateTime((wxDateTime &) result);
15568 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15569 }
15570 return resultobj;
15571 fail:
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxDateTime result;
15579 char *kwnames[] = {
15580 NULL
15581 };
15582
15583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15584 {
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 result = wxDateTime::UNow();
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 {
15592 wxDateTime * resultptr;
15593 resultptr = new wxDateTime((wxDateTime &) result);
15594 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15595 }
15596 return resultobj;
15597 fail:
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxDateTime result;
15605 char *kwnames[] = {
15606 NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 result = wxDateTime::Today();
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15617 {
15618 wxDateTime * resultptr;
15619 resultptr = new wxDateTime((wxDateTime &) result);
15620 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15621 }
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxDateTime *result;
15631 char *kwnames[] = {
15632 NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 result = (wxDateTime *)new wxDateTime();
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15644 return resultobj;
15645 fail:
15646 return NULL;
15647 }
15648
15649
15650 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15651 PyObject *resultobj;
15652 time_t arg1 ;
15653 wxDateTime *result;
15654 PyObject * obj0 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "timet", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15660 arg1 = (time_t) PyInt_AsLong(obj0);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 result = (wxDateTime *)new wxDateTime(arg1);
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15670 return resultobj;
15671 fail:
15672 return NULL;
15673 }
15674
15675
15676 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15677 PyObject *resultobj;
15678 double arg1 ;
15679 wxDateTime *result;
15680 char *kwnames[] = {
15681 (char *) "jdn", NULL
15682 };
15683
15684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 result = (wxDateTime *)new wxDateTime(arg1);
15688
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 int arg1 ;
15702 int arg2 = (int) 0 ;
15703 int arg3 = (int) 0 ;
15704 int arg4 = (int) 0 ;
15705 wxDateTime *result;
15706 char *kwnames[] = {
15707 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15708 };
15709
15710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15714
15715 wxPyEndAllowThreads(__tstate);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15719 return resultobj;
15720 fail:
15721 return NULL;
15722 }
15723
15724
15725 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 int arg1 ;
15728 int arg2 = (int) wxDateTime::Inv_Month ;
15729 int arg3 = (int) wxDateTime::Inv_Year ;
15730 int arg4 = (int) 0 ;
15731 int arg5 = (int) 0 ;
15732 int arg6 = (int) 0 ;
15733 int arg7 = (int) 0 ;
15734 wxDateTime *result;
15735 char *kwnames[] = {
15736 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15737 };
15738
15739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15748 return resultobj;
15749 fail:
15750 return NULL;
15751 }
15752
15753
15754 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxDateTime *arg1 = (wxDateTime *) 0 ;
15757 PyObject * obj0 = 0 ;
15758 char *kwnames[] = {
15759 (char *) "self", NULL
15760 };
15761
15762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 delete arg1;
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 Py_INCREF(Py_None); resultobj = Py_None;
15772 return resultobj;
15773 fail:
15774 return NULL;
15775 }
15776
15777
15778 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxDateTime *arg1 = (wxDateTime *) 0 ;
15781 wxDateTime *result;
15782 PyObject * obj0 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "self", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 {
15792 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15793 result = (wxDateTime *) &_result_ref;
15794 }
15795
15796 wxPyEndAllowThreads(__tstate);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 }
15799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15800 return resultobj;
15801 fail:
15802 return NULL;
15803 }
15804
15805
15806 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15807 PyObject *resultobj;
15808 wxDateTime *arg1 = (wxDateTime *) 0 ;
15809 time_t arg2 ;
15810 wxDateTime *result;
15811 PyObject * obj0 = 0 ;
15812 PyObject * obj1 = 0 ;
15813 char *kwnames[] = {
15814 (char *) "self",(char *) "timet", NULL
15815 };
15816
15817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15819 arg2 = (time_t) PyInt_AsLong(obj1);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 {
15822 PyThreadState* __tstate = wxPyBeginAllowThreads();
15823 {
15824 wxDateTime &_result_ref = (arg1)->Set(arg2);
15825 result = (wxDateTime *) &_result_ref;
15826 }
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxDateTime *arg1 = (wxDateTime *) 0 ;
15841 double arg2 ;
15842 wxDateTime *result;
15843 PyObject * obj0 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "self",(char *) "jdn", NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 {
15853 wxDateTime &_result_ref = (arg1)->Set(arg2);
15854 result = (wxDateTime *) &_result_ref;
15855 }
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15861 return resultobj;
15862 fail:
15863 return NULL;
15864 }
15865
15866
15867 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj;
15869 wxDateTime *arg1 = (wxDateTime *) 0 ;
15870 int arg2 ;
15871 int arg3 = (int) 0 ;
15872 int arg4 = (int) 0 ;
15873 int arg5 = (int) 0 ;
15874 wxDateTime *result;
15875 PyObject * obj0 = 0 ;
15876 char *kwnames[] = {
15877 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15878 };
15879
15880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 {
15885 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
15886 result = (wxDateTime *) &_result_ref;
15887 }
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj;
15901 wxDateTime *arg1 = (wxDateTime *) 0 ;
15902 int arg2 ;
15903 int arg3 = (int) wxDateTime::Inv_Month ;
15904 int arg4 = (int) wxDateTime::Inv_Year ;
15905 int arg5 = (int) 0 ;
15906 int arg6 = (int) 0 ;
15907 int arg7 = (int) 0 ;
15908 int arg8 = (int) 0 ;
15909 wxDateTime *result;
15910 PyObject * obj0 = 0 ;
15911 char *kwnames[] = {
15912 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15913 };
15914
15915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
15916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 {
15920 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
15921 result = (wxDateTime *) &_result_ref;
15922 }
15923
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15928 return resultobj;
15929 fail:
15930 return NULL;
15931 }
15932
15933
15934 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj;
15936 wxDateTime *arg1 = (wxDateTime *) 0 ;
15937 wxDateTime *result;
15938 PyObject * obj0 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) 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)->ResetTime();
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_SetYear(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 *) "year", NULL
15970 };
15971
15972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",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)->SetYear(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_SetMonth(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 *) "month", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",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)->SetMonth((wxDateTime::Month )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_SetDay(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 *) "day", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",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)->SetDay(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_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxDateTime *arg1 = (wxDateTime *) 0 ;
16052 int arg2 ;
16053 wxDateTime *result;
16054 PyObject * obj0 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "self",(char *) "hour", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
16060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 {
16064 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16065 result = (wxDateTime *) &_result_ref;
16066 }
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxDateTime *arg1 = (wxDateTime *) 0 ;
16081 int arg2 ;
16082 wxDateTime *result;
16083 PyObject * obj0 = 0 ;
16084 char *kwnames[] = {
16085 (char *) "self",(char *) "minute", NULL
16086 };
16087
16088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
16089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16090 {
16091 PyThreadState* __tstate = wxPyBeginAllowThreads();
16092 {
16093 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16094 result = (wxDateTime *) &_result_ref;
16095 }
16096
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxDateTime *arg1 = (wxDateTime *) 0 ;
16110 int arg2 ;
16111 wxDateTime *result;
16112 PyObject * obj0 = 0 ;
16113 char *kwnames[] = {
16114 (char *) "self",(char *) "second", NULL
16115 };
16116
16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
16118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 {
16122 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16123 result = (wxDateTime *) &_result_ref;
16124 }
16125
16126 wxPyEndAllowThreads(__tstate);
16127 if (PyErr_Occurred()) SWIG_fail;
16128 }
16129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16130 return resultobj;
16131 fail:
16132 return NULL;
16133 }
16134
16135
16136 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxDateTime *arg1 = (wxDateTime *) 0 ;
16139 int arg2 ;
16140 wxDateTime *result;
16141 PyObject * obj0 = 0 ;
16142 char *kwnames[] = {
16143 (char *) "self",(char *) "millisecond", NULL
16144 };
16145
16146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
16147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16148 {
16149 PyThreadState* __tstate = wxPyBeginAllowThreads();
16150 {
16151 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16152 result = (wxDateTime *) &_result_ref;
16153 }
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16159 return resultobj;
16160 fail:
16161 return NULL;
16162 }
16163
16164
16165 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16166 PyObject *resultobj;
16167 wxDateTime *arg1 = (wxDateTime *) 0 ;
16168 int arg2 ;
16169 int arg3 = (int) wxDateTime::Monday_First ;
16170 wxDateTime *result;
16171 PyObject * obj0 = 0 ;
16172 char *kwnames[] = {
16173 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16174 };
16175
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 {
16181 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16182 result = (wxDateTime *) &_result_ref;
16183 }
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16189 return resultobj;
16190 fail:
16191 return NULL;
16192 }
16193
16194
16195 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxDateTime *arg1 = (wxDateTime *) 0 ;
16198 int arg2 ;
16199 int arg3 = (int) wxDateTime::Monday_First ;
16200 wxDateTime result;
16201 PyObject * obj0 = 0 ;
16202 char *kwnames[] = {
16203 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16204 };
16205
16206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 {
16216 wxDateTime * resultptr;
16217 resultptr = new wxDateTime((wxDateTime &) result);
16218 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16219 }
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxDateTime *arg1 = (wxDateTime *) 0 ;
16229 int arg2 ;
16230 wxDateTime *result;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self",(char *) "weekday", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 {
16241 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16242 result = (wxDateTime *) &_result_ref;
16243 }
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj;
16257 wxDateTime *arg1 = (wxDateTime *) 0 ;
16258 int arg2 ;
16259 wxDateTime result;
16260 PyObject * obj0 = 0 ;
16261 char *kwnames[] = {
16262 (char *) "self",(char *) "weekday", NULL
16263 };
16264
16265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 {
16275 wxDateTime * resultptr;
16276 resultptr = new wxDateTime((wxDateTime &) result);
16277 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16278 }
16279 return resultobj;
16280 fail:
16281 return NULL;
16282 }
16283
16284
16285 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxDateTime *arg1 = (wxDateTime *) 0 ;
16288 int arg2 ;
16289 wxDateTime *result;
16290 PyObject * obj0 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "weekday", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 {
16300 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16301 result = (wxDateTime *) &_result_ref;
16302 }
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
16307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16308 return resultobj;
16309 fail:
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxDateTime *arg1 = (wxDateTime *) 0 ;
16317 int arg2 ;
16318 wxDateTime result;
16319 PyObject * obj0 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "weekday", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16326 {
16327 PyThreadState* __tstate = wxPyBeginAllowThreads();
16328 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16329
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 {
16334 wxDateTime * resultptr;
16335 resultptr = new wxDateTime((wxDateTime &) result);
16336 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16337 }
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxDateTime *arg1 = (wxDateTime *) 0 ;
16347 int arg2 ;
16348 int arg3 = (int) 1 ;
16349 int arg4 = (int) wxDateTime::Inv_Month ;
16350 int arg5 = (int) wxDateTime::Inv_Year ;
16351 bool result;
16352 PyObject * obj0 = 0 ;
16353 char *kwnames[] = {
16354 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16355 };
16356
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) 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 = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 resultobj = PyInt_FromLong((long)result);
16367 return resultobj;
16368 fail:
16369 return NULL;
16370 }
16371
16372
16373 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxDateTime *arg1 = (wxDateTime *) 0 ;
16376 int arg2 ;
16377 int arg3 = (int) wxDateTime::Inv_Month ;
16378 int arg4 = (int) wxDateTime::Inv_Year ;
16379 bool result;
16380 PyObject * obj0 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 resultobj = PyInt_FromLong((long)result);
16395 return resultobj;
16396 fail:
16397 return NULL;
16398 }
16399
16400
16401 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxDateTime *arg1 = (wxDateTime *) 0 ;
16404 int arg2 ;
16405 int arg3 = (int) wxDateTime::Inv_Month ;
16406 int arg4 = (int) wxDateTime::Inv_Year ;
16407 wxDateTime result;
16408 PyObject * obj0 = 0 ;
16409 char *kwnames[] = {
16410 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16411 };
16412
16413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16418
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 {
16423 wxDateTime * resultptr;
16424 resultptr = new wxDateTime((wxDateTime &) result);
16425 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16426 }
16427 return resultobj;
16428 fail:
16429 return NULL;
16430 }
16431
16432
16433 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxDateTime *arg1 = (wxDateTime *) 0 ;
16436 int arg2 ;
16437 int arg3 = (int) wxDateTime::Mon ;
16438 int arg4 = (int) wxDateTime::Monday_First ;
16439 bool result;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16447 {
16448 PyThreadState* __tstate = wxPyBeginAllowThreads();
16449 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16450
16451 wxPyEndAllowThreads(__tstate);
16452 if (PyErr_Occurred()) SWIG_fail;
16453 }
16454 resultobj = PyInt_FromLong((long)result);
16455 return resultobj;
16456 fail:
16457 return NULL;
16458 }
16459
16460
16461 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16462 PyObject *resultobj;
16463 wxDateTime *arg1 = (wxDateTime *) 0 ;
16464 int arg2 ;
16465 int arg3 = (int) wxDateTime::Mon ;
16466 int arg4 = (int) wxDateTime::Monday_First ;
16467 wxDateTime result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 {
16483 wxDateTime * resultptr;
16484 resultptr = new wxDateTime((wxDateTime &) result);
16485 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16486 }
16487 return resultobj;
16488 fail:
16489 return NULL;
16490 }
16491
16492
16493 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16494 PyObject *resultobj;
16495 wxDateTime *arg1 = (wxDateTime *) 0 ;
16496 int arg2 = (int) wxDateTime::Inv_Month ;
16497 int arg3 = (int) wxDateTime::Inv_Year ;
16498 wxDateTime *result;
16499 PyObject * obj0 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self",(char *) "month",(char *) "year", NULL
16502 };
16503
16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 {
16509 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16510 result = (wxDateTime *) &_result_ref;
16511 }
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
16516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16517 return resultobj;
16518 fail:
16519 return NULL;
16520 }
16521
16522
16523 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16524 PyObject *resultobj;
16525 wxDateTime *arg1 = (wxDateTime *) 0 ;
16526 int arg2 = (int) wxDateTime::Inv_Month ;
16527 int arg3 = (int) wxDateTime::Inv_Year ;
16528 wxDateTime result;
16529 PyObject * obj0 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self",(char *) "month",(char *) "year", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 {
16544 wxDateTime * resultptr;
16545 resultptr = new wxDateTime((wxDateTime &) result);
16546 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16547 }
16548 return resultobj;
16549 fail:
16550 return NULL;
16551 }
16552
16553
16554 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxDateTime *arg1 = (wxDateTime *) 0 ;
16557 int arg2 ;
16558 wxDateTime *result;
16559 PyObject * obj0 = 0 ;
16560 char *kwnames[] = {
16561 (char *) "self",(char *) "yday", NULL
16562 };
16563
16564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
16565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 {
16569 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16570 result = (wxDateTime *) &_result_ref;
16571 }
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16577 return resultobj;
16578 fail:
16579 return NULL;
16580 }
16581
16582
16583 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj;
16585 wxDateTime *arg1 = (wxDateTime *) 0 ;
16586 int arg2 ;
16587 wxDateTime result;
16588 PyObject * obj0 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self",(char *) "yday", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (arg1)->GetYearDay(arg2);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 {
16603 wxDateTime * resultptr;
16604 resultptr = new wxDateTime((wxDateTime &) result);
16605 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16606 }
16607 return resultobj;
16608 fail:
16609 return NULL;
16610 }
16611
16612
16613 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj;
16615 wxDateTime *arg1 = (wxDateTime *) 0 ;
16616 double result;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (double)(arg1)->GetJulianDayNumber();
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 resultobj = PyFloat_FromDouble(result);
16632 return resultobj;
16633 fail:
16634 return NULL;
16635 }
16636
16637
16638 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16639 PyObject *resultobj;
16640 wxDateTime *arg1 = (wxDateTime *) 0 ;
16641 double result;
16642 PyObject * obj0 = 0 ;
16643 char *kwnames[] = {
16644 (char *) "self", NULL
16645 };
16646
16647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16649 {
16650 PyThreadState* __tstate = wxPyBeginAllowThreads();
16651 result = (double)(arg1)->GetJDN();
16652
16653 wxPyEndAllowThreads(__tstate);
16654 if (PyErr_Occurred()) SWIG_fail;
16655 }
16656 resultobj = PyFloat_FromDouble(result);
16657 return resultobj;
16658 fail:
16659 return NULL;
16660 }
16661
16662
16663 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16664 PyObject *resultobj;
16665 wxDateTime *arg1 = (wxDateTime *) 0 ;
16666 double result;
16667 PyObject * obj0 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 resultobj = PyFloat_FromDouble(result);
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxDateTime *arg1 = (wxDateTime *) 0 ;
16691 double result;
16692 PyObject * obj0 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 result = (double)(arg1)->GetMJD();
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 resultobj = PyFloat_FromDouble(result);
16707 return resultobj;
16708 fail:
16709 return NULL;
16710 }
16711
16712
16713 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxDateTime *arg1 = (wxDateTime *) 0 ;
16716 double result;
16717 PyObject * obj0 = 0 ;
16718 char *kwnames[] = {
16719 (char *) "self", NULL
16720 };
16721
16722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16724 {
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 result = (double)(arg1)->GetRataDie();
16727
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 resultobj = PyFloat_FromDouble(result);
16732 return resultobj;
16733 fail:
16734 return NULL;
16735 }
16736
16737
16738 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxDateTime *arg1 = (wxDateTime *) 0 ;
16741 wxDateTime::TimeZone *arg2 = 0 ;
16742 bool arg3 = (bool) False ;
16743 wxDateTime result;
16744 bool temp2 = False ;
16745 PyObject * obj0 = 0 ;
16746 PyObject * obj1 = 0 ;
16747 PyObject * obj2 = 0 ;
16748 char *kwnames[] = {
16749 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16750 };
16751
16752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16754 {
16755 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16756 temp2 = True;
16757 }
16758 if (obj2) {
16759 arg3 = PyInt_AsLong(obj2) ? true : false;
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 {
16763 PyThreadState* __tstate = wxPyBeginAllowThreads();
16764 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16765
16766 wxPyEndAllowThreads(__tstate);
16767 if (PyErr_Occurred()) SWIG_fail;
16768 }
16769 {
16770 wxDateTime * resultptr;
16771 resultptr = new wxDateTime((wxDateTime &) result);
16772 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16773 }
16774 {
16775 if (temp2) delete arg2;
16776 }
16777 return resultobj;
16778 fail:
16779 {
16780 if (temp2) delete arg2;
16781 }
16782 return NULL;
16783 }
16784
16785
16786 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj;
16788 wxDateTime *arg1 = (wxDateTime *) 0 ;
16789 wxDateTime::TimeZone *arg2 = 0 ;
16790 bool arg3 = (bool) False ;
16791 wxDateTime *result;
16792 bool temp2 = False ;
16793 PyObject * obj0 = 0 ;
16794 PyObject * obj1 = 0 ;
16795 PyObject * obj2 = 0 ;
16796 char *kwnames[] = {
16797 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16798 };
16799
16800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16802 {
16803 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16804 temp2 = True;
16805 }
16806 if (obj2) {
16807 arg3 = PyInt_AsLong(obj2) ? true : false;
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
16811 PyThreadState* __tstate = wxPyBeginAllowThreads();
16812 {
16813 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16814 result = (wxDateTime *) &_result_ref;
16815 }
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16821 {
16822 if (temp2) delete arg2;
16823 }
16824 return resultobj;
16825 fail:
16826 {
16827 if (temp2) delete arg2;
16828 }
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxDateTime *arg1 = (wxDateTime *) 0 ;
16836 bool arg2 = (bool) False ;
16837 wxDateTime result;
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self",(char *) "noDST", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16846 if (obj1) {
16847 arg2 = PyInt_AsLong(obj1) ? true : false;
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 {
16851 PyThreadState* __tstate = wxPyBeginAllowThreads();
16852 result = (arg1)->ToGMT(arg2);
16853
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 {
16858 wxDateTime * resultptr;
16859 resultptr = new wxDateTime((wxDateTime &) result);
16860 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16861 }
16862 return resultobj;
16863 fail:
16864 return NULL;
16865 }
16866
16867
16868 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj;
16870 wxDateTime *arg1 = (wxDateTime *) 0 ;
16871 bool arg2 = (bool) False ;
16872 wxDateTime *result;
16873 PyObject * obj0 = 0 ;
16874 PyObject * obj1 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "self",(char *) "noDST", NULL
16877 };
16878
16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16881 if (obj1) {
16882 arg2 = PyInt_AsLong(obj1) ? true : false;
16883 if (PyErr_Occurred()) SWIG_fail;
16884 }
16885 {
16886 PyThreadState* __tstate = wxPyBeginAllowThreads();
16887 {
16888 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
16889 result = (wxDateTime *) &_result_ref;
16890 }
16891
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
16895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16896 return resultobj;
16897 fail:
16898 return NULL;
16899 }
16900
16901
16902 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16903 PyObject *resultobj;
16904 wxDateTime *arg1 = (wxDateTime *) 0 ;
16905 int arg2 = (int) wxDateTime::Country_Default ;
16906 int result;
16907 PyObject * obj0 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "self",(char *) "country", NULL
16910 };
16911
16912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
16913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16914 {
16915 PyThreadState* __tstate = wxPyBeginAllowThreads();
16916 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
16917
16918 wxPyEndAllowThreads(__tstate);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 resultobj = PyInt_FromLong((long)result);
16922 return resultobj;
16923 fail:
16924 return NULL;
16925 }
16926
16927
16928 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj;
16930 wxDateTime *arg1 = (wxDateTime *) 0 ;
16931 bool result;
16932 PyObject * obj0 = 0 ;
16933 char *kwnames[] = {
16934 (char *) "self", NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
16938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16939 {
16940 PyThreadState* __tstate = wxPyBeginAllowThreads();
16941 result = (bool)((wxDateTime const *)arg1)->IsValid();
16942
16943 wxPyEndAllowThreads(__tstate);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
16946 resultobj = PyInt_FromLong((long)result);
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 wxDateTime *arg1 = (wxDateTime *) 0 ;
16956 time_t result;
16957 PyObject * obj0 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
16967
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 resultobj = PyInt_FromLong((long)result);
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj;
16980 wxDateTime *arg1 = (wxDateTime *) 0 ;
16981 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16982 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16983 int result;
16984 bool temp2 = False ;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj1 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "tz", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16993 if (obj1) {
16994 {
16995 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16996 temp2 = True;
16997 }
16998 }
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 resultobj = PyInt_FromLong((long)result);
17007 {
17008 if (temp2) delete arg2;
17009 }
17010 return resultobj;
17011 fail:
17012 {
17013 if (temp2) delete arg2;
17014 }
17015 return NULL;
17016 }
17017
17018
17019 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17020 PyObject *resultobj;
17021 wxDateTime *arg1 = (wxDateTime *) 0 ;
17022 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17023 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17024 int result;
17025 bool temp2 = False ;
17026 PyObject * obj0 = 0 ;
17027 PyObject * obj1 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self",(char *) "tz", NULL
17030 };
17031
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17034 if (obj1) {
17035 {
17036 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17037 temp2 = True;
17038 }
17039 }
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 resultobj = PyInt_FromLong((long)result);
17048 {
17049 if (temp2) delete arg2;
17050 }
17051 return resultobj;
17052 fail:
17053 {
17054 if (temp2) delete arg2;
17055 }
17056 return NULL;
17057 }
17058
17059
17060 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxDateTime *arg1 = (wxDateTime *) 0 ;
17063 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17064 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17065 int result;
17066 bool temp2 = False ;
17067 PyObject * obj0 = 0 ;
17068 PyObject * obj1 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "self",(char *) "tz", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17075 if (obj1) {
17076 {
17077 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17078 temp2 = True;
17079 }
17080 }
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 resultobj = PyInt_FromLong((long)result);
17089 {
17090 if (temp2) delete arg2;
17091 }
17092 return resultobj;
17093 fail:
17094 {
17095 if (temp2) delete arg2;
17096 }
17097 return NULL;
17098 }
17099
17100
17101 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj;
17103 wxDateTime *arg1 = (wxDateTime *) 0 ;
17104 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17105 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17106 int result;
17107 bool temp2 = False ;
17108 PyObject * obj0 = 0 ;
17109 PyObject * obj1 = 0 ;
17110 char *kwnames[] = {
17111 (char *) "self",(char *) "tz", NULL
17112 };
17113
17114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17116 if (obj1) {
17117 {
17118 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17119 temp2 = True;
17120 }
17121 }
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 resultobj = PyInt_FromLong((long)result);
17130 {
17131 if (temp2) delete arg2;
17132 }
17133 return resultobj;
17134 fail:
17135 {
17136 if (temp2) delete arg2;
17137 }
17138 return NULL;
17139 }
17140
17141
17142 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxDateTime *arg1 = (wxDateTime *) 0 ;
17145 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17146 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17147 int result;
17148 bool temp2 = False ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "tz", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17157 if (obj1) {
17158 {
17159 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17160 temp2 = True;
17161 }
17162 }
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17166
17167 wxPyEndAllowThreads(__tstate);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 resultobj = PyInt_FromLong((long)result);
17171 {
17172 if (temp2) delete arg2;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp2) delete arg2;
17178 }
17179 return NULL;
17180 }
17181
17182
17183 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj;
17185 wxDateTime *arg1 = (wxDateTime *) 0 ;
17186 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17187 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17188 int result;
17189 bool temp2 = False ;
17190 PyObject * obj0 = 0 ;
17191 PyObject * obj1 = 0 ;
17192 char *kwnames[] = {
17193 (char *) "self",(char *) "tz", NULL
17194 };
17195
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17198 if (obj1) {
17199 {
17200 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17201 temp2 = True;
17202 }
17203 }
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 resultobj = PyInt_FromLong((long)result);
17212 {
17213 if (temp2) delete arg2;
17214 }
17215 return resultobj;
17216 fail:
17217 {
17218 if (temp2) delete arg2;
17219 }
17220 return NULL;
17221 }
17222
17223
17224 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17225 PyObject *resultobj;
17226 wxDateTime *arg1 = (wxDateTime *) 0 ;
17227 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17228 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17229 int result;
17230 bool temp2 = False ;
17231 PyObject * obj0 = 0 ;
17232 PyObject * obj1 = 0 ;
17233 char *kwnames[] = {
17234 (char *) "self",(char *) "tz", NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17239 if (obj1) {
17240 {
17241 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17242 temp2 = True;
17243 }
17244 }
17245 {
17246 PyThreadState* __tstate = wxPyBeginAllowThreads();
17247 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17248
17249 wxPyEndAllowThreads(__tstate);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 }
17252 resultobj = PyInt_FromLong((long)result);
17253 {
17254 if (temp2) delete arg2;
17255 }
17256 return resultobj;
17257 fail:
17258 {
17259 if (temp2) delete arg2;
17260 }
17261 return NULL;
17262 }
17263
17264
17265 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17266 PyObject *resultobj;
17267 wxDateTime *arg1 = (wxDateTime *) 0 ;
17268 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17269 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17270 int result;
17271 bool temp2 = False ;
17272 PyObject * obj0 = 0 ;
17273 PyObject * obj1 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self",(char *) "tz", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17280 if (obj1) {
17281 {
17282 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17283 temp2 = True;
17284 }
17285 }
17286 {
17287 PyThreadState* __tstate = wxPyBeginAllowThreads();
17288 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17289
17290 wxPyEndAllowThreads(__tstate);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 }
17293 resultobj = PyInt_FromLong((long)result);
17294 {
17295 if (temp2) delete arg2;
17296 }
17297 return resultobj;
17298 fail:
17299 {
17300 if (temp2) delete arg2;
17301 }
17302 return NULL;
17303 }
17304
17305
17306 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 wxDateTime *arg1 = (wxDateTime *) 0 ;
17309 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17310 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17311 int result;
17312 bool temp2 = False ;
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 char *kwnames[] = {
17316 (char *) "self",(char *) "tz", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17321 if (obj1) {
17322 {
17323 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17324 temp2 = True;
17325 }
17326 }
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 resultobj = PyInt_FromLong((long)result);
17335 {
17336 if (temp2) delete arg2;
17337 }
17338 return resultobj;
17339 fail:
17340 {
17341 if (temp2) delete arg2;
17342 }
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxDateTime *arg1 = (wxDateTime *) 0 ;
17350 int arg2 = (int) wxDateTime::Monday_First ;
17351 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17352 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17353 int result;
17354 bool temp3 = False ;
17355 PyObject * obj0 = 0 ;
17356 PyObject * obj2 = 0 ;
17357 char *kwnames[] = {
17358 (char *) "self",(char *) "flags",(char *) "tz", NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17363 if (obj2) {
17364 {
17365 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17366 temp3 = True;
17367 }
17368 }
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 resultobj = PyInt_FromLong((long)result);
17377 {
17378 if (temp3) delete arg3;
17379 }
17380 return resultobj;
17381 fail:
17382 {
17383 if (temp3) delete arg3;
17384 }
17385 return NULL;
17386 }
17387
17388
17389 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17390 PyObject *resultobj;
17391 wxDateTime *arg1 = (wxDateTime *) 0 ;
17392 int arg2 = (int) wxDateTime::Monday_First ;
17393 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17394 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17395 int result;
17396 bool temp3 = False ;
17397 PyObject * obj0 = 0 ;
17398 PyObject * obj2 = 0 ;
17399 char *kwnames[] = {
17400 (char *) "self",(char *) "flags",(char *) "tz", NULL
17401 };
17402
17403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17405 if (obj2) {
17406 {
17407 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17408 temp3 = True;
17409 }
17410 }
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 resultobj = PyInt_FromLong((long)result);
17419 {
17420 if (temp3) delete arg3;
17421 }
17422 return resultobj;
17423 fail:
17424 {
17425 if (temp3) delete arg3;
17426 }
17427 return NULL;
17428 }
17429
17430
17431 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17432 PyObject *resultobj;
17433 wxDateTime *arg1 = (wxDateTime *) 0 ;
17434 int arg2 = (int) wxDateTime::Country_Default ;
17435 bool result;
17436 PyObject * obj0 = 0 ;
17437 char *kwnames[] = {
17438 (char *) "self",(char *) "country", NULL
17439 };
17440
17441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 resultobj = PyInt_FromLong((long)result);
17451 return resultobj;
17452 fail:
17453 return NULL;
17454 }
17455
17456
17457 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxDateTime *arg1 = (wxDateTime *) 0 ;
17460 wxDateTime *arg2 = 0 ;
17461 bool result;
17462 PyObject * obj0 = 0 ;
17463 PyObject * obj1 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self",(char *) "datetime", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17471 if (arg2 == NULL) {
17472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17473 }
17474 {
17475 PyThreadState* __tstate = wxPyBeginAllowThreads();
17476 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17477
17478 wxPyEndAllowThreads(__tstate);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 }
17481 resultobj = PyInt_FromLong((long)result);
17482 return resultobj;
17483 fail:
17484 return NULL;
17485 }
17486
17487
17488 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17489 PyObject *resultobj;
17490 wxDateTime *arg1 = (wxDateTime *) 0 ;
17491 wxDateTime *arg2 = 0 ;
17492 bool result;
17493 PyObject * obj0 = 0 ;
17494 PyObject * obj1 = 0 ;
17495 char *kwnames[] = {
17496 (char *) "self",(char *) "datetime", NULL
17497 };
17498
17499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17502 if (arg2 == NULL) {
17503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17504 }
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17508
17509 wxPyEndAllowThreads(__tstate);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
17512 resultobj = PyInt_FromLong((long)result);
17513 return resultobj;
17514 fail:
17515 return NULL;
17516 }
17517
17518
17519 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj;
17521 wxDateTime *arg1 = (wxDateTime *) 0 ;
17522 wxDateTime *arg2 = 0 ;
17523 bool result;
17524 PyObject * obj0 = 0 ;
17525 PyObject * obj1 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self",(char *) "datetime", NULL
17528 };
17529
17530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17533 if (arg2 == NULL) {
17534 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17535 }
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17539
17540 wxPyEndAllowThreads(__tstate);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 resultobj = PyInt_FromLong((long)result);
17544 return resultobj;
17545 fail:
17546 return NULL;
17547 }
17548
17549
17550 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17551 PyObject *resultobj;
17552 wxDateTime *arg1 = (wxDateTime *) 0 ;
17553 wxDateTime *arg2 = 0 ;
17554 wxDateTime *arg3 = 0 ;
17555 bool result;
17556 PyObject * obj0 = 0 ;
17557 PyObject * obj1 = 0 ;
17558 PyObject * obj2 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "self",(char *) "t1",(char *) "t2", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17566 if (arg2 == NULL) {
17567 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17568 }
17569 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17570 if (arg3 == NULL) {
17571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17572 }
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 resultobj = PyInt_FromLong((long)result);
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxDateTime *arg1 = (wxDateTime *) 0 ;
17590 wxDateTime *arg2 = 0 ;
17591 wxDateTime *arg3 = 0 ;
17592 bool result;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj1 = 0 ;
17595 PyObject * obj2 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "t1",(char *) "t2", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17602 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17603 if (arg2 == NULL) {
17604 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17605 }
17606 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17607 if (arg3 == NULL) {
17608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17609 }
17610 {
17611 PyThreadState* __tstate = wxPyBeginAllowThreads();
17612 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17613
17614 wxPyEndAllowThreads(__tstate);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 resultobj = PyInt_FromLong((long)result);
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxDateTime *arg1 = (wxDateTime *) 0 ;
17627 wxDateTime *arg2 = 0 ;
17628 bool result;
17629 PyObject * obj0 = 0 ;
17630 PyObject * obj1 = 0 ;
17631 char *kwnames[] = {
17632 (char *) "self",(char *) "dt", NULL
17633 };
17634
17635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17638 if (arg2 == NULL) {
17639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17640 }
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 resultobj = PyInt_FromLong((long)result);
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxDateTime *arg1 = (wxDateTime *) 0 ;
17658 wxDateTime *arg2 = 0 ;
17659 bool result;
17660 PyObject * obj0 = 0 ;
17661 PyObject * obj1 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self",(char *) "dt", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17669 if (arg2 == NULL) {
17670 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17671 }
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 resultobj = PyInt_FromLong((long)result);
17680 return resultobj;
17681 fail:
17682 return NULL;
17683 }
17684
17685
17686 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj;
17688 wxDateTime *arg1 = (wxDateTime *) 0 ;
17689 wxDateTime *arg2 = 0 ;
17690 wxTimeSpan *arg3 = 0 ;
17691 bool result;
17692 PyObject * obj0 = 0 ;
17693 PyObject * obj1 = 0 ;
17694 PyObject * obj2 = 0 ;
17695 char *kwnames[] = {
17696 (char *) "self",(char *) "dt",(char *) "ts", NULL
17697 };
17698
17699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17702 if (arg2 == NULL) {
17703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17704 }
17705 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17706 if (arg3 == NULL) {
17707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17708 }
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17712
17713 wxPyEndAllowThreads(__tstate);
17714 if (PyErr_Occurred()) SWIG_fail;
17715 }
17716 resultobj = PyInt_FromLong((long)result);
17717 return resultobj;
17718 fail:
17719 return NULL;
17720 }
17721
17722
17723 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17724 PyObject *resultobj;
17725 wxDateTime *arg1 = (wxDateTime *) 0 ;
17726 wxTimeSpan *arg2 = 0 ;
17727 wxDateTime *result;
17728 PyObject * obj0 = 0 ;
17729 PyObject * obj1 = 0 ;
17730 char *kwnames[] = {
17731 (char *) "self",(char *) "diff", NULL
17732 };
17733
17734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17737 if (arg2 == NULL) {
17738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17739 }
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 {
17743 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17744 result = (wxDateTime *) &_result_ref;
17745 }
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxDateTime *arg1 = (wxDateTime *) 0 ;
17760 wxDateSpan *arg2 = 0 ;
17761 wxDateTime *result;
17762 PyObject * obj0 = 0 ;
17763 PyObject * obj1 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self",(char *) "diff", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17771 if (arg2 == NULL) {
17772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17773 }
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 {
17777 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17778 result = (wxDateTime *) &_result_ref;
17779 }
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17785 return resultobj;
17786 fail:
17787 return NULL;
17788 }
17789
17790
17791 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17792 PyObject *resultobj;
17793 wxDateTime *arg1 = (wxDateTime *) 0 ;
17794 wxTimeSpan *arg2 = 0 ;
17795 wxDateTime *result;
17796 PyObject * obj0 = 0 ;
17797 PyObject * obj1 = 0 ;
17798 char *kwnames[] = {
17799 (char *) "self",(char *) "diff", NULL
17800 };
17801
17802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17805 if (arg2 == NULL) {
17806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17807 }
17808 {
17809 PyThreadState* __tstate = wxPyBeginAllowThreads();
17810 {
17811 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17812 result = (wxDateTime *) &_result_ref;
17813 }
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxDateTime *arg1 = (wxDateTime *) 0 ;
17828 wxDateSpan *arg2 = 0 ;
17829 wxDateTime *result;
17830 PyObject * obj0 = 0 ;
17831 PyObject * obj1 = 0 ;
17832 char *kwnames[] = {
17833 (char *) "self",(char *) "diff", NULL
17834 };
17835
17836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17839 if (arg2 == NULL) {
17840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17841 }
17842 {
17843 PyThreadState* __tstate = wxPyBeginAllowThreads();
17844 {
17845 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17846 result = (wxDateTime *) &_result_ref;
17847 }
17848
17849 wxPyEndAllowThreads(__tstate);
17850 if (PyErr_Occurred()) SWIG_fail;
17851 }
17852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17853 return resultobj;
17854 fail:
17855 return NULL;
17856 }
17857
17858
17859 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17860 PyObject *resultobj;
17861 wxDateTime *arg1 = (wxDateTime *) 0 ;
17862 wxDateTime *arg2 = 0 ;
17863 wxTimeSpan result;
17864 PyObject * obj0 = 0 ;
17865 PyObject * obj1 = 0 ;
17866 char *kwnames[] = {
17867 (char *) "self",(char *) "dt", NULL
17868 };
17869
17870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17873 if (arg2 == NULL) {
17874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17875 }
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 {
17884 wxTimeSpan * resultptr;
17885 resultptr = new wxTimeSpan((wxTimeSpan &) result);
17886 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
17887 }
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
17895 PyObject *resultobj;
17896 wxDateTime *arg1 = (wxDateTime *) 0 ;
17897 wxTimeSpan *arg2 = 0 ;
17898 wxDateTime *result;
17899 PyObject * obj0 = 0 ;
17900 PyObject * obj1 = 0 ;
17901
17902 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17905 if (arg2 == NULL) {
17906 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17907 }
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 {
17911 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
17912 result = (wxDateTime *) &_result_ref;
17913 }
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17919 return resultobj;
17920 fail:
17921 return NULL;
17922 }
17923
17924
17925 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
17926 PyObject *resultobj;
17927 wxDateTime *arg1 = (wxDateTime *) 0 ;
17928 wxDateSpan *arg2 = 0 ;
17929 wxDateTime *result;
17930 PyObject * obj0 = 0 ;
17931 PyObject * obj1 = 0 ;
17932
17933 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17936 if (arg2 == NULL) {
17937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17938 }
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 {
17942 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
17943 result = (wxDateTime *) &_result_ref;
17944 }
17945
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17950 return resultobj;
17951 fail:
17952 return NULL;
17953 }
17954
17955
17956 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
17957 int argc;
17958 PyObject *argv[3];
17959 int ii;
17960
17961 argc = PyObject_Length(args);
17962 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17963 argv[ii] = PyTuple_GetItem(args,ii);
17964 }
17965 if (argc == 2) {
17966 int _v;
17967 {
17968 void *ptr;
17969 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17970 _v = 0;
17971 PyErr_Clear();
17972 } else {
17973 _v = 1;
17974 }
17975 }
17976 if (_v) {
17977 {
17978 void *ptr;
17979 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17980 _v = 0;
17981 PyErr_Clear();
17982 } else {
17983 _v = 1;
17984 }
17985 }
17986 if (_v) {
17987 return _wrap_DateTime___iadd____SWIG_0(self,args);
17988 }
17989 }
17990 }
17991 if (argc == 2) {
17992 int _v;
17993 {
17994 void *ptr;
17995 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17996 _v = 0;
17997 PyErr_Clear();
17998 } else {
17999 _v = 1;
18000 }
18001 }
18002 if (_v) {
18003 {
18004 void *ptr;
18005 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18006 _v = 0;
18007 PyErr_Clear();
18008 } else {
18009 _v = 1;
18010 }
18011 }
18012 if (_v) {
18013 return _wrap_DateTime___iadd____SWIG_1(self,args);
18014 }
18015 }
18016 }
18017
18018 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18019 return NULL;
18020 }
18021
18022
18023 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18024 PyObject *resultobj;
18025 wxDateTime *arg1 = (wxDateTime *) 0 ;
18026 wxTimeSpan *arg2 = 0 ;
18027 wxDateTime *result;
18028 PyObject * obj0 = 0 ;
18029 PyObject * obj1 = 0 ;
18030
18031 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18034 if (arg2 == NULL) {
18035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18036 }
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 {
18040 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18041 result = (wxDateTime *) &_result_ref;
18042 }
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18048 return resultobj;
18049 fail:
18050 return NULL;
18051 }
18052
18053
18054 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18055 PyObject *resultobj;
18056 wxDateTime *arg1 = (wxDateTime *) 0 ;
18057 wxDateSpan *arg2 = 0 ;
18058 wxDateTime *result;
18059 PyObject * obj0 = 0 ;
18060 PyObject * obj1 = 0 ;
18061
18062 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18065 if (arg2 == NULL) {
18066 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18067 }
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 {
18071 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18072 result = (wxDateTime *) &_result_ref;
18073 }
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18086 int argc;
18087 PyObject *argv[3];
18088 int ii;
18089
18090 argc = PyObject_Length(args);
18091 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18092 argv[ii] = PyTuple_GetItem(args,ii);
18093 }
18094 if (argc == 2) {
18095 int _v;
18096 {
18097 void *ptr;
18098 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18099 _v = 0;
18100 PyErr_Clear();
18101 } else {
18102 _v = 1;
18103 }
18104 }
18105 if (_v) {
18106 {
18107 void *ptr;
18108 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18109 _v = 0;
18110 PyErr_Clear();
18111 } else {
18112 _v = 1;
18113 }
18114 }
18115 if (_v) {
18116 return _wrap_DateTime___isub____SWIG_0(self,args);
18117 }
18118 }
18119 }
18120 if (argc == 2) {
18121 int _v;
18122 {
18123 void *ptr;
18124 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18125 _v = 0;
18126 PyErr_Clear();
18127 } else {
18128 _v = 1;
18129 }
18130 }
18131 if (_v) {
18132 {
18133 void *ptr;
18134 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18135 _v = 0;
18136 PyErr_Clear();
18137 } else {
18138 _v = 1;
18139 }
18140 }
18141 if (_v) {
18142 return _wrap_DateTime___isub____SWIG_1(self,args);
18143 }
18144 }
18145 }
18146
18147 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18148 return NULL;
18149 }
18150
18151
18152 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18153 PyObject *resultobj;
18154 wxDateTime *arg1 = (wxDateTime *) 0 ;
18155 wxTimeSpan *arg2 = 0 ;
18156 wxDateTime result;
18157 PyObject * obj0 = 0 ;
18158 PyObject * obj1 = 0 ;
18159
18160 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18163 if (arg2 == NULL) {
18164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18165 }
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
18168 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18169
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 {
18174 wxDateTime * resultptr;
18175 resultptr = new wxDateTime((wxDateTime &) result);
18176 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18177 }
18178 return resultobj;
18179 fail:
18180 return NULL;
18181 }
18182
18183
18184 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18185 PyObject *resultobj;
18186 wxDateTime *arg1 = (wxDateTime *) 0 ;
18187 wxDateSpan *arg2 = 0 ;
18188 wxDateTime result;
18189 PyObject * obj0 = 0 ;
18190 PyObject * obj1 = 0 ;
18191
18192 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18195 if (arg2 == NULL) {
18196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18197 }
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 {
18206 wxDateTime * resultptr;
18207 resultptr = new wxDateTime((wxDateTime &) result);
18208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18209 }
18210 return resultobj;
18211 fail:
18212 return NULL;
18213 }
18214
18215
18216 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18217 int argc;
18218 PyObject *argv[3];
18219 int ii;
18220
18221 argc = PyObject_Length(args);
18222 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18223 argv[ii] = PyTuple_GetItem(args,ii);
18224 }
18225 if (argc == 2) {
18226 int _v;
18227 {
18228 void *ptr;
18229 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18230 _v = 0;
18231 PyErr_Clear();
18232 } else {
18233 _v = 1;
18234 }
18235 }
18236 if (_v) {
18237 {
18238 void *ptr;
18239 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18240 _v = 0;
18241 PyErr_Clear();
18242 } else {
18243 _v = 1;
18244 }
18245 }
18246 if (_v) {
18247 return _wrap_DateTime___add____SWIG_0(self,args);
18248 }
18249 }
18250 }
18251 if (argc == 2) {
18252 int _v;
18253 {
18254 void *ptr;
18255 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18256 _v = 0;
18257 PyErr_Clear();
18258 } else {
18259 _v = 1;
18260 }
18261 }
18262 if (_v) {
18263 {
18264 void *ptr;
18265 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18266 _v = 0;
18267 PyErr_Clear();
18268 } else {
18269 _v = 1;
18270 }
18271 }
18272 if (_v) {
18273 return _wrap_DateTime___add____SWIG_1(self,args);
18274 }
18275 }
18276 }
18277
18278 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18279 return NULL;
18280 }
18281
18282
18283 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18284 PyObject *resultobj;
18285 wxDateTime *arg1 = (wxDateTime *) 0 ;
18286 wxDateTime *arg2 = 0 ;
18287 wxTimeSpan result;
18288 PyObject * obj0 = 0 ;
18289 PyObject * obj1 = 0 ;
18290
18291 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18294 if (arg2 == NULL) {
18295 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18296 }
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 {
18305 wxTimeSpan * resultptr;
18306 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18307 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18308 }
18309 return resultobj;
18310 fail:
18311 return NULL;
18312 }
18313
18314
18315 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18316 PyObject *resultobj;
18317 wxDateTime *arg1 = (wxDateTime *) 0 ;
18318 wxTimeSpan *arg2 = 0 ;
18319 wxDateTime result;
18320 PyObject * obj0 = 0 ;
18321 PyObject * obj1 = 0 ;
18322
18323 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18326 if (arg2 == NULL) {
18327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18328 }
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18332
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 {
18337 wxDateTime * resultptr;
18338 resultptr = new wxDateTime((wxDateTime &) result);
18339 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18340 }
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18348 PyObject *resultobj;
18349 wxDateTime *arg1 = (wxDateTime *) 0 ;
18350 wxDateSpan *arg2 = 0 ;
18351 wxDateTime result;
18352 PyObject * obj0 = 0 ;
18353 PyObject * obj1 = 0 ;
18354
18355 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18358 if (arg2 == NULL) {
18359 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18360 }
18361 {
18362 PyThreadState* __tstate = wxPyBeginAllowThreads();
18363 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18364
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 {
18369 wxDateTime * resultptr;
18370 resultptr = new wxDateTime((wxDateTime &) result);
18371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18372 }
18373 return resultobj;
18374 fail:
18375 return NULL;
18376 }
18377
18378
18379 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18380 int argc;
18381 PyObject *argv[3];
18382 int ii;
18383
18384 argc = PyObject_Length(args);
18385 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18386 argv[ii] = PyTuple_GetItem(args,ii);
18387 }
18388 if (argc == 2) {
18389 int _v;
18390 {
18391 void *ptr;
18392 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18393 _v = 0;
18394 PyErr_Clear();
18395 } else {
18396 _v = 1;
18397 }
18398 }
18399 if (_v) {
18400 {
18401 void *ptr;
18402 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18403 _v = 0;
18404 PyErr_Clear();
18405 } else {
18406 _v = 1;
18407 }
18408 }
18409 if (_v) {
18410 return _wrap_DateTime___sub____SWIG_0(self,args);
18411 }
18412 }
18413 }
18414 if (argc == 2) {
18415 int _v;
18416 {
18417 void *ptr;
18418 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18419 _v = 0;
18420 PyErr_Clear();
18421 } else {
18422 _v = 1;
18423 }
18424 }
18425 if (_v) {
18426 {
18427 void *ptr;
18428 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18429 _v = 0;
18430 PyErr_Clear();
18431 } else {
18432 _v = 1;
18433 }
18434 }
18435 if (_v) {
18436 return _wrap_DateTime___sub____SWIG_1(self,args);
18437 }
18438 }
18439 }
18440 if (argc == 2) {
18441 int _v;
18442 {
18443 void *ptr;
18444 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18445 _v = 0;
18446 PyErr_Clear();
18447 } else {
18448 _v = 1;
18449 }
18450 }
18451 if (_v) {
18452 {
18453 void *ptr;
18454 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18455 _v = 0;
18456 PyErr_Clear();
18457 } else {
18458 _v = 1;
18459 }
18460 }
18461 if (_v) {
18462 return _wrap_DateTime___sub____SWIG_2(self,args);
18463 }
18464 }
18465 }
18466
18467 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18468 return NULL;
18469 }
18470
18471
18472 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18473 PyObject *resultobj;
18474 wxDateTime *arg1 = (wxDateTime *) 0 ;
18475 wxDateTime *arg2 = 0 ;
18476 bool result;
18477 PyObject * obj0 = 0 ;
18478 PyObject * obj1 = 0 ;
18479
18480 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18483 if (arg2 == NULL) {
18484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18485 }
18486 {
18487 PyThreadState* __tstate = wxPyBeginAllowThreads();
18488 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18489
18490 wxPyEndAllowThreads(__tstate);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 resultobj = PyInt_FromLong((long)result);
18494 return resultobj;
18495 fail:
18496 return NULL;
18497 }
18498
18499
18500 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18501 PyObject *resultobj;
18502 wxDateTime *arg1 = (wxDateTime *) 0 ;
18503 wxDateTime *arg2 = 0 ;
18504 bool result;
18505 PyObject * obj0 = 0 ;
18506 PyObject * obj1 = 0 ;
18507
18508 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18511 if (arg2 == NULL) {
18512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18513 }
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 resultobj = PyInt_FromLong((long)result);
18522 return resultobj;
18523 fail:
18524 return NULL;
18525 }
18526
18527
18528 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18529 PyObject *resultobj;
18530 wxDateTime *arg1 = (wxDateTime *) 0 ;
18531 wxDateTime *arg2 = 0 ;
18532 bool result;
18533 PyObject * obj0 = 0 ;
18534 PyObject * obj1 = 0 ;
18535
18536 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18539 if (arg2 == NULL) {
18540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 resultobj = PyInt_FromLong((long)result);
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18557 PyObject *resultobj;
18558 wxDateTime *arg1 = (wxDateTime *) 0 ;
18559 wxDateTime *arg2 = 0 ;
18560 bool result;
18561 PyObject * obj0 = 0 ;
18562 PyObject * obj1 = 0 ;
18563
18564 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18567 if (arg2 == NULL) {
18568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18569 }
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 resultobj = PyInt_FromLong((long)result);
18578 return resultobj;
18579 fail:
18580 return NULL;
18581 }
18582
18583
18584 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18585 PyObject *resultobj;
18586 wxDateTime *arg1 = (wxDateTime *) 0 ;
18587 wxDateTime *arg2 = 0 ;
18588 bool result;
18589 PyObject * obj0 = 0 ;
18590 PyObject * obj1 = 0 ;
18591
18592 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18595 if (arg2 == NULL) {
18596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18597 }
18598 {
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18601
18602 wxPyEndAllowThreads(__tstate);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 resultobj = PyInt_FromLong((long)result);
18606 return resultobj;
18607 fail:
18608 return NULL;
18609 }
18610
18611
18612 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18613 PyObject *resultobj;
18614 wxDateTime *arg1 = (wxDateTime *) 0 ;
18615 wxDateTime *arg2 = 0 ;
18616 bool result;
18617 PyObject * obj0 = 0 ;
18618 PyObject * obj1 = 0 ;
18619
18620 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18623 if (arg2 == NULL) {
18624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18625 }
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 resultobj = PyInt_FromLong((long)result);
18634 return resultobj;
18635 fail:
18636 return NULL;
18637 }
18638
18639
18640 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj;
18642 wxDateTime *arg1 = (wxDateTime *) 0 ;
18643 wxString *arg2 = 0 ;
18644 int result;
18645 bool temp2 = False ;
18646 PyObject * obj0 = 0 ;
18647 PyObject * obj1 = 0 ;
18648 char *kwnames[] = {
18649 (char *) "self",(char *) "date", NULL
18650 };
18651
18652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18654 {
18655 arg2 = wxString_in_helper(obj1);
18656 if (arg2 == NULL) SWIG_fail;
18657 temp2 = True;
18658 }
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 resultobj = PyInt_FromLong((long)result);
18667 {
18668 if (temp2)
18669 delete arg2;
18670 }
18671 return resultobj;
18672 fail:
18673 {
18674 if (temp2)
18675 delete arg2;
18676 }
18677 return NULL;
18678 }
18679
18680
18681 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxDateTime *arg1 = (wxDateTime *) 0 ;
18684 wxString *arg2 = 0 ;
18685 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18686 wxString *arg3 = (wxString *) &arg3_defvalue ;
18687 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18688 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18689 int result;
18690 bool temp2 = False ;
18691 bool temp3 = False ;
18692 PyObject * obj0 = 0 ;
18693 PyObject * obj1 = 0 ;
18694 PyObject * obj2 = 0 ;
18695 PyObject * obj3 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18702 {
18703 arg2 = wxString_in_helper(obj1);
18704 if (arg2 == NULL) SWIG_fail;
18705 temp2 = True;
18706 }
18707 if (obj2) {
18708 {
18709 arg3 = wxString_in_helper(obj2);
18710 if (arg3 == NULL) SWIG_fail;
18711 temp3 = True;
18712 }
18713 }
18714 if (obj3) {
18715 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18716 if (arg4 == NULL) {
18717 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18718 }
18719 }
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 resultobj = PyInt_FromLong((long)result);
18728 {
18729 if (temp2)
18730 delete arg2;
18731 }
18732 {
18733 if (temp3)
18734 delete arg3;
18735 }
18736 return resultobj;
18737 fail:
18738 {
18739 if (temp2)
18740 delete arg2;
18741 }
18742 {
18743 if (temp3)
18744 delete arg3;
18745 }
18746 return NULL;
18747 }
18748
18749
18750 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxDateTime *arg1 = (wxDateTime *) 0 ;
18753 wxString *arg2 = 0 ;
18754 int result;
18755 bool temp2 = False ;
18756 PyObject * obj0 = 0 ;
18757 PyObject * obj1 = 0 ;
18758 char *kwnames[] = {
18759 (char *) "self",(char *) "datetime", NULL
18760 };
18761
18762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18764 {
18765 arg2 = wxString_in_helper(obj1);
18766 if (arg2 == NULL) SWIG_fail;
18767 temp2 = True;
18768 }
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 resultobj = PyInt_FromLong((long)result);
18777 {
18778 if (temp2)
18779 delete arg2;
18780 }
18781 return resultobj;
18782 fail:
18783 {
18784 if (temp2)
18785 delete arg2;
18786 }
18787 return NULL;
18788 }
18789
18790
18791 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxDateTime *arg1 = (wxDateTime *) 0 ;
18794 wxString *arg2 = 0 ;
18795 int result;
18796 bool temp2 = False ;
18797 PyObject * obj0 = 0 ;
18798 PyObject * obj1 = 0 ;
18799 char *kwnames[] = {
18800 (char *) "self",(char *) "date", NULL
18801 };
18802
18803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18805 {
18806 arg2 = wxString_in_helper(obj1);
18807 if (arg2 == NULL) SWIG_fail;
18808 temp2 = True;
18809 }
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18813
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 resultobj = PyInt_FromLong((long)result);
18818 {
18819 if (temp2)
18820 delete arg2;
18821 }
18822 return resultobj;
18823 fail:
18824 {
18825 if (temp2)
18826 delete arg2;
18827 }
18828 return NULL;
18829 }
18830
18831
18832 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18833 PyObject *resultobj;
18834 wxDateTime *arg1 = (wxDateTime *) 0 ;
18835 wxString *arg2 = 0 ;
18836 int result;
18837 bool temp2 = False ;
18838 PyObject * obj0 = 0 ;
18839 PyObject * obj1 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "self",(char *) "time", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18846 {
18847 arg2 = wxString_in_helper(obj1);
18848 if (arg2 == NULL) SWIG_fail;
18849 temp2 = True;
18850 }
18851 {
18852 PyThreadState* __tstate = wxPyBeginAllowThreads();
18853 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18854
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 resultobj = PyInt_FromLong((long)result);
18859 {
18860 if (temp2)
18861 delete arg2;
18862 }
18863 return resultobj;
18864 fail:
18865 {
18866 if (temp2)
18867 delete arg2;
18868 }
18869 return NULL;
18870 }
18871
18872
18873 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj;
18875 wxDateTime *arg1 = (wxDateTime *) 0 ;
18876 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18877 wxString *arg2 = (wxString *) &arg2_defvalue ;
18878 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18879 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18880 wxString result;
18881 bool temp2 = False ;
18882 bool temp3 = False ;
18883 PyObject * obj0 = 0 ;
18884 PyObject * obj1 = 0 ;
18885 PyObject * obj2 = 0 ;
18886 char *kwnames[] = {
18887 (char *) "self",(char *) "format",(char *) "tz", NULL
18888 };
18889
18890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
18891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18892 if (obj1) {
18893 {
18894 arg2 = wxString_in_helper(obj1);
18895 if (arg2 == NULL) SWIG_fail;
18896 temp2 = True;
18897 }
18898 }
18899 if (obj2) {
18900 {
18901 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
18902 temp3 = True;
18903 }
18904 }
18905 {
18906 PyThreadState* __tstate = wxPyBeginAllowThreads();
18907 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 {
18913 #if wxUSE_UNICODE
18914 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18915 #else
18916 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18917 #endif
18918 }
18919 {
18920 if (temp2)
18921 delete arg2;
18922 }
18923 {
18924 if (temp3) delete arg3;
18925 }
18926 return resultobj;
18927 fail:
18928 {
18929 if (temp2)
18930 delete arg2;
18931 }
18932 {
18933 if (temp3) delete arg3;
18934 }
18935 return NULL;
18936 }
18937
18938
18939 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18940 PyObject *resultobj;
18941 wxDateTime *arg1 = (wxDateTime *) 0 ;
18942 wxString result;
18943 PyObject * obj0 = 0 ;
18944 char *kwnames[] = {
18945 (char *) "self", NULL
18946 };
18947
18948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
18949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 result = ((wxDateTime const *)arg1)->FormatDate();
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 {
18958 #if wxUSE_UNICODE
18959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18960 #else
18961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18962 #endif
18963 }
18964 return resultobj;
18965 fail:
18966 return NULL;
18967 }
18968
18969
18970 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18971 PyObject *resultobj;
18972 wxDateTime *arg1 = (wxDateTime *) 0 ;
18973 wxString result;
18974 PyObject * obj0 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "self", NULL
18977 };
18978
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
18980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18981 {
18982 PyThreadState* __tstate = wxPyBeginAllowThreads();
18983 result = ((wxDateTime const *)arg1)->FormatTime();
18984
18985 wxPyEndAllowThreads(__tstate);
18986 if (PyErr_Occurred()) SWIG_fail;
18987 }
18988 {
18989 #if wxUSE_UNICODE
18990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18991 #else
18992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18993 #endif
18994 }
18995 return resultobj;
18996 fail:
18997 return NULL;
18998 }
18999
19000
19001 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxDateTime *arg1 = (wxDateTime *) 0 ;
19004 wxString result;
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self", NULL
19008 };
19009
19010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = ((wxDateTime const *)arg1)->FormatISODate();
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 #if wxUSE_UNICODE
19021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19022 #else
19023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19024 #endif
19025 }
19026 return resultobj;
19027 fail:
19028 return NULL;
19029 }
19030
19031
19032 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj;
19034 wxDateTime *arg1 = (wxDateTime *) 0 ;
19035 wxString result;
19036 PyObject * obj0 = 0 ;
19037 char *kwnames[] = {
19038 (char *) "self", NULL
19039 };
19040
19041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
19045 result = ((wxDateTime const *)arg1)->FormatISOTime();
19046
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
19050 {
19051 #if wxUSE_UNICODE
19052 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19053 #else
19054 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19055 #endif
19056 }
19057 return resultobj;
19058 fail:
19059 return NULL;
19060 }
19061
19062
19063 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19064 PyObject *obj;
19065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19066 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19067 Py_INCREF(obj);
19068 return Py_BuildValue((char *)"");
19069 }
19070 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 long arg1 ;
19073 wxTimeSpan result;
19074 char *kwnames[] = {
19075 (char *) "sec", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 result = wxTimeSpan::Seconds(arg1);
19082
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 {
19087 wxTimeSpan * resultptr;
19088 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19090 }
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 wxTimeSpan result;
19100 char *kwnames[] = {
19101 NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19105 {
19106 PyThreadState* __tstate = wxPyBeginAllowThreads();
19107 result = wxTimeSpan::Second();
19108
19109 wxPyEndAllowThreads(__tstate);
19110 if (PyErr_Occurred()) SWIG_fail;
19111 }
19112 {
19113 wxTimeSpan * resultptr;
19114 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19115 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19116 }
19117 return resultobj;
19118 fail:
19119 return NULL;
19120 }
19121
19122
19123 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 long arg1 ;
19126 wxTimeSpan result;
19127 char *kwnames[] = {
19128 (char *) "min", NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 result = wxTimeSpan::Minutes(arg1);
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 {
19140 wxTimeSpan * resultptr;
19141 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19142 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19143 }
19144 return resultobj;
19145 fail:
19146 return NULL;
19147 }
19148
19149
19150 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxTimeSpan result;
19153 char *kwnames[] = {
19154 NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 result = wxTimeSpan::Minute();
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 {
19166 wxTimeSpan * resultptr;
19167 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19168 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19169 }
19170 return resultobj;
19171 fail:
19172 return NULL;
19173 }
19174
19175
19176 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj;
19178 long arg1 ;
19179 wxTimeSpan result;
19180 char *kwnames[] = {
19181 (char *) "hours", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 result = wxTimeSpan::Hours(arg1);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 {
19193 wxTimeSpan * resultptr;
19194 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19195 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19196 }
19197 return resultobj;
19198 fail:
19199 return NULL;
19200 }
19201
19202
19203 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxTimeSpan result;
19206 char *kwnames[] = {
19207 NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 result = wxTimeSpan::Hour();
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 {
19219 wxTimeSpan * resultptr;
19220 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19221 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19222 }
19223 return resultobj;
19224 fail:
19225 return NULL;
19226 }
19227
19228
19229 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19230 PyObject *resultobj;
19231 long arg1 ;
19232 wxTimeSpan result;
19233 char *kwnames[] = {
19234 (char *) "days", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19238 {
19239 PyThreadState* __tstate = wxPyBeginAllowThreads();
19240 result = wxTimeSpan::Days(arg1);
19241
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 {
19246 wxTimeSpan * resultptr;
19247 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19248 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19249 }
19250 return resultobj;
19251 fail:
19252 return NULL;
19253 }
19254
19255
19256 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxTimeSpan result;
19259 char *kwnames[] = {
19260 NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 result = wxTimeSpan::Day();
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 {
19272 wxTimeSpan * resultptr;
19273 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19274 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19275 }
19276 return resultobj;
19277 fail:
19278 return NULL;
19279 }
19280
19281
19282 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj;
19284 long arg1 ;
19285 wxTimeSpan result;
19286 char *kwnames[] = {
19287 (char *) "days", NULL
19288 };
19289
19290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 result = wxTimeSpan::Weeks(arg1);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 {
19299 wxTimeSpan * resultptr;
19300 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19301 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19302 }
19303 return resultobj;
19304 fail:
19305 return NULL;
19306 }
19307
19308
19309 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxTimeSpan result;
19312 char *kwnames[] = {
19313 NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = wxTimeSpan::Week();
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 wxTimeSpan * resultptr;
19326 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19327 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19328 }
19329 return resultobj;
19330 fail:
19331 return NULL;
19332 }
19333
19334
19335 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj;
19337 long arg1 = (long) 0 ;
19338 long arg2 = (long) 0 ;
19339 long arg3 = (long) 0 ;
19340 long arg4 = (long) 0 ;
19341 wxTimeSpan *result;
19342 char *kwnames[] = {
19343 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19355 return resultobj;
19356 fail:
19357 return NULL;
19358 }
19359
19360
19361 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19362 PyObject *resultobj;
19363 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19364 PyObject * obj0 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 delete arg1;
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 Py_INCREF(Py_None); resultobj = Py_None;
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19388 wxTimeSpan *arg2 = 0 ;
19389 wxTimeSpan *result;
19390 PyObject * obj0 = 0 ;
19391 PyObject * obj1 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self",(char *) "diff", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19398 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19399 if (arg2 == NULL) {
19400 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19401 }
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 {
19405 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19406 result = (wxTimeSpan *) &_result_ref;
19407 }
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19413 return resultobj;
19414 fail:
19415 return NULL;
19416 }
19417
19418
19419 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19422 wxTimeSpan *arg2 = 0 ;
19423 wxTimeSpan *result;
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self",(char *) "diff", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19433 if (arg2 == NULL) {
19434 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19435 }
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 {
19439 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19440 result = (wxTimeSpan *) &_result_ref;
19441 }
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19447 return resultobj;
19448 fail:
19449 return NULL;
19450 }
19451
19452
19453 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19454 PyObject *resultobj;
19455 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19456 int arg2 ;
19457 wxTimeSpan *result;
19458 PyObject * obj0 = 0 ;
19459 char *kwnames[] = {
19460 (char *) "self",(char *) "n", NULL
19461 };
19462
19463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19465 {
19466 PyThreadState* __tstate = wxPyBeginAllowThreads();
19467 {
19468 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19469 result = (wxTimeSpan *) &_result_ref;
19470 }
19471
19472 wxPyEndAllowThreads(__tstate);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 }
19475 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19476 return resultobj;
19477 fail:
19478 return NULL;
19479 }
19480
19481
19482 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19483 PyObject *resultobj;
19484 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19485 wxTimeSpan *result;
19486 PyObject * obj0 = 0 ;
19487 char *kwnames[] = {
19488 (char *) "self", NULL
19489 };
19490
19491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 {
19496 wxTimeSpan &_result_ref = (arg1)->Neg();
19497 result = (wxTimeSpan *) &_result_ref;
19498 }
19499
19500 wxPyEndAllowThreads(__tstate);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19504 return resultobj;
19505 fail:
19506 return NULL;
19507 }
19508
19509
19510 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19513 wxTimeSpan result;
19514 PyObject * obj0 = 0 ;
19515 char *kwnames[] = {
19516 (char *) "self", NULL
19517 };
19518
19519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = ((wxTimeSpan const *)arg1)->Abs();
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 {
19529 wxTimeSpan * resultptr;
19530 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19531 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19532 }
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19542 wxTimeSpan *arg2 = 0 ;
19543 wxTimeSpan *result;
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj1 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self",(char *) "diff", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19553 if (arg2 == NULL) {
19554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19555 }
19556 {
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 {
19559 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19560 result = (wxTimeSpan *) &_result_ref;
19561 }
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19567 return resultobj;
19568 fail:
19569 return NULL;
19570 }
19571
19572
19573 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19576 wxTimeSpan *arg2 = 0 ;
19577 wxTimeSpan *result;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "diff", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 if (arg2 == NULL) {
19588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19589 }
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 {
19593 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19594 result = (wxTimeSpan *) &_result_ref;
19595 }
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19610 int arg2 ;
19611 wxTimeSpan *result;
19612 PyObject * obj0 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self",(char *) "n", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 {
19622 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19623 result = (wxTimeSpan *) &_result_ref;
19624 }
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19639 wxTimeSpan *result;
19640 PyObject * obj0 = 0 ;
19641 char *kwnames[] = {
19642 (char *) "self", NULL
19643 };
19644
19645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 {
19650 wxTimeSpan &_result_ref = (arg1)->operator -();
19651 result = (wxTimeSpan *) &_result_ref;
19652 }
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19667 wxTimeSpan *arg2 = 0 ;
19668 wxTimeSpan result;
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj1 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "other", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19678 if (arg2 == NULL) {
19679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19680 }
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 {
19689 wxTimeSpan * resultptr;
19690 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19691 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19692 }
19693 return resultobj;
19694 fail:
19695 return NULL;
19696 }
19697
19698
19699 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19700 PyObject *resultobj;
19701 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19702 wxTimeSpan *arg2 = 0 ;
19703 wxTimeSpan result;
19704 PyObject * obj0 = 0 ;
19705 PyObject * obj1 = 0 ;
19706 char *kwnames[] = {
19707 (char *) "self",(char *) "other", NULL
19708 };
19709
19710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19713 if (arg2 == NULL) {
19714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19715 }
19716 {
19717 PyThreadState* __tstate = wxPyBeginAllowThreads();
19718 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19719
19720 wxPyEndAllowThreads(__tstate);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 }
19723 {
19724 wxTimeSpan * resultptr;
19725 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19726 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19727 }
19728 return resultobj;
19729 fail:
19730 return NULL;
19731 }
19732
19733
19734 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19737 int arg2 ;
19738 wxTimeSpan result;
19739 PyObject * obj0 = 0 ;
19740 char *kwnames[] = {
19741 (char *) "self",(char *) "n", NULL
19742 };
19743
19744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 result = wxTimeSpan___mul__(arg1,arg2);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 {
19754 wxTimeSpan * resultptr;
19755 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19757 }
19758 return resultobj;
19759 fail:
19760 return NULL;
19761 }
19762
19763
19764 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj;
19766 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19767 int arg2 ;
19768 wxTimeSpan result;
19769 PyObject * obj0 = 0 ;
19770 char *kwnames[] = {
19771 (char *) "self",(char *) "n", NULL
19772 };
19773
19774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = wxTimeSpan___rmul__(arg1,arg2);
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 {
19784 wxTimeSpan * resultptr;
19785 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19786 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19787 }
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19797 wxTimeSpan *arg2 = 0 ;
19798 bool result;
19799 PyObject * obj0 = 0 ;
19800 PyObject * obj1 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self",(char *) "other", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19808 if (arg2 == NULL) {
19809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19810 }
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19814
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 resultobj = PyInt_FromLong((long)result);
19819 return resultobj;
19820 fail:
19821 return NULL;
19822 }
19823
19824
19825 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19826 PyObject *resultobj;
19827 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19828 wxTimeSpan *arg2 = 0 ;
19829 bool result;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self",(char *) "other", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19839 if (arg2 == NULL) {
19840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19841 }
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 resultobj = PyInt_FromLong((long)result);
19850 return resultobj;
19851 fail:
19852 return NULL;
19853 }
19854
19855
19856 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19859 wxTimeSpan *arg2 = 0 ;
19860 bool result;
19861 PyObject * obj0 = 0 ;
19862 PyObject * obj1 = 0 ;
19863 char *kwnames[] = {
19864 (char *) "self",(char *) "other", NULL
19865 };
19866
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19870 if (arg2 == NULL) {
19871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19872 }
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 resultobj = PyInt_FromLong((long)result);
19881 return resultobj;
19882 fail:
19883 return NULL;
19884 }
19885
19886
19887 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj;
19889 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19890 wxTimeSpan *arg2 = 0 ;
19891 bool result;
19892 PyObject * obj0 = 0 ;
19893 PyObject * obj1 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self",(char *) "other", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
19899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19901 if (arg2 == NULL) {
19902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19903 }
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 resultobj = PyInt_FromLong((long)result);
19912 return resultobj;
19913 fail:
19914 return NULL;
19915 }
19916
19917
19918 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19921 wxTimeSpan *arg2 = 0 ;
19922 bool result;
19923 PyObject * obj0 = 0 ;
19924 PyObject * obj1 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "other", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19932 if (arg2 == NULL) {
19933 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19934 }
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 resultobj = PyInt_FromLong((long)result);
19943 return resultobj;
19944 fail:
19945 return NULL;
19946 }
19947
19948
19949 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj;
19951 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19952 wxTimeSpan *arg2 = 0 ;
19953 bool result;
19954 PyObject * obj0 = 0 ;
19955 PyObject * obj1 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self",(char *) "other", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19963 if (arg2 == NULL) {
19964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19965 }
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 resultobj = PyInt_FromLong((long)result);
19974 return resultobj;
19975 fail:
19976 return NULL;
19977 }
19978
19979
19980 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19983 bool result;
19984 PyObject * obj0 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
19990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 resultobj = PyInt_FromLong((long)result);
19999 return resultobj;
20000 fail:
20001 return NULL;
20002 }
20003
20004
20005 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj;
20007 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20008 bool result;
20009 PyObject * obj0 = 0 ;
20010 char *kwnames[] = {
20011 (char *) "self", NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20016 {
20017 PyThreadState* __tstate = wxPyBeginAllowThreads();
20018 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20019
20020 wxPyEndAllowThreads(__tstate);
20021 if (PyErr_Occurred()) SWIG_fail;
20022 }
20023 resultobj = PyInt_FromLong((long)result);
20024 return resultobj;
20025 fail:
20026 return NULL;
20027 }
20028
20029
20030 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20031 PyObject *resultobj;
20032 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20033 bool result;
20034 PyObject * obj0 = 0 ;
20035 char *kwnames[] = {
20036 (char *) "self", NULL
20037 };
20038
20039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20041 {
20042 PyThreadState* __tstate = wxPyBeginAllowThreads();
20043 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20044
20045 wxPyEndAllowThreads(__tstate);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 }
20048 resultobj = PyInt_FromLong((long)result);
20049 return resultobj;
20050 fail:
20051 return NULL;
20052 }
20053
20054
20055 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20056 PyObject *resultobj;
20057 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20058 wxTimeSpan *arg2 = 0 ;
20059 bool result;
20060 PyObject * obj0 = 0 ;
20061 PyObject * obj1 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self",(char *) "ts", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20069 if (arg2 == NULL) {
20070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20071 }
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 resultobj = PyInt_FromLong((long)result);
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20089 wxTimeSpan *arg2 = 0 ;
20090 bool result;
20091 PyObject * obj0 = 0 ;
20092 PyObject * obj1 = 0 ;
20093 char *kwnames[] = {
20094 (char *) "self",(char *) "ts", NULL
20095 };
20096
20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20099 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20100 if (arg2 == NULL) {
20101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20102 }
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20106
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
20110 resultobj = PyInt_FromLong((long)result);
20111 return resultobj;
20112 fail:
20113 return NULL;
20114 }
20115
20116
20117 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj;
20119 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20120 wxTimeSpan *arg2 = 0 ;
20121 bool result;
20122 PyObject * obj0 = 0 ;
20123 PyObject * obj1 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self",(char *) "t", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20131 if (arg2 == NULL) {
20132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20133 }
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 resultobj = PyInt_FromLong((long)result);
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20151 int result;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 resultobj = PyInt_FromLong((long)result);
20167 return resultobj;
20168 fail:
20169 return NULL;
20170 }
20171
20172
20173 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj;
20175 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20176 int result;
20177 PyObject * obj0 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 resultobj = PyInt_FromLong((long)result);
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20201 int result;
20202 PyObject * obj0 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 resultobj = PyInt_FromLong((long)result);
20217 return resultobj;
20218 fail:
20219 return NULL;
20220 }
20221
20222
20223 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20224 PyObject *resultobj;
20225 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20226 int result;
20227 PyObject * obj0 = 0 ;
20228 char *kwnames[] = {
20229 (char *) "self", NULL
20230 };
20231
20232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 resultobj = PyInt_FromLong((long)result);
20242 return resultobj;
20243 fail:
20244 return NULL;
20245 }
20246
20247
20248 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20249 PyObject *resultobj;
20250 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20251 wxLongLong result;
20252 PyObject * obj0 = 0 ;
20253 char *kwnames[] = {
20254 (char *) "self", NULL
20255 };
20256
20257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20259 {
20260 PyThreadState* __tstate = wxPyBeginAllowThreads();
20261 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20262
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 {
20267 PyObject *hi, *lo, *shifter, *shifted;
20268 hi = PyLong_FromLong( (&result)->GetHi() );
20269 lo = PyLong_FromLong( (&result)->GetLo() );
20270 shifter = PyLong_FromLong(32);
20271 shifted = PyNumber_Lshift(hi, shifter);
20272 resultobj = PyNumber_Or(shifted, lo);
20273 Py_DECREF(hi);
20274 Py_DECREF(lo);
20275 Py_DECREF(shifter);
20276 Py_DECREF(shifted);
20277 }
20278 return resultobj;
20279 fail:
20280 return NULL;
20281 }
20282
20283
20284 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20285 PyObject *resultobj;
20286 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20287 wxLongLong result;
20288 PyObject * obj0 = 0 ;
20289 char *kwnames[] = {
20290 (char *) "self", NULL
20291 };
20292
20293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20298
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 {
20303 PyObject *hi, *lo, *shifter, *shifted;
20304 hi = PyLong_FromLong( (&result)->GetHi() );
20305 lo = PyLong_FromLong( (&result)->GetLo() );
20306 shifter = PyLong_FromLong(32);
20307 shifted = PyNumber_Lshift(hi, shifter);
20308 resultobj = PyNumber_Or(shifted, lo);
20309 Py_DECREF(hi);
20310 Py_DECREF(lo);
20311 Py_DECREF(shifter);
20312 Py_DECREF(shifted);
20313 }
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20323 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20324 wxString *arg2 = (wxString *) &arg2_defvalue ;
20325 wxString result;
20326 bool temp2 = False ;
20327 PyObject * obj0 = 0 ;
20328 PyObject * obj1 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self",(char *) "format", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20335 if (obj1) {
20336 {
20337 arg2 = wxString_in_helper(obj1);
20338 if (arg2 == NULL) SWIG_fail;
20339 temp2 = True;
20340 }
20341 }
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20345
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 {
20350 #if wxUSE_UNICODE
20351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20352 #else
20353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20354 #endif
20355 }
20356 {
20357 if (temp2)
20358 delete arg2;
20359 }
20360 return resultobj;
20361 fail:
20362 {
20363 if (temp2)
20364 delete arg2;
20365 }
20366 return NULL;
20367 }
20368
20369
20370 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20371 PyObject *obj;
20372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20373 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20374 Py_INCREF(obj);
20375 return Py_BuildValue((char *)"");
20376 }
20377 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj;
20379 int arg1 = (int) 0 ;
20380 int arg2 = (int) 0 ;
20381 int arg3 = (int) 0 ;
20382 int arg4 = (int) 0 ;
20383 wxDateSpan *result;
20384 char *kwnames[] = {
20385 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20386 };
20387
20388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj;
20405 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20406 PyObject * obj0 = 0 ;
20407 char *kwnames[] = {
20408 (char *) "self", NULL
20409 };
20410
20411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 delete arg1;
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 Py_INCREF(Py_None); resultobj = Py_None;
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj;
20429 int arg1 ;
20430 wxDateSpan result;
20431 char *kwnames[] = {
20432 (char *) "days", NULL
20433 };
20434
20435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 result = wxDateSpan::Days(arg1);
20439
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 {
20444 wxDateSpan * resultptr;
20445 resultptr = new wxDateSpan((wxDateSpan &) result);
20446 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20447 }
20448 return resultobj;
20449 fail:
20450 return NULL;
20451 }
20452
20453
20454 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20455 PyObject *resultobj;
20456 wxDateSpan result;
20457 char *kwnames[] = {
20458 NULL
20459 };
20460
20461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 result = wxDateSpan::Day();
20465
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 {
20470 wxDateSpan * resultptr;
20471 resultptr = new wxDateSpan((wxDateSpan &) result);
20472 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20473 }
20474 return resultobj;
20475 fail:
20476 return NULL;
20477 }
20478
20479
20480 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20481 PyObject *resultobj;
20482 int arg1 ;
20483 wxDateSpan result;
20484 char *kwnames[] = {
20485 (char *) "weeks", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 result = wxDateSpan::Weeks(arg1);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 {
20497 wxDateSpan * resultptr;
20498 resultptr = new wxDateSpan((wxDateSpan &) result);
20499 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20500 }
20501 return resultobj;
20502 fail:
20503 return NULL;
20504 }
20505
20506
20507 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj;
20509 wxDateSpan result;
20510 char *kwnames[] = {
20511 NULL
20512 };
20513
20514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = wxDateSpan::Week();
20518
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 {
20523 wxDateSpan * resultptr;
20524 resultptr = new wxDateSpan((wxDateSpan &) result);
20525 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20526 }
20527 return resultobj;
20528 fail:
20529 return NULL;
20530 }
20531
20532
20533 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20534 PyObject *resultobj;
20535 int arg1 ;
20536 wxDateSpan result;
20537 char *kwnames[] = {
20538 (char *) "mon", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20542 {
20543 PyThreadState* __tstate = wxPyBeginAllowThreads();
20544 result = wxDateSpan::Months(arg1);
20545
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 {
20550 wxDateSpan * resultptr;
20551 resultptr = new wxDateSpan((wxDateSpan &) result);
20552 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20553 }
20554 return resultobj;
20555 fail:
20556 return NULL;
20557 }
20558
20559
20560 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20561 PyObject *resultobj;
20562 wxDateSpan result;
20563 char *kwnames[] = {
20564 NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 result = wxDateSpan::Month();
20571
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 {
20576 wxDateSpan * resultptr;
20577 resultptr = new wxDateSpan((wxDateSpan &) result);
20578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20579 }
20580 return resultobj;
20581 fail:
20582 return NULL;
20583 }
20584
20585
20586 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20587 PyObject *resultobj;
20588 int arg1 ;
20589 wxDateSpan result;
20590 char *kwnames[] = {
20591 (char *) "years", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = wxDateSpan::Years(arg1);
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 {
20603 wxDateSpan * resultptr;
20604 resultptr = new wxDateSpan((wxDateSpan &) result);
20605 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20606 }
20607 return resultobj;
20608 fail:
20609 return NULL;
20610 }
20611
20612
20613 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxDateSpan result;
20616 char *kwnames[] = {
20617 NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 result = wxDateSpan::Year();
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 {
20629 wxDateSpan * resultptr;
20630 resultptr = new wxDateSpan((wxDateSpan &) result);
20631 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20632 }
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20642 int arg2 ;
20643 wxDateSpan *result;
20644 PyObject * obj0 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "self",(char *) "n", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 {
20654 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20655 result = (wxDateSpan *) &_result_ref;
20656 }
20657
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20662 return resultobj;
20663 fail:
20664 return NULL;
20665 }
20666
20667
20668 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20669 PyObject *resultobj;
20670 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20671 int arg2 ;
20672 wxDateSpan *result;
20673 PyObject * obj0 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self",(char *) "n", NULL
20676 };
20677
20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 {
20683 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20684 result = (wxDateSpan *) &_result_ref;
20685 }
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20691 return resultobj;
20692 fail:
20693 return NULL;
20694 }
20695
20696
20697 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20698 PyObject *resultobj;
20699 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20700 int arg2 ;
20701 wxDateSpan *result;
20702 PyObject * obj0 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self",(char *) "n", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 {
20712 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20713 result = (wxDateSpan *) &_result_ref;
20714 }
20715
20716 wxPyEndAllowThreads(__tstate);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 }
20719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20729 int arg2 ;
20730 wxDateSpan *result;
20731 PyObject * obj0 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self",(char *) "n", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20738 {
20739 PyThreadState* __tstate = wxPyBeginAllowThreads();
20740 {
20741 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20742 result = (wxDateSpan *) &_result_ref;
20743 }
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj;
20757 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20758 int result;
20759 PyObject * obj0 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 result = (int)((wxDateSpan const *)arg1)->GetYears();
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 resultobj = PyInt_FromLong((long)result);
20774 return resultobj;
20775 fail:
20776 return NULL;
20777 }
20778
20779
20780 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20783 int result;
20784 PyObject * obj0 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20791 {
20792 PyThreadState* __tstate = wxPyBeginAllowThreads();
20793 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20794
20795 wxPyEndAllowThreads(__tstate);
20796 if (PyErr_Occurred()) SWIG_fail;
20797 }
20798 resultobj = PyInt_FromLong((long)result);
20799 return resultobj;
20800 fail:
20801 return NULL;
20802 }
20803
20804
20805 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20806 PyObject *resultobj;
20807 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20808 int result;
20809 PyObject * obj0 = 0 ;
20810 char *kwnames[] = {
20811 (char *) "self", NULL
20812 };
20813
20814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 resultobj = PyInt_FromLong((long)result);
20824 return resultobj;
20825 fail:
20826 return NULL;
20827 }
20828
20829
20830 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20833 int result;
20834 PyObject * obj0 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (int)((wxDateSpan const *)arg1)->GetDays();
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 resultobj = PyInt_FromLong((long)result);
20849 return resultobj;
20850 fail:
20851 return NULL;
20852 }
20853
20854
20855 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20856 PyObject *resultobj;
20857 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20858 int result;
20859 PyObject * obj0 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 resultobj = PyInt_FromLong((long)result);
20874 return resultobj;
20875 fail:
20876 return NULL;
20877 }
20878
20879
20880 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20881 PyObject *resultobj;
20882 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20883 wxDateSpan *arg2 = 0 ;
20884 wxDateSpan *result;
20885 PyObject * obj0 = 0 ;
20886 PyObject * obj1 = 0 ;
20887 char *kwnames[] = {
20888 (char *) "self",(char *) "other", NULL
20889 };
20890
20891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20894 if (arg2 == NULL) {
20895 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20896 }
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 {
20900 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20901 result = (wxDateSpan *) &_result_ref;
20902 }
20903
20904 wxPyEndAllowThreads(__tstate);
20905 if (PyErr_Occurred()) SWIG_fail;
20906 }
20907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20908 return resultobj;
20909 fail:
20910 return NULL;
20911 }
20912
20913
20914 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20915 PyObject *resultobj;
20916 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20917 wxDateSpan *arg2 = 0 ;
20918 wxDateSpan *result;
20919 PyObject * obj0 = 0 ;
20920 PyObject * obj1 = 0 ;
20921 char *kwnames[] = {
20922 (char *) "self",(char *) "other", NULL
20923 };
20924
20925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
20926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20928 if (arg2 == NULL) {
20929 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20930 }
20931 {
20932 PyThreadState* __tstate = wxPyBeginAllowThreads();
20933 {
20934 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20935 result = (wxDateSpan *) &_result_ref;
20936 }
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20951 wxDateSpan *result;
20952 PyObject * obj0 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
20958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20959 {
20960 PyThreadState* __tstate = wxPyBeginAllowThreads();
20961 {
20962 wxDateSpan &_result_ref = (arg1)->Neg();
20963 result = (wxDateSpan *) &_result_ref;
20964 }
20965
20966 wxPyEndAllowThreads(__tstate);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 }
20969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20970 return resultobj;
20971 fail:
20972 return NULL;
20973 }
20974
20975
20976 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
20977 PyObject *resultobj;
20978 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20979 int arg2 ;
20980 wxDateSpan *result;
20981 PyObject * obj0 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "self",(char *) "factor", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 {
20991 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
20992 result = (wxDateSpan *) &_result_ref;
20993 }
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20999 return resultobj;
21000 fail:
21001 return NULL;
21002 }
21003
21004
21005 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21006 PyObject *resultobj;
21007 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21008 wxDateSpan *arg2 = 0 ;
21009 wxDateSpan *result;
21010 PyObject * obj0 = 0 ;
21011 PyObject * obj1 = 0 ;
21012 char *kwnames[] = {
21013 (char *) "self",(char *) "other", NULL
21014 };
21015
21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21019 if (arg2 == NULL) {
21020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21021 }
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 {
21025 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21026 result = (wxDateSpan *) &_result_ref;
21027 }
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21033 return resultobj;
21034 fail:
21035 return NULL;
21036 }
21037
21038
21039 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj;
21041 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21042 wxDateSpan *arg2 = 0 ;
21043 wxDateSpan *result;
21044 PyObject * obj0 = 0 ;
21045 PyObject * obj1 = 0 ;
21046 char *kwnames[] = {
21047 (char *) "self",(char *) "other", NULL
21048 };
21049
21050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21053 if (arg2 == NULL) {
21054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21055 }
21056 {
21057 PyThreadState* __tstate = wxPyBeginAllowThreads();
21058 {
21059 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21060 result = (wxDateSpan *) &_result_ref;
21061 }
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21067 return resultobj;
21068 fail:
21069 return NULL;
21070 }
21071
21072
21073 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj;
21075 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21076 wxDateSpan *result;
21077 PyObject * obj0 = 0 ;
21078 char *kwnames[] = {
21079 (char *) "self", NULL
21080 };
21081
21082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
21086 {
21087 wxDateSpan &_result_ref = (arg1)->operator -();
21088 result = (wxDateSpan *) &_result_ref;
21089 }
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21095 return resultobj;
21096 fail:
21097 return NULL;
21098 }
21099
21100
21101 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21102 PyObject *resultobj;
21103 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21104 int arg2 ;
21105 wxDateSpan *result;
21106 PyObject * obj0 = 0 ;
21107 char *kwnames[] = {
21108 (char *) "self",(char *) "factor", NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21113 {
21114 PyThreadState* __tstate = wxPyBeginAllowThreads();
21115 {
21116 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21117 result = (wxDateSpan *) &_result_ref;
21118 }
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21124 return resultobj;
21125 fail:
21126 return NULL;
21127 }
21128
21129
21130 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21131 PyObject *resultobj;
21132 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21133 wxDateSpan *arg2 = 0 ;
21134 wxDateSpan result;
21135 PyObject * obj0 = 0 ;
21136 PyObject * obj1 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "self",(char *) "other", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21144 if (arg2 == NULL) {
21145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21146 }
21147 {
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 {
21155 wxDateSpan * resultptr;
21156 resultptr = new wxDateSpan((wxDateSpan &) result);
21157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21158 }
21159 return resultobj;
21160 fail:
21161 return NULL;
21162 }
21163
21164
21165 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21166 PyObject *resultobj;
21167 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21168 wxDateSpan *arg2 = 0 ;
21169 wxDateSpan result;
21170 PyObject * obj0 = 0 ;
21171 PyObject * obj1 = 0 ;
21172 char *kwnames[] = {
21173 (char *) "self",(char *) "other", NULL
21174 };
21175
21176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21179 if (arg2 == NULL) {
21180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21181 }
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 {
21190 wxDateSpan * resultptr;
21191 resultptr = new wxDateSpan((wxDateSpan &) result);
21192 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21193 }
21194 return resultobj;
21195 fail:
21196 return NULL;
21197 }
21198
21199
21200 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21201 PyObject *resultobj;
21202 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21203 int arg2 ;
21204 wxDateSpan result;
21205 PyObject * obj0 = 0 ;
21206 char *kwnames[] = {
21207 (char *) "self",(char *) "n", NULL
21208 };
21209
21210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21212 {
21213 PyThreadState* __tstate = wxPyBeginAllowThreads();
21214 result = wxDateSpan___mul__(arg1,arg2);
21215
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 {
21220 wxDateSpan * resultptr;
21221 resultptr = new wxDateSpan((wxDateSpan &) result);
21222 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21223 }
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21233 int arg2 ;
21234 wxDateSpan result;
21235 PyObject * obj0 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self",(char *) "n", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 result = wxDateSpan___rmul__(arg1,arg2);
21245
21246 wxPyEndAllowThreads(__tstate);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 {
21250 wxDateSpan * resultptr;
21251 resultptr = new wxDateSpan((wxDateSpan &) result);
21252 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21253 }
21254 return resultobj;
21255 fail:
21256 return NULL;
21257 }
21258
21259
21260 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21261 PyObject *resultobj;
21262 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21263 wxDateSpan *arg2 = 0 ;
21264 bool result;
21265 PyObject * obj0 = 0 ;
21266 PyObject * obj1 = 0 ;
21267 char *kwnames[] = {
21268 (char *) "self",(char *) "other", NULL
21269 };
21270
21271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21274 if (arg2 == NULL) {
21275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21276 }
21277 {
21278 PyThreadState* __tstate = wxPyBeginAllowThreads();
21279 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21280
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 resultobj = PyInt_FromLong((long)result);
21285 return resultobj;
21286 fail:
21287 return NULL;
21288 }
21289
21290
21291 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21292 PyObject *resultobj;
21293 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21294 wxDateSpan *arg2 = 0 ;
21295 bool result;
21296 PyObject * obj0 = 0 ;
21297 PyObject * obj1 = 0 ;
21298 char *kwnames[] = {
21299 (char *) "self",(char *) "other", NULL
21300 };
21301
21302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21305 if (arg2 == NULL) {
21306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21307 }
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 resultobj = PyInt_FromLong((long)result);
21316 return resultobj;
21317 fail:
21318 return NULL;
21319 }
21320
21321
21322 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21323 PyObject *obj;
21324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21325 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21326 Py_INCREF(obj);
21327 return Py_BuildValue((char *)"");
21328 }
21329 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21330 PyObject *resultobj;
21331 long result;
21332 char *kwnames[] = {
21333 NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 result = (long)wxGetLocalTime();
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 resultobj = PyInt_FromLong((long)result);
21345 return resultobj;
21346 fail:
21347 return NULL;
21348 }
21349
21350
21351 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21352 PyObject *resultobj;
21353 long result;
21354 char *kwnames[] = {
21355 NULL
21356 };
21357
21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 result = (long)wxGetUTCTime();
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 resultobj = PyInt_FromLong((long)result);
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 long result;
21376 char *kwnames[] = {
21377 NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 result = (long)wxGetCurrentTime();
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 resultobj = PyInt_FromLong((long)result);
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxLongLong result;
21398 char *kwnames[] = {
21399 NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 result = wxGetLocalTimeMillis();
21406
21407 wxPyEndAllowThreads(__tstate);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 }
21410 {
21411 PyObject *hi, *lo, *shifter, *shifted;
21412 hi = PyLong_FromLong( (&result)->GetHi() );
21413 lo = PyLong_FromLong( (&result)->GetLo() );
21414 shifter = PyLong_FromLong(32);
21415 shifted = PyNumber_Lshift(hi, shifter);
21416 resultobj = PyNumber_Or(shifted, lo);
21417 Py_DECREF(hi);
21418 Py_DECREF(lo);
21419 Py_DECREF(shifter);
21420 Py_DECREF(shifted);
21421 }
21422 return resultobj;
21423 fail:
21424 return NULL;
21425 }
21426
21427
21428 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21429 PyObject *resultobj;
21430 int arg1 ;
21431 wxDataFormat *result;
21432 char *kwnames[] = {
21433 (char *) "type", NULL
21434 };
21435
21436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21445 return resultobj;
21446 fail:
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxString *arg1 = 0 ;
21454 wxDataFormat *result;
21455 bool temp1 = False ;
21456 PyObject * obj0 = 0 ;
21457 char *kwnames[] = {
21458 (char *) "format", NULL
21459 };
21460
21461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21462 {
21463 arg1 = wxString_in_helper(obj0);
21464 if (arg1 == NULL) SWIG_fail;
21465 temp1 = True;
21466 }
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21470
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21475 {
21476 if (temp1)
21477 delete arg1;
21478 }
21479 return resultobj;
21480 fail:
21481 {
21482 if (temp1)
21483 delete arg1;
21484 }
21485 return NULL;
21486 }
21487
21488
21489 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21490 PyObject *resultobj;
21491 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21492 PyObject * obj0 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "self", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 delete arg1;
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 Py_INCREF(Py_None); resultobj = Py_None;
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21514 PyObject *resultobj;
21515 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21516 int arg2 ;
21517 bool result;
21518 PyObject * obj0 = 0 ;
21519
21520 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21522 {
21523 PyThreadState* __tstate = wxPyBeginAllowThreads();
21524 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21525
21526 wxPyEndAllowThreads(__tstate);
21527 if (PyErr_Occurred()) SWIG_fail;
21528 }
21529 resultobj = PyInt_FromLong((long)result);
21530 return resultobj;
21531 fail:
21532 return NULL;
21533 }
21534
21535
21536 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21537 PyObject *resultobj;
21538 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21539 int arg2 ;
21540 bool result;
21541 PyObject * obj0 = 0 ;
21542
21543 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21545 {
21546 PyThreadState* __tstate = wxPyBeginAllowThreads();
21547 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21548
21549 wxPyEndAllowThreads(__tstate);
21550 if (PyErr_Occurred()) SWIG_fail;
21551 }
21552 resultobj = PyInt_FromLong((long)result);
21553 return resultobj;
21554 fail:
21555 return NULL;
21556 }
21557
21558
21559 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21560 PyObject *resultobj;
21561 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21562 wxDataFormat *arg2 = 0 ;
21563 bool result;
21564 PyObject * obj0 = 0 ;
21565 PyObject * obj1 = 0 ;
21566
21567 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21570 if (arg2 == NULL) {
21571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21572 }
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 resultobj = PyInt_FromLong((long)result);
21581 return resultobj;
21582 fail:
21583 return NULL;
21584 }
21585
21586
21587 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21588 int argc;
21589 PyObject *argv[3];
21590 int ii;
21591
21592 argc = PyObject_Length(args);
21593 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21594 argv[ii] = PyTuple_GetItem(args,ii);
21595 }
21596 if (argc == 2) {
21597 int _v;
21598 {
21599 void *ptr;
21600 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21601 _v = 0;
21602 PyErr_Clear();
21603 } else {
21604 _v = 1;
21605 }
21606 }
21607 if (_v) {
21608 {
21609 void *ptr;
21610 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21611 _v = 0;
21612 PyErr_Clear();
21613 } else {
21614 _v = 1;
21615 }
21616 }
21617 if (_v) {
21618 return _wrap_DataFormat___eq____SWIG_1(self,args);
21619 }
21620 }
21621 }
21622 if (argc == 2) {
21623 int _v;
21624 {
21625 void *ptr;
21626 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21627 _v = 0;
21628 PyErr_Clear();
21629 } else {
21630 _v = 1;
21631 }
21632 }
21633 if (_v) {
21634 {
21635 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21636 }
21637 if (_v) {
21638 return _wrap_DataFormat___eq____SWIG_0(self,args);
21639 }
21640 }
21641 }
21642
21643 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21644 return NULL;
21645 }
21646
21647
21648 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21649 PyObject *resultobj;
21650 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21651 wxDataFormat *arg2 = 0 ;
21652 bool result;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655
21656 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21659 if (arg2 == NULL) {
21660 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21661 }
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21665
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 resultobj = PyInt_FromLong((long)result);
21670 return resultobj;
21671 fail:
21672 return NULL;
21673 }
21674
21675
21676 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21677 int argc;
21678 PyObject *argv[3];
21679 int ii;
21680
21681 argc = PyObject_Length(args);
21682 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21683 argv[ii] = PyTuple_GetItem(args,ii);
21684 }
21685 if (argc == 2) {
21686 int _v;
21687 {
21688 void *ptr;
21689 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21690 _v = 0;
21691 PyErr_Clear();
21692 } else {
21693 _v = 1;
21694 }
21695 }
21696 if (_v) {
21697 {
21698 void *ptr;
21699 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21700 _v = 0;
21701 PyErr_Clear();
21702 } else {
21703 _v = 1;
21704 }
21705 }
21706 if (_v) {
21707 return _wrap_DataFormat___ne____SWIG_1(self,args);
21708 }
21709 }
21710 }
21711 if (argc == 2) {
21712 int _v;
21713 {
21714 void *ptr;
21715 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21716 _v = 0;
21717 PyErr_Clear();
21718 } else {
21719 _v = 1;
21720 }
21721 }
21722 if (_v) {
21723 {
21724 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21725 }
21726 if (_v) {
21727 return _wrap_DataFormat___ne____SWIG_0(self,args);
21728 }
21729 }
21730 }
21731
21732 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21733 return NULL;
21734 }
21735
21736
21737 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21738 PyObject *resultobj;
21739 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21740 int arg2 ;
21741 PyObject * obj0 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self",(char *) "format", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21748 {
21749 PyThreadState* __tstate = wxPyBeginAllowThreads();
21750 (arg1)->SetType((wxDataFormatId )arg2);
21751
21752 wxPyEndAllowThreads(__tstate);
21753 if (PyErr_Occurred()) SWIG_fail;
21754 }
21755 Py_INCREF(Py_None); resultobj = Py_None;
21756 return resultobj;
21757 fail:
21758 return NULL;
21759 }
21760
21761
21762 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21763 PyObject *resultobj;
21764 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21765 int result;
21766 PyObject * obj0 = 0 ;
21767 char *kwnames[] = {
21768 (char *) "self", NULL
21769 };
21770
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 result = (int)((wxDataFormat const *)arg1)->GetType();
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 resultobj = PyInt_FromLong((long)result);
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21790 wxString result;
21791 PyObject * obj0 = 0 ;
21792 char *kwnames[] = {
21793 (char *) "self", NULL
21794 };
21795
21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 result = ((wxDataFormat const *)arg1)->GetId();
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 {
21806 #if wxUSE_UNICODE
21807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21808 #else
21809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21810 #endif
21811 }
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21821 wxString *arg2 = 0 ;
21822 bool temp2 = False ;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self",(char *) "format", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21831 {
21832 arg2 = wxString_in_helper(obj1);
21833 if (arg2 == NULL) SWIG_fail;
21834 temp2 = True;
21835 }
21836 {
21837 PyThreadState* __tstate = wxPyBeginAllowThreads();
21838 (arg1)->SetId((wxString const &)*arg2);
21839
21840 wxPyEndAllowThreads(__tstate);
21841 if (PyErr_Occurred()) SWIG_fail;
21842 }
21843 Py_INCREF(Py_None); resultobj = Py_None;
21844 {
21845 if (temp2)
21846 delete arg2;
21847 }
21848 return resultobj;
21849 fail:
21850 {
21851 if (temp2)
21852 delete arg2;
21853 }
21854 return NULL;
21855 }
21856
21857
21858 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21859 PyObject *obj;
21860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21861 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21862 Py_INCREF(obj);
21863 return Py_BuildValue((char *)"");
21864 }
21865 static int _wrap_FormatInvalid_set(PyObject *_val) {
21866 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21867 return 1;
21868 }
21869
21870
21871 static PyObject *_wrap_FormatInvalid_get() {
21872 PyObject *pyobj;
21873
21874 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21875 return pyobj;
21876 }
21877
21878
21879 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21880 PyObject *resultobj;
21881 wxDataObject *arg1 = (wxDataObject *) 0 ;
21882 PyObject * obj0 = 0 ;
21883 char *kwnames[] = {
21884 (char *) "self", NULL
21885 };
21886
21887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
21888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 delete arg1;
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 Py_INCREF(Py_None); resultobj = Py_None;
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj;
21905 wxDataObject *arg1 = (wxDataObject *) 0 ;
21906 int arg2 = (int) wxDataObject::Get ;
21907 SwigValueWrapper< wxDataFormat > result;
21908 PyObject * obj0 = 0 ;
21909 char *kwnames[] = {
21910 (char *) "self",(char *) "dir", NULL
21911 };
21912
21913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
21914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21915 {
21916 PyThreadState* __tstate = wxPyBeginAllowThreads();
21917 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
21918
21919 wxPyEndAllowThreads(__tstate);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 }
21922 {
21923 wxDataFormat * resultptr;
21924 resultptr = new wxDataFormat((wxDataFormat &) result);
21925 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
21926 }
21927 return resultobj;
21928 fail:
21929 return NULL;
21930 }
21931
21932
21933 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21934 PyObject *resultobj;
21935 wxDataObject *arg1 = (wxDataObject *) 0 ;
21936 int arg2 = (int) wxDataObject::Get ;
21937 size_t result;
21938 PyObject * obj0 = 0 ;
21939 char *kwnames[] = {
21940 (char *) "self",(char *) "dir", NULL
21941 };
21942
21943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
21944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
21948
21949 wxPyEndAllowThreads(__tstate);
21950 if (PyErr_Occurred()) SWIG_fail;
21951 }
21952 resultobj = PyInt_FromLong((long)result);
21953 return resultobj;
21954 fail:
21955 return NULL;
21956 }
21957
21958
21959 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
21960 PyObject *resultobj;
21961 wxDataObject *arg1 = (wxDataObject *) 0 ;
21962 wxDataFormat *arg2 = 0 ;
21963 int arg3 = (int) wxDataObject::Get ;
21964 bool result;
21965 PyObject * obj0 = 0 ;
21966 PyObject * obj1 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self",(char *) "format",(char *) "dir", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
21972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21974 if (arg2 == NULL) {
21975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21976 }
21977 {
21978 PyThreadState* __tstate = wxPyBeginAllowThreads();
21979 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
21980
21981 wxPyEndAllowThreads(__tstate);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 resultobj = PyInt_FromLong((long)result);
21985 return resultobj;
21986 fail:
21987 return NULL;
21988 }
21989
21990
21991 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21992 PyObject *resultobj;
21993 wxDataObject *arg1 = (wxDataObject *) 0 ;
21994 wxDataFormat *arg2 = 0 ;
21995 size_t result;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "format", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22005 if (arg2 == NULL) {
22006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22007 }
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 resultobj = PyInt_FromLong((long)result);
22016 return resultobj;
22017 fail:
22018 return NULL;
22019 }
22020
22021
22022 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj;
22024 wxDataObject *arg1 = (wxDataObject *) 0 ;
22025 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22026 int arg3 = (int) wxDataObject::Get ;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "formats",(char *) "dir", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22039
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 Py_INCREF(Py_None); resultobj = Py_None;
22044 return resultobj;
22045 fail:
22046 return NULL;
22047 }
22048
22049
22050 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj;
22052 wxDataObject *arg1 = (wxDataObject *) 0 ;
22053 wxDataFormat *arg2 = 0 ;
22054 void *arg3 = (void *) 0 ;
22055 bool result;
22056 PyObject * obj0 = 0 ;
22057 PyObject * obj1 = 0 ;
22058 PyObject * obj2 = 0 ;
22059 char *kwnames[] = {
22060 (char *) "self",(char *) "format",(char *) "buf", NULL
22061 };
22062
22063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22066 if (arg2 == NULL) {
22067 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22068 }
22069 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22073
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
22077 resultobj = PyInt_FromLong((long)result);
22078 return resultobj;
22079 fail:
22080 return NULL;
22081 }
22082
22083
22084 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22085 PyObject *resultobj;
22086 wxDataObject *arg1 = (wxDataObject *) 0 ;
22087 wxDataFormat *arg2 = 0 ;
22088 size_t arg3 ;
22089 void *arg4 = (void *) 0 ;
22090 bool result;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 PyObject * obj2 = 0 ;
22094 PyObject * obj3 = 0 ;
22095 char *kwnames[] = {
22096 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22097 };
22098
22099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22102 if (arg2 == NULL) {
22103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22104 }
22105 arg3 = (size_t) PyInt_AsLong(obj2);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22108 {
22109 PyThreadState* __tstate = wxPyBeginAllowThreads();
22110 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22111
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 resultobj = PyInt_FromLong((long)result);
22116 return resultobj;
22117 fail:
22118 return NULL;
22119 }
22120
22121
22122 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22123 PyObject *obj;
22124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22125 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22126 Py_INCREF(obj);
22127 return Py_BuildValue((char *)"");
22128 }
22129 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22132 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22133 wxDataObjectSimple *result;
22134 PyObject * obj0 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "format", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22140 if (obj0) {
22141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22142 if (arg1 == NULL) {
22143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22144 }
22145 }
22146 {
22147 PyThreadState* __tstate = wxPyBeginAllowThreads();
22148 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22154 return resultobj;
22155 fail:
22156 return NULL;
22157 }
22158
22159
22160 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj;
22162 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22163 wxDataFormat *result;
22164 PyObject * obj0 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 {
22174 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22175 result = (wxDataFormat *) &_result_ref;
22176 }
22177
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22182 return resultobj;
22183 fail:
22184 return NULL;
22185 }
22186
22187
22188 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22189 PyObject *resultobj;
22190 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22191 wxDataFormat *arg2 = 0 ;
22192 PyObject * obj0 = 0 ;
22193 PyObject * obj1 = 0 ;
22194 char *kwnames[] = {
22195 (char *) "self",(char *) "format", NULL
22196 };
22197
22198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22201 if (arg2 == NULL) {
22202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22203 }
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 Py_INCREF(Py_None); resultobj = Py_None;
22212 return resultobj;
22213 fail:
22214 return NULL;
22215 }
22216
22217
22218 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22219 PyObject *obj;
22220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22221 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22222 Py_INCREF(obj);
22223 return Py_BuildValue((char *)"");
22224 }
22225 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22226 PyObject *resultobj;
22227 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22228 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22229 wxPyDataObjectSimple *result;
22230 PyObject * obj0 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "format", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22236 if (obj0) {
22237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22238 if (arg1 == NULL) {
22239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22240 }
22241 }
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22250 return resultobj;
22251 fail:
22252 return NULL;
22253 }
22254
22255
22256 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22259 PyObject *arg2 = (PyObject *) 0 ;
22260 PyObject *arg3 = (PyObject *) 0 ;
22261 PyObject * obj0 = 0 ;
22262 PyObject * obj1 = 0 ;
22263 PyObject * obj2 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "self",(char *) "_class", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22270 arg2 = obj1;
22271 arg3 = obj2;
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 (arg1)->_setCallbackInfo(arg2,arg3);
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 Py_INCREF(Py_None); resultobj = Py_None;
22280 return resultobj;
22281 fail:
22282 return NULL;
22283 }
22284
22285
22286 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22287 PyObject *obj;
22288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22289 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22290 Py_INCREF(obj);
22291 return Py_BuildValue((char *)"");
22292 }
22293 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxDataObjectComposite *result;
22296 char *kwnames[] = {
22297 NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22304
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22309 return resultobj;
22310 fail:
22311 return NULL;
22312 }
22313
22314
22315 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22318 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22319 int arg3 = (int) False ;
22320 PyObject * obj0 = 0 ;
22321 PyObject * obj1 = 0 ;
22322 char *kwnames[] = {
22323 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22324 };
22325
22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 (arg1)->Add(arg2,arg3);
22332
22333 wxPyEndAllowThreads(__tstate);
22334 if (PyErr_Occurred()) SWIG_fail;
22335 }
22336 Py_INCREF(Py_None); resultobj = Py_None;
22337 return resultobj;
22338 fail:
22339 return NULL;
22340 }
22341
22342
22343 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22344 PyObject *obj;
22345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22346 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22347 Py_INCREF(obj);
22348 return Py_BuildValue((char *)"");
22349 }
22350 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22351 PyObject *resultobj;
22352 wxString const &arg1_defvalue = wxPyEmptyString ;
22353 wxString *arg1 = (wxString *) &arg1_defvalue ;
22354 wxTextDataObject *result;
22355 bool temp1 = False ;
22356 PyObject * obj0 = 0 ;
22357 char *kwnames[] = {
22358 (char *) "text", NULL
22359 };
22360
22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22362 if (obj0) {
22363 {
22364 arg1 = wxString_in_helper(obj0);
22365 if (arg1 == NULL) SWIG_fail;
22366 temp1 = True;
22367 }
22368 }
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
22371 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22372
22373 wxPyEndAllowThreads(__tstate);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 }
22376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22377 {
22378 if (temp1)
22379 delete arg1;
22380 }
22381 return resultobj;
22382 fail:
22383 {
22384 if (temp1)
22385 delete arg1;
22386 }
22387 return NULL;
22388 }
22389
22390
22391 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22392 PyObject *resultobj;
22393 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22394 size_t result;
22395 PyObject * obj0 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22402 {
22403 PyThreadState* __tstate = wxPyBeginAllowThreads();
22404 result = (size_t)(arg1)->GetTextLength();
22405
22406 wxPyEndAllowThreads(__tstate);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
22409 resultobj = PyInt_FromLong((long)result);
22410 return resultobj;
22411 fail:
22412 return NULL;
22413 }
22414
22415
22416 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22417 PyObject *resultobj;
22418 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22419 wxString result;
22420 PyObject * obj0 = 0 ;
22421 char *kwnames[] = {
22422 (char *) "self", NULL
22423 };
22424
22425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22427 {
22428 PyThreadState* __tstate = wxPyBeginAllowThreads();
22429 result = (arg1)->GetText();
22430
22431 wxPyEndAllowThreads(__tstate);
22432 if (PyErr_Occurred()) SWIG_fail;
22433 }
22434 {
22435 #if wxUSE_UNICODE
22436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22437 #else
22438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22439 #endif
22440 }
22441 return resultobj;
22442 fail:
22443 return NULL;
22444 }
22445
22446
22447 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj;
22449 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22450 wxString *arg2 = 0 ;
22451 bool temp2 = False ;
22452 PyObject * obj0 = 0 ;
22453 PyObject * obj1 = 0 ;
22454 char *kwnames[] = {
22455 (char *) "self",(char *) "text", NULL
22456 };
22457
22458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22460 {
22461 arg2 = wxString_in_helper(obj1);
22462 if (arg2 == NULL) SWIG_fail;
22463 temp2 = True;
22464 }
22465 {
22466 PyThreadState* __tstate = wxPyBeginAllowThreads();
22467 (arg1)->SetText((wxString const &)*arg2);
22468
22469 wxPyEndAllowThreads(__tstate);
22470 if (PyErr_Occurred()) SWIG_fail;
22471 }
22472 Py_INCREF(Py_None); resultobj = Py_None;
22473 {
22474 if (temp2)
22475 delete arg2;
22476 }
22477 return resultobj;
22478 fail:
22479 {
22480 if (temp2)
22481 delete arg2;
22482 }
22483 return NULL;
22484 }
22485
22486
22487 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22488 PyObject *obj;
22489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22490 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22491 Py_INCREF(obj);
22492 return Py_BuildValue((char *)"");
22493 }
22494 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj;
22496 wxString const &arg1_defvalue = wxPyEmptyString ;
22497 wxString *arg1 = (wxString *) &arg1_defvalue ;
22498 wxPyTextDataObject *result;
22499 bool temp1 = False ;
22500 PyObject * obj0 = 0 ;
22501 char *kwnames[] = {
22502 (char *) "text", NULL
22503 };
22504
22505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22506 if (obj0) {
22507 {
22508 arg1 = wxString_in_helper(obj0);
22509 if (arg1 == NULL) SWIG_fail;
22510 temp1 = True;
22511 }
22512 }
22513 {
22514 PyThreadState* __tstate = wxPyBeginAllowThreads();
22515 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22516
22517 wxPyEndAllowThreads(__tstate);
22518 if (PyErr_Occurred()) SWIG_fail;
22519 }
22520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22521 {
22522 if (temp1)
22523 delete arg1;
22524 }
22525 return resultobj;
22526 fail:
22527 {
22528 if (temp1)
22529 delete arg1;
22530 }
22531 return NULL;
22532 }
22533
22534
22535 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22536 PyObject *resultobj;
22537 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22538 PyObject *arg2 = (PyObject *) 0 ;
22539 PyObject *arg3 = (PyObject *) 0 ;
22540 PyObject * obj0 = 0 ;
22541 PyObject * obj1 = 0 ;
22542 PyObject * obj2 = 0 ;
22543 char *kwnames[] = {
22544 (char *) "self",(char *) "self",(char *) "_class", NULL
22545 };
22546
22547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22549 arg2 = obj1;
22550 arg3 = obj2;
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 (arg1)->_setCallbackInfo(arg2,arg3);
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 Py_INCREF(Py_None); resultobj = Py_None;
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22566 PyObject *obj;
22567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22568 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22569 Py_INCREF(obj);
22570 return Py_BuildValue((char *)"");
22571 }
22572 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22575 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22576 wxBitmapDataObject *result;
22577 PyObject * obj0 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "bitmap", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22583 if (obj0) {
22584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22585 if (arg1 == NULL) {
22586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22587 }
22588 }
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22606 wxBitmap result;
22607 PyObject * obj0 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self", NULL
22610 };
22611
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22614 {
22615 PyThreadState* __tstate = wxPyBeginAllowThreads();
22616 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22617
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 {
22622 wxBitmap * resultptr;
22623 resultptr = new wxBitmap((wxBitmap &) result);
22624 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22625 }
22626 return resultobj;
22627 fail:
22628 return NULL;
22629 }
22630
22631
22632 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22635 wxBitmap *arg2 = 0 ;
22636 PyObject * obj0 = 0 ;
22637 PyObject * obj1 = 0 ;
22638 char *kwnames[] = {
22639 (char *) "self",(char *) "bitmap", NULL
22640 };
22641
22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22645 if (arg2 == NULL) {
22646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22647 }
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 Py_INCREF(Py_None); resultobj = Py_None;
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22663 PyObject *obj;
22664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22665 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22666 Py_INCREF(obj);
22667 return Py_BuildValue((char *)"");
22668 }
22669 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22672 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22673 wxPyBitmapDataObject *result;
22674 PyObject * obj0 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "bitmap", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22680 if (obj0) {
22681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22682 if (arg1 == NULL) {
22683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22684 }
22685 }
22686 {
22687 PyThreadState* __tstate = wxPyBeginAllowThreads();
22688 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22689
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22694 return resultobj;
22695 fail:
22696 return NULL;
22697 }
22698
22699
22700 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj;
22702 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22703 PyObject *arg2 = (PyObject *) 0 ;
22704 PyObject *arg3 = (PyObject *) 0 ;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 PyObject * obj2 = 0 ;
22708 char *kwnames[] = {
22709 (char *) "self",(char *) "self",(char *) "_class", NULL
22710 };
22711
22712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22714 arg2 = obj1;
22715 arg3 = obj2;
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 (arg1)->_setCallbackInfo(arg2,arg3);
22719
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 Py_INCREF(Py_None); resultobj = Py_None;
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22731 PyObject *obj;
22732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22733 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22734 Py_INCREF(obj);
22735 return Py_BuildValue((char *)"");
22736 }
22737 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj;
22739 wxFileDataObject *result;
22740 char *kwnames[] = {
22741 NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 result = (wxFileDataObject *)new wxFileDataObject();
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22753 return resultobj;
22754 fail:
22755 return NULL;
22756 }
22757
22758
22759 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22760 PyObject *resultobj;
22761 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22762 wxArrayString *result;
22763 PyObject * obj0 = 0 ;
22764 char *kwnames[] = {
22765 (char *) "self", NULL
22766 };
22767
22768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22770 {
22771 PyThreadState* __tstate = wxPyBeginAllowThreads();
22772 {
22773 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22774 result = (wxArrayString *) &_result_ref;
22775 }
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 {
22781 resultobj = wxArrayString2PyList_helper(*result);
22782 }
22783 return resultobj;
22784 fail:
22785 return NULL;
22786 }
22787
22788
22789 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22790 PyObject *obj;
22791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22792 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22793 Py_INCREF(obj);
22794 return Py_BuildValue((char *)"");
22795 }
22796 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22797 PyObject *resultobj;
22798 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22799 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22800 wxCustomDataObject *result;
22801 PyObject * obj0 = 0 ;
22802 char *kwnames[] = {
22803 (char *) "format", NULL
22804 };
22805
22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22807 if (obj0) {
22808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22809 if (arg1 == NULL) {
22810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22811 }
22812 }
22813 {
22814 PyThreadState* __tstate = wxPyBeginAllowThreads();
22815 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22816
22817 wxPyEndAllowThreads(__tstate);
22818 if (PyErr_Occurred()) SWIG_fail;
22819 }
22820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22821 return resultobj;
22822 fail:
22823 return NULL;
22824 }
22825
22826
22827 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22828 PyObject *resultobj;
22829 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22830 PyObject *arg2 = (PyObject *) 0 ;
22831 PyObject * obj0 = 0 ;
22832 PyObject * obj1 = 0 ;
22833 char *kwnames[] = {
22834 (char *) "self",(char *) "data", NULL
22835 };
22836
22837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22839 arg2 = obj1;
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 wxCustomDataObject_TakeData(arg1,arg2);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 Py_INCREF(Py_None); resultobj = Py_None;
22848 return resultobj;
22849 fail:
22850 return NULL;
22851 }
22852
22853
22854 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22855 PyObject *resultobj;
22856 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22857 PyObject *arg2 = (PyObject *) 0 ;
22858 bool result;
22859 PyObject * obj0 = 0 ;
22860 PyObject * obj1 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self",(char *) "data", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22867 arg2 = obj1;
22868 {
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22871
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 resultobj = PyInt_FromLong((long)result);
22876 return resultobj;
22877 fail:
22878 return NULL;
22879 }
22880
22881
22882 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22883 PyObject *resultobj;
22884 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22885 size_t result;
22886 PyObject * obj0 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
22892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = (size_t)(arg1)->GetSize();
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 resultobj = PyInt_FromLong((long)result);
22901 return resultobj;
22902 fail:
22903 return NULL;
22904 }
22905
22906
22907 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj;
22909 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22910 PyObject *result;
22911 PyObject * obj0 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
22917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22918 {
22919 PyThreadState* __tstate = wxPyBeginAllowThreads();
22920 result = (PyObject *)wxCustomDataObject_GetData(arg1);
22921
22922 wxPyEndAllowThreads(__tstate);
22923 if (PyErr_Occurred()) SWIG_fail;
22924 }
22925 resultobj = result;
22926 return resultobj;
22927 fail:
22928 return NULL;
22929 }
22930
22931
22932 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
22933 PyObject *obj;
22934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22935 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
22936 Py_INCREF(obj);
22937 return Py_BuildValue((char *)"");
22938 }
22939 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22940 PyObject *resultobj;
22941 wxURLDataObject *result;
22942 char *kwnames[] = {
22943 NULL
22944 };
22945
22946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
22947 {
22948 PyThreadState* __tstate = wxPyBeginAllowThreads();
22949 result = (wxURLDataObject *)new wxURLDataObject();
22950
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
22955 return resultobj;
22956 fail:
22957 return NULL;
22958 }
22959
22960
22961 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22962 PyObject *resultobj;
22963 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22964 wxString result;
22965 PyObject * obj0 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
22971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 result = (arg1)->GetURL();
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
22979 {
22980 #if wxUSE_UNICODE
22981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22982 #else
22983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22984 #endif
22985 }
22986 return resultobj;
22987 fail:
22988 return NULL;
22989 }
22990
22991
22992 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj;
22994 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22995 wxString *arg2 = 0 ;
22996 bool temp2 = False ;
22997 PyObject * obj0 = 0 ;
22998 PyObject * obj1 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self",(char *) "url", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23005 {
23006 arg2 = wxString_in_helper(obj1);
23007 if (arg2 == NULL) SWIG_fail;
23008 temp2 = True;
23009 }
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 (arg1)->SetURL((wxString const &)*arg2);
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 Py_INCREF(Py_None); resultobj = Py_None;
23018 {
23019 if (temp2)
23020 delete arg2;
23021 }
23022 return resultobj;
23023 fail:
23024 {
23025 if (temp2)
23026 delete arg2;
23027 }
23028 return NULL;
23029 }
23030
23031
23032 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23033 PyObject *obj;
23034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23035 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23036 Py_INCREF(obj);
23037 return Py_BuildValue((char *)"");
23038 }
23039 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23040 PyObject *resultobj;
23041 wxMetafileDataObject *result;
23042 char *kwnames[] = {
23043 NULL
23044 };
23045
23046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23064 wxMetafile *arg2 = 0 ;
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self",(char *) "metafile", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMetafile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23074 if (arg2 == NULL) {
23075 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23076 }
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 (arg1)->SetMetafile((wxMetafile const &)*arg2);
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 Py_INCREF(Py_None); resultobj = Py_None;
23085 return resultobj;
23086 fail:
23087 return NULL;
23088 }
23089
23090
23091 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23092 PyObject *resultobj;
23093 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23094 wxMetafile result;
23095 PyObject * obj0 = 0 ;
23096 char *kwnames[] = {
23097 (char *) "self", NULL
23098 };
23099
23100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
23101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23102 {
23103 PyThreadState* __tstate = wxPyBeginAllowThreads();
23104 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
23105
23106 wxPyEndAllowThreads(__tstate);
23107 if (PyErr_Occurred()) SWIG_fail;
23108 }
23109 {
23110 wxMetafile * resultptr;
23111 resultptr = new wxMetafile((wxMetafile &) result);
23112 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMetafile, 1);
23113 }
23114 return resultobj;
23115 fail:
23116 return NULL;
23117 }
23118
23119
23120 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23121 PyObject *obj;
23122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23123 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23124 Py_INCREF(obj);
23125 return Py_BuildValue((char *)"");
23126 }
23127 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 int arg1 ;
23130 bool result;
23131 char *kwnames[] = {
23132 (char *) "res", NULL
23133 };
23134
23135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23136 {
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23139
23140 wxPyEndAllowThreads(__tstate);
23141 if (PyErr_Occurred()) SWIG_fail;
23142 }
23143 resultobj = PyInt_FromLong((long)result);
23144 return resultobj;
23145 fail:
23146 return NULL;
23147 }
23148
23149
23150 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23151 PyObject *resultobj;
23152 wxWindow *arg1 = (wxWindow *) NULL ;
23153 wxCursor const &arg2_defvalue = wxNullCursor ;
23154 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
23155 wxCursor const &arg3_defvalue = wxNullCursor ;
23156 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
23157 wxCursor const &arg4_defvalue = wxNullCursor ;
23158 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
23159 wxPyDropSource *result;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 PyObject * obj2 = 0 ;
23163 PyObject * obj3 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23169 if (obj0) {
23170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23171 }
23172 if (obj1) {
23173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23174 if (arg2 == NULL) {
23175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23176 }
23177 }
23178 if (obj2) {
23179 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23180 if (arg3 == NULL) {
23181 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23182 }
23183 }
23184 if (obj3) {
23185 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23186 if (arg4 == NULL) {
23187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23188 }
23189 }
23190 {
23191 PyThreadState* __tstate = wxPyBeginAllowThreads();
23192 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
23193
23194 wxPyEndAllowThreads(__tstate);
23195 if (PyErr_Occurred()) SWIG_fail;
23196 }
23197 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23198 return resultobj;
23199 fail:
23200 return NULL;
23201 }
23202
23203
23204 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23205 PyObject *resultobj;
23206 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23207 PyObject *arg2 = (PyObject *) 0 ;
23208 PyObject *arg3 = (PyObject *) 0 ;
23209 int arg4 ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 PyObject * obj2 = 0 ;
23213 char *kwnames[] = {
23214 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23219 arg2 = obj1;
23220 arg3 = obj2;
23221 {
23222 PyThreadState* __tstate = wxPyBeginAllowThreads();
23223 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23224
23225 wxPyEndAllowThreads(__tstate);
23226 if (PyErr_Occurred()) SWIG_fail;
23227 }
23228 Py_INCREF(Py_None); resultobj = Py_None;
23229 return resultobj;
23230 fail:
23231 return NULL;
23232 }
23233
23234
23235 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23236 PyObject *resultobj;
23237 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23238 PyObject * obj0 = 0 ;
23239 char *kwnames[] = {
23240 (char *) "self", NULL
23241 };
23242
23243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 delete arg1;
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 Py_INCREF(Py_None); resultobj = Py_None;
23253 return resultobj;
23254 fail:
23255 return NULL;
23256 }
23257
23258
23259 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23260 PyObject *resultobj;
23261 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23262 wxDataObject *arg2 = 0 ;
23263 PyObject * obj0 = 0 ;
23264 PyObject * obj1 = 0 ;
23265 char *kwnames[] = {
23266 (char *) "self",(char *) "data", NULL
23267 };
23268
23269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23272 if (arg2 == NULL) {
23273 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23274 }
23275 {
23276 PyThreadState* __tstate = wxPyBeginAllowThreads();
23277 (arg1)->SetData(*arg2);
23278
23279 wxPyEndAllowThreads(__tstate);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 }
23282 Py_INCREF(Py_None); resultobj = Py_None;
23283 return resultobj;
23284 fail:
23285 return NULL;
23286 }
23287
23288
23289 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23290 PyObject *resultobj;
23291 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23292 wxDataObject *result;
23293 PyObject * obj0 = 0 ;
23294 char *kwnames[] = {
23295 (char *) "self", NULL
23296 };
23297
23298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 result = (wxDataObject *)(arg1)->GetDataObject();
23303
23304 wxPyEndAllowThreads(__tstate);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 }
23307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23315 PyObject *resultobj;
23316 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23317 int arg2 ;
23318 wxCursor *arg3 = 0 ;
23319 PyObject * obj0 = 0 ;
23320 PyObject * obj2 = 0 ;
23321 char *kwnames[] = {
23322 (char *) "self",(char *) "res",(char *) "cursor", NULL
23323 };
23324
23325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23327 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23328 if (arg3 == NULL) {
23329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23330 }
23331 {
23332 PyThreadState* __tstate = wxPyBeginAllowThreads();
23333 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23334
23335 wxPyEndAllowThreads(__tstate);
23336 if (PyErr_Occurred()) SWIG_fail;
23337 }
23338 Py_INCREF(Py_None); resultobj = Py_None;
23339 return resultobj;
23340 fail:
23341 return NULL;
23342 }
23343
23344
23345 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23346 PyObject *resultobj;
23347 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23348 int arg2 = (int) wxDrag_CopyOnly ;
23349 int result;
23350 PyObject * obj0 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self",(char *) "flags", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 result = (int)(arg1)->DoDragDrop(arg2);
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 resultobj = PyInt_FromLong((long)result);
23365 return resultobj;
23366 fail:
23367 return NULL;
23368 }
23369
23370
23371 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23374 int arg2 ;
23375 bool result;
23376 PyObject * obj0 = 0 ;
23377 char *kwnames[] = {
23378 (char *) "self",(char *) "effect", NULL
23379 };
23380
23381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23383 {
23384 PyThreadState* __tstate = wxPyBeginAllowThreads();
23385 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23386
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 resultobj = PyInt_FromLong((long)result);
23391 return resultobj;
23392 fail:
23393 return NULL;
23394 }
23395
23396
23397 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23398 PyObject *obj;
23399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23400 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23401 Py_INCREF(obj);
23402 return Py_BuildValue((char *)"");
23403 }
23404 static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj;
23406 wxDataObject *arg1 = (wxDataObject *) NULL ;
23407 wxPyDropTarget *result;
23408 PyObject * obj0 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "dataObject", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
23414 if (obj0) {
23415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23416 }
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23425 return resultobj;
23426 fail:
23427 return NULL;
23428 }
23429
23430
23431 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23432 PyObject *resultobj;
23433 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23434 PyObject *arg2 = (PyObject *) 0 ;
23435 PyObject *arg3 = (PyObject *) 0 ;
23436 PyObject * obj0 = 0 ;
23437 PyObject * obj1 = 0 ;
23438 PyObject * obj2 = 0 ;
23439 char *kwnames[] = {
23440 (char *) "self",(char *) "self",(char *) "_class", NULL
23441 };
23442
23443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23445 arg2 = obj1;
23446 arg3 = obj2;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 (arg1)->_setCallbackInfo(arg2,arg3);
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 Py_INCREF(Py_None); resultobj = Py_None;
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23464 PyObject * obj0 = 0 ;
23465 char *kwnames[] = {
23466 (char *) "self", NULL
23467 };
23468
23469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23471 {
23472 PyThreadState* __tstate = wxPyBeginAllowThreads();
23473 delete arg1;
23474
23475 wxPyEndAllowThreads(__tstate);
23476 if (PyErr_Occurred()) SWIG_fail;
23477 }
23478 Py_INCREF(Py_None); resultobj = Py_None;
23479 return resultobj;
23480 fail:
23481 return NULL;
23482 }
23483
23484
23485 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23486 PyObject *resultobj;
23487 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23488 wxDataObject *result;
23489 PyObject * obj0 = 0 ;
23490 char *kwnames[] = {
23491 (char *) "self", NULL
23492 };
23493
23494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23496 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 result = (wxDataObject *)(arg1)->GetDataObject();
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23504 return resultobj;
23505 fail:
23506 return NULL;
23507 }
23508
23509
23510 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23511 PyObject *resultobj;
23512 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23513 wxDataObject *arg2 = (wxDataObject *) 0 ;
23514 PyObject * obj0 = 0 ;
23515 PyObject * obj1 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self",(char *) "dataObject", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 (arg1)->SetDataObject(arg2);
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 Py_INCREF(Py_None); resultobj = Py_None;
23531 return resultobj;
23532 fail:
23533 return NULL;
23534 }
23535
23536
23537 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23538 PyObject *resultobj;
23539 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23540 int arg2 ;
23541 int arg3 ;
23542 int arg4 ;
23543 int result;
23544 PyObject * obj0 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 resultobj = PyInt_FromLong((long)result);
23559 return resultobj;
23560 fail:
23561 return NULL;
23562 }
23563
23564
23565 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23566 PyObject *resultobj;
23567 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23568 int arg2 ;
23569 int arg3 ;
23570 int arg4 ;
23571 int result;
23572 PyObject * obj0 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23579 {
23580 PyThreadState* __tstate = wxPyBeginAllowThreads();
23581 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23582
23583 wxPyEndAllowThreads(__tstate);
23584 if (PyErr_Occurred()) SWIG_fail;
23585 }
23586 resultobj = PyInt_FromLong((long)result);
23587 return resultobj;
23588 fail:
23589 return NULL;
23590 }
23591
23592
23593 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23594 PyObject *resultobj;
23595 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23596 PyObject * obj0 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 (arg1)->base_OnLeave();
23606
23607 wxPyEndAllowThreads(__tstate);
23608 if (PyErr_Occurred()) SWIG_fail;
23609 }
23610 Py_INCREF(Py_None); resultobj = Py_None;
23611 return resultobj;
23612 fail:
23613 return NULL;
23614 }
23615
23616
23617 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23618 PyObject *resultobj;
23619 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23620 int arg2 ;
23621 int arg3 ;
23622 bool result;
23623 PyObject * obj0 = 0 ;
23624 char *kwnames[] = {
23625 (char *) "self",(char *) "x",(char *) "y", NULL
23626 };
23627
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 resultobj = PyInt_FromLong((long)result);
23638 return resultobj;
23639 fail:
23640 return NULL;
23641 }
23642
23643
23644 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23645 PyObject *resultobj;
23646 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23647 bool result;
23648 PyObject * obj0 = 0 ;
23649 char *kwnames[] = {
23650 (char *) "self", NULL
23651 };
23652
23653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (bool)(arg1)->GetData();
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 resultobj = PyInt_FromLong((long)result);
23663 return resultobj;
23664 fail:
23665 return NULL;
23666 }
23667
23668
23669 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23670 PyObject *obj;
23671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23672 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23673 Py_INCREF(obj);
23674 return Py_BuildValue((char *)"");
23675 }
23676 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23677 PyObject *resultobj;
23678 wxPyTextDropTarget *result;
23679 char *kwnames[] = {
23680 NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23692 return resultobj;
23693 fail:
23694 return NULL;
23695 }
23696
23697
23698 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23699 PyObject *resultobj;
23700 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23701 PyObject *arg2 = (PyObject *) 0 ;
23702 PyObject *arg3 = (PyObject *) 0 ;
23703 PyObject * obj0 = 0 ;
23704 PyObject * obj1 = 0 ;
23705 PyObject * obj2 = 0 ;
23706 char *kwnames[] = {
23707 (char *) "self",(char *) "self",(char *) "_class", NULL
23708 };
23709
23710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23712 arg2 = obj1;
23713 arg3 = obj2;
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 (arg1)->_setCallbackInfo(arg2,arg3);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 Py_INCREF(Py_None); resultobj = Py_None;
23722 return resultobj;
23723 fail:
23724 return NULL;
23725 }
23726
23727
23728 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23729 PyObject *resultobj;
23730 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23731 int arg2 ;
23732 int arg3 ;
23733 int arg4 ;
23734 int result;
23735 PyObject * obj0 = 0 ;
23736 char *kwnames[] = {
23737 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23738 };
23739
23740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 resultobj = PyInt_FromLong((long)result);
23750 return resultobj;
23751 fail:
23752 return NULL;
23753 }
23754
23755
23756 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23759 int arg2 ;
23760 int arg3 ;
23761 int arg4 ;
23762 int result;
23763 PyObject * obj0 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23766 };
23767
23768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 resultobj = PyInt_FromLong((long)result);
23778 return resultobj;
23779 fail:
23780 return NULL;
23781 }
23782
23783
23784 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23787 PyObject * obj0 = 0 ;
23788 char *kwnames[] = {
23789 (char *) "self", NULL
23790 };
23791
23792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 (arg1)->base_OnLeave();
23797
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 Py_INCREF(Py_None); resultobj = Py_None;
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23809 PyObject *resultobj;
23810 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23811 int arg2 ;
23812 int arg3 ;
23813 bool result;
23814 PyObject * obj0 = 0 ;
23815 char *kwnames[] = {
23816 (char *) "self",(char *) "x",(char *) "y", NULL
23817 };
23818
23819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23821 {
23822 PyThreadState* __tstate = wxPyBeginAllowThreads();
23823 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23824
23825 wxPyEndAllowThreads(__tstate);
23826 if (PyErr_Occurred()) SWIG_fail;
23827 }
23828 resultobj = PyInt_FromLong((long)result);
23829 return resultobj;
23830 fail:
23831 return NULL;
23832 }
23833
23834
23835 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj;
23837 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23838 int arg2 ;
23839 int arg3 ;
23840 int arg4 ;
23841 int result;
23842 PyObject * obj0 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23852
23853 wxPyEndAllowThreads(__tstate);
23854 if (PyErr_Occurred()) SWIG_fail;
23855 }
23856 resultobj = PyInt_FromLong((long)result);
23857 return resultobj;
23858 fail:
23859 return NULL;
23860 }
23861
23862
23863 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23864 PyObject *obj;
23865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23866 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23867 Py_INCREF(obj);
23868 return Py_BuildValue((char *)"");
23869 }
23870 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23871 PyObject *resultobj;
23872 wxPyFileDropTarget *result;
23873 char *kwnames[] = {
23874 NULL
23875 };
23876
23877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23881
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23886 return resultobj;
23887 fail:
23888 return NULL;
23889 }
23890
23891
23892 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23893 PyObject *resultobj;
23894 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23895 PyObject *arg2 = (PyObject *) 0 ;
23896 PyObject *arg3 = (PyObject *) 0 ;
23897 PyObject * obj0 = 0 ;
23898 PyObject * obj1 = 0 ;
23899 PyObject * obj2 = 0 ;
23900 char *kwnames[] = {
23901 (char *) "self",(char *) "self",(char *) "_class", NULL
23902 };
23903
23904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23906 arg2 = obj1;
23907 arg3 = obj2;
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 (arg1)->_setCallbackInfo(arg2,arg3);
23911
23912 wxPyEndAllowThreads(__tstate);
23913 if (PyErr_Occurred()) SWIG_fail;
23914 }
23915 Py_INCREF(Py_None); resultobj = Py_None;
23916 return resultobj;
23917 fail:
23918 return NULL;
23919 }
23920
23921
23922 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23923 PyObject *resultobj;
23924 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23925 int arg2 ;
23926 int arg3 ;
23927 int arg4 ;
23928 int result;
23929 PyObject * obj0 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 resultobj = PyInt_FromLong((long)result);
23944 return resultobj;
23945 fail:
23946 return NULL;
23947 }
23948
23949
23950 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23951 PyObject *resultobj;
23952 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23953 int arg2 ;
23954 int arg3 ;
23955 int arg4 ;
23956 int result;
23957 PyObject * obj0 = 0 ;
23958 char *kwnames[] = {
23959 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23960 };
23961
23962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23967
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
23971 resultobj = PyInt_FromLong((long)result);
23972 return resultobj;
23973 fail:
23974 return NULL;
23975 }
23976
23977
23978 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23979 PyObject *resultobj;
23980 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23981 PyObject * obj0 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "self", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 (arg1)->base_OnLeave();
23991
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
23995 Py_INCREF(Py_None); resultobj = Py_None;
23996 return resultobj;
23997 fail:
23998 return NULL;
23999 }
24000
24001
24002 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24003 PyObject *resultobj;
24004 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24005 int arg2 ;
24006 int arg3 ;
24007 bool result;
24008 PyObject * obj0 = 0 ;
24009 char *kwnames[] = {
24010 (char *) "self",(char *) "x",(char *) "y", NULL
24011 };
24012
24013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24018
24019 wxPyEndAllowThreads(__tstate);
24020 if (PyErr_Occurred()) SWIG_fail;
24021 }
24022 resultobj = PyInt_FromLong((long)result);
24023 return resultobj;
24024 fail:
24025 return NULL;
24026 }
24027
24028
24029 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24032 int arg2 ;
24033 int arg3 ;
24034 int arg4 ;
24035 int result;
24036 PyObject * obj0 = 0 ;
24037 char *kwnames[] = {
24038 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24039 };
24040
24041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24046
24047 wxPyEndAllowThreads(__tstate);
24048 if (PyErr_Occurred()) SWIG_fail;
24049 }
24050 resultobj = PyInt_FromLong((long)result);
24051 return resultobj;
24052 fail:
24053 return NULL;
24054 }
24055
24056
24057 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24058 PyObject *obj;
24059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24060 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24061 Py_INCREF(obj);
24062 return Py_BuildValue((char *)"");
24063 }
24064 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24065 PyObject *resultobj;
24066 wxClipboard *result;
24067 char *kwnames[] = {
24068 NULL
24069 };
24070
24071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24072 {
24073 PyThreadState* __tstate = wxPyBeginAllowThreads();
24074 result = (wxClipboard *)new wxClipboard();
24075
24076 wxPyEndAllowThreads(__tstate);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 }
24079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24080 return resultobj;
24081 fail:
24082 return NULL;
24083 }
24084
24085
24086 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24087 PyObject *resultobj;
24088 wxClipboard *arg1 = (wxClipboard *) 0 ;
24089 PyObject * obj0 = 0 ;
24090 char *kwnames[] = {
24091 (char *) "self", NULL
24092 };
24093
24094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24096 {
24097 PyThreadState* __tstate = wxPyBeginAllowThreads();
24098 delete arg1;
24099
24100 wxPyEndAllowThreads(__tstate);
24101 if (PyErr_Occurred()) SWIG_fail;
24102 }
24103 Py_INCREF(Py_None); resultobj = Py_None;
24104 return resultobj;
24105 fail:
24106 return NULL;
24107 }
24108
24109
24110 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24111 PyObject *resultobj;
24112 wxClipboard *arg1 = (wxClipboard *) 0 ;
24113 bool result;
24114 PyObject * obj0 = 0 ;
24115 char *kwnames[] = {
24116 (char *) "self", NULL
24117 };
24118
24119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
24123 result = (bool)(arg1)->Open();
24124
24125 wxPyEndAllowThreads(__tstate);
24126 if (PyErr_Occurred()) SWIG_fail;
24127 }
24128 resultobj = PyInt_FromLong((long)result);
24129 return resultobj;
24130 fail:
24131 return NULL;
24132 }
24133
24134
24135 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24136 PyObject *resultobj;
24137 wxClipboard *arg1 = (wxClipboard *) 0 ;
24138 PyObject * obj0 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 (arg1)->Close();
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 Py_INCREF(Py_None); resultobj = Py_None;
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxClipboard *arg1 = (wxClipboard *) 0 ;
24162 bool result;
24163 PyObject * obj0 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24173
24174 wxPyEndAllowThreads(__tstate);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 resultobj = PyInt_FromLong((long)result);
24178 return resultobj;
24179 fail:
24180 return NULL;
24181 }
24182
24183
24184 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxClipboard *arg1 = (wxClipboard *) 0 ;
24187 wxDataObject *arg2 = (wxDataObject *) 0 ;
24188 bool result;
24189 PyObject * obj0 = 0 ;
24190 PyObject * obj1 = 0 ;
24191 char *kwnames[] = {
24192 (char *) "self",(char *) "data", NULL
24193 };
24194
24195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24198 {
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 result = (bool)(arg1)->AddData(arg2);
24201
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
24205 resultobj = PyInt_FromLong((long)result);
24206 return resultobj;
24207 fail:
24208 return NULL;
24209 }
24210
24211
24212 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24213 PyObject *resultobj;
24214 wxClipboard *arg1 = (wxClipboard *) 0 ;
24215 wxDataObject *arg2 = (wxDataObject *) 0 ;
24216 bool result;
24217 PyObject * obj0 = 0 ;
24218 PyObject * obj1 = 0 ;
24219 char *kwnames[] = {
24220 (char *) "self",(char *) "data", NULL
24221 };
24222
24223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24225 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24226 {
24227 PyThreadState* __tstate = wxPyBeginAllowThreads();
24228 result = (bool)(arg1)->SetData(arg2);
24229
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 resultobj = PyInt_FromLong((long)result);
24234 return resultobj;
24235 fail:
24236 return NULL;
24237 }
24238
24239
24240 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24241 PyObject *resultobj;
24242 wxClipboard *arg1 = (wxClipboard *) 0 ;
24243 wxDataFormat *arg2 = 0 ;
24244 bool result;
24245 PyObject * obj0 = 0 ;
24246 PyObject * obj1 = 0 ;
24247 char *kwnames[] = {
24248 (char *) "self",(char *) "format", NULL
24249 };
24250
24251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24254 if (arg2 == NULL) {
24255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24256 }
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
24259 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 resultobj = PyInt_FromLong((long)result);
24265 return resultobj;
24266 fail:
24267 return NULL;
24268 }
24269
24270
24271 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24272 PyObject *resultobj;
24273 wxClipboard *arg1 = (wxClipboard *) 0 ;
24274 wxDataObject *arg2 = 0 ;
24275 bool result;
24276 PyObject * obj0 = 0 ;
24277 PyObject * obj1 = 0 ;
24278 char *kwnames[] = {
24279 (char *) "self",(char *) "data", NULL
24280 };
24281
24282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24285 if (arg2 == NULL) {
24286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24287 }
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = (bool)(arg1)->GetData(*arg2);
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 resultobj = PyInt_FromLong((long)result);
24296 return resultobj;
24297 fail:
24298 return NULL;
24299 }
24300
24301
24302 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj;
24304 wxClipboard *arg1 = (wxClipboard *) 0 ;
24305 PyObject * obj0 = 0 ;
24306 char *kwnames[] = {
24307 (char *) "self", NULL
24308 };
24309
24310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24312 {
24313 PyThreadState* __tstate = wxPyBeginAllowThreads();
24314 (arg1)->Clear();
24315
24316 wxPyEndAllowThreads(__tstate);
24317 if (PyErr_Occurred()) SWIG_fail;
24318 }
24319 Py_INCREF(Py_None); resultobj = Py_None;
24320 return resultobj;
24321 fail:
24322 return NULL;
24323 }
24324
24325
24326 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24327 PyObject *resultobj;
24328 wxClipboard *arg1 = (wxClipboard *) 0 ;
24329 bool result;
24330 PyObject * obj0 = 0 ;
24331 char *kwnames[] = {
24332 (char *) "self", NULL
24333 };
24334
24335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 result = (bool)(arg1)->Flush();
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 resultobj = PyInt_FromLong((long)result);
24345 return resultobj;
24346 fail:
24347 return NULL;
24348 }
24349
24350
24351 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj;
24353 wxClipboard *arg1 = (wxClipboard *) 0 ;
24354 bool arg2 = (bool) False ;
24355 PyObject * obj0 = 0 ;
24356 PyObject * obj1 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self",(char *) "primary", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24363 if (obj1) {
24364 arg2 = PyInt_AsLong(obj1) ? true : false;
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 {
24368 PyThreadState* __tstate = wxPyBeginAllowThreads();
24369 (arg1)->UsePrimarySelection(arg2);
24370
24371 wxPyEndAllowThreads(__tstate);
24372 if (PyErr_Occurred()) SWIG_fail;
24373 }
24374 Py_INCREF(Py_None); resultobj = Py_None;
24375 return resultobj;
24376 fail:
24377 return NULL;
24378 }
24379
24380
24381 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24382 PyObject *obj;
24383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24384 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24385 Py_INCREF(obj);
24386 return Py_BuildValue((char *)"");
24387 }
24388 static int _wrap_TheClipboard_set(PyObject *_val) {
24389 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24390 return 1;
24391 }
24392
24393
24394 static PyObject *_wrap_TheClipboard_get() {
24395 PyObject *pyobj;
24396
24397 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24398 return pyobj;
24399 }
24400
24401
24402 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24403 PyObject *resultobj;
24404 wxClipboard *arg1 = (wxClipboard *) NULL ;
24405 wxClipboardLocker *result;
24406 PyObject * obj0 = 0 ;
24407 char *kwnames[] = {
24408 (char *) "clipboard", NULL
24409 };
24410
24411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24412 if (obj0) {
24413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24414 }
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24432 PyObject * obj0 = 0 ;
24433 char *kwnames[] = {
24434 (char *) "self", NULL
24435 };
24436
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 delete arg1;
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 Py_INCREF(Py_None); resultobj = Py_None;
24447 return resultobj;
24448 fail:
24449 return NULL;
24450 }
24451
24452
24453 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24454 PyObject *resultobj;
24455 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24456 bool result;
24457 PyObject * obj0 = 0 ;
24458 char *kwnames[] = {
24459 (char *) "self", NULL
24460 };
24461
24462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24464 {
24465 PyThreadState* __tstate = wxPyBeginAllowThreads();
24466 result = (bool)wxClipboardLocker___nonzero__(arg1);
24467
24468 wxPyEndAllowThreads(__tstate);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 }
24471 resultobj = PyInt_FromLong((long)result);
24472 return resultobj;
24473 fail:
24474 return NULL;
24475 }
24476
24477
24478 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24479 PyObject *obj;
24480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24481 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24482 Py_INCREF(obj);
24483 return Py_BuildValue((char *)"");
24484 }
24485 static PyMethodDef SwigMethods[] = {
24486 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24493 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24500 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24559 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24567 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24583 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24588 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24591 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24594 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24600 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24614 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24620 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24626 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24629 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24642 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24645 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24646 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24649 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24676 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24678 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24680 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24682 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24689 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24695 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
24708 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24713 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24716 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24733 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24741 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24787 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24815 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24821 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24837 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24853 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24867 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24876 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
24919 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
24923 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
24926 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
24929 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25021 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25022 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25023 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25024 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25025 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25026 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25027 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25028 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25029 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25030 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25041 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25086 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25120 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25128 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25129 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25134 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25143 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25147 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25150 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25153 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25158 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25161 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25165 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25168 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25171 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25177 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25181 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25185 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25195 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25206 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25214 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25222 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25235 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25239 { NULL, NULL }
25240 };
25241
25242
25243 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25244
25245 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25246 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25247 }
25248 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25249 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25250 }
25251 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25252 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25253 }
25254 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25255 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25256 }
25257 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25258 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25259 }
25260 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25261 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25262 }
25263 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25264 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25265 }
25266 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25267 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25268 }
25269 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25270 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25271 }
25272 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25273 return (void *)((wxEvent *) ((wxPyEvent *) x));
25274 }
25275 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25277 }
25278 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25279 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25280 }
25281 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25282 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25283 }
25284 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25285 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25286 }
25287 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25288 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25289 }
25290 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25291 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25292 }
25293 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25294 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25295 }
25296 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25297 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25298 }
25299 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25300 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25301 }
25302 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25303 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25304 }
25305 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25306 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25307 }
25308 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25309 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25310 }
25311 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25312 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25313 }
25314 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25315 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25316 }
25317 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25318 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25319 }
25320 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25321 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25322 }
25323 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25324 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25325 }
25326 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25327 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25328 }
25329 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25330 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25331 }
25332 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25333 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25334 }
25335 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25336 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25337 }
25338 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25339 return (void *)((wxEvent *) ((wxShowEvent *) x));
25340 }
25341 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25342 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25343 }
25344 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25345 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25346 }
25347 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25349 }
25350 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25351 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25352 }
25353 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25354 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25355 }
25356 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25357 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25358 }
25359 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25360 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25361 }
25362 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25363 return (void *)((wxConfigBase *) ((wxConfig *) x));
25364 }
25365 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25366 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25367 }
25368 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25369 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25370 }
25371 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25372 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25373 }
25374 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25375 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25376 }
25377 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25378 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25379 }
25380 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25381 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25382 }
25383 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25384 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25385 }
25386 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25387 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25388 }
25389 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25390 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25391 }
25392 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25393 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25394 }
25395 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25396 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25397 }
25398 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25399 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25400 }
25401 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25402 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25403 }
25404 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25405 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25406 }
25407 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25408 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25409 }
25410 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25411 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25412 }
25413 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25414 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25415 }
25416 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25417 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25418 }
25419 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25420 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25421 }
25422 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25423 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25424 }
25425 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25426 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25427 }
25428 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25429 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25430 }
25431 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25432 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25433 }
25434 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25435 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25436 }
25437 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25438 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25439 }
25440 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25441 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25442 }
25443 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25444 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25445 }
25446 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25447 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25448 }
25449 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25450 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25451 }
25452 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25453 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25454 }
25455 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25456 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25457 }
25458 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25459 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25460 }
25461 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25462 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25463 }
25464 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25465 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25466 }
25467 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25468 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25469 }
25470 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25471 return (void *)((wxObject *) ((wxSizerItem *) x));
25472 }
25473 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25474 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25475 }
25476 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25477 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25478 }
25479 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25480 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25481 }
25482 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25483 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25484 }
25485 static void *_p_wxSizerTo_p_wxObject(void *x) {
25486 return (void *)((wxObject *) ((wxSizer *) x));
25487 }
25488 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25489 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25490 }
25491 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25492 return (void *)((wxObject *) ((wxFileHistory *) x));
25493 }
25494 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25495 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25496 }
25497 static void *_p_wxEventTo_p_wxObject(void *x) {
25498 return (void *)((wxObject *) ((wxEvent *) x));
25499 }
25500 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25501 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25502 }
25503 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25504 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25505 }
25506 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25507 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25508 }
25509 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25511 }
25512 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25514 }
25515 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25517 }
25518 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25520 }
25521 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25523 }
25524 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25526 }
25527 static void *_p_wxControlTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25529 }
25530 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25532 }
25533 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25535 }
25536 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25537 return (void *)((wxObject *) ((wxFSFile *) x));
25538 }
25539 static void *_p_wxClipboardTo_p_wxObject(void *x) {
25540 return (void *)((wxObject *) ((wxClipboard *) x));
25541 }
25542 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25543 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25544 }
25545 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25546 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25547 }
25548 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25550 }
25551 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25552 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25553 }
25554 static void *_p_wxToolTipTo_p_wxObject(void *x) {
25555 return (void *)((wxObject *) ((wxToolTip *) x));
25556 }
25557 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25558 return (void *)((wxObject *) ((wxMenuItem *) x));
25559 }
25560 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25561 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25562 }
25563 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25564 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25565 }
25566 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25568 }
25569 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25571 }
25572 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25574 }
25575 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25577 }
25578 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25580 }
25581 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25583 }
25584 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25586 }
25587 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25589 }
25590 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25592 }
25593 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25595 }
25596 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25598 }
25599 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25601 }
25602 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25604 }
25605 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25607 }
25608 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25610 }
25611 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25613 }
25614 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) ((wxImageHandler *) x));
25616 }
25617 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25619 }
25620 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) ((wxEvtHandler *) x));
25622 }
25623 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25625 }
25626 static void *_p_wxImageTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) ((wxImage *) x));
25628 }
25629 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25631 }
25632 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) ((wxSystemOptions *) x));
25634 }
25635 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25637 }
25638 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25640 }
25641 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25643 }
25644 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25646 }
25647 static void *_p_wxWindowTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25649 }
25650 static void *_p_wxMenuTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25652 }
25653 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25655 }
25656 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25658 }
25659 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) ((wxFileSystem *) x));
25661 }
25662 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25664 }
25665 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25667 }
25668 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25670 }
25671 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25673 }
25674 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25676 }
25677 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25679 }
25680 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) ((wxBusyInfo *) x));
25682 }
25683 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25685 }
25686 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25688 }
25689 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25691 }
25692 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25694 }
25695 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25697 }
25698 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25700 }
25701 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25703 }
25704 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25706 }
25707 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25709 }
25710 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25712 }
25713 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25714 return (void *)((wxLog *) ((wxLogStderr *) x));
25715 }
25716 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25717 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25718 }
25719 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25720 return (void *)((wxLog *) ((wxLogWindow *) x));
25721 }
25722 static void *_p_wxLogChainTo_p_wxLog(void *x) {
25723 return (void *)((wxLog *) ((wxLogChain *) x));
25724 }
25725 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25726 return (void *)((wxLog *) ((wxLogGui *) x));
25727 }
25728 static void *_p_wxPyLogTo_p_wxLog(void *x) {
25729 return (void *)((wxLog *) ((wxPyLog *) x));
25730 }
25731 static void *_p_wxControlTo_p_wxWindow(void *x) {
25732 return (void *)((wxWindow *) ((wxControl *) x));
25733 }
25734 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25735 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25736 }
25737 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25738 return (void *)((wxWindow *) ((wxMenuBar *) x));
25739 }
25740 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25741 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25742 }
25743 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25744 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25745 }
25746 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25747 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25748 static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
25749 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25750 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}};
25751 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25752 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25753 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}};
25754 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}};
25755 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25756 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25757 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25758 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25759 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25760 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25761 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25762 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25763 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25764 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25765 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25766 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25767 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25768 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25769 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25770 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25771 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25772 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25773 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25774 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25775 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25776 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25777 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25778 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}};
25779 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25780 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25781 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25782 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25783 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25784 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25785 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25786 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25787 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25788 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25789 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25790 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25791 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25792 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}};
25793 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}};
25794 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25795 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25796 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25797 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25798 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25799 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25800 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25801 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25802 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25803 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25804 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25805 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25806 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25807 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25808 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}};
25809 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25810 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25811 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25812 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}};
25813 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25814 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25815 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25816 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25817 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25818 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25819 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}};
25820 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25821 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25822 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25823 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25824 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25825 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25826 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25827 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25828 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25829
25830 static swig_type_info *swig_types_initial[] = {
25831 _swigt__p_wxLogChain,
25832 _swigt__p_wxMutexGuiLocker,
25833 _swigt__p_wxMetafile,
25834 _swigt__p_wxFileHistory,
25835 _swigt__p_wxLog,
25836 _swigt__p_wxDateTime__TimeZone,
25837 _swigt__p_wxMenu,
25838 _swigt__p_wxEvent,
25839 _swigt__p_wxConfigBase,
25840 _swigt__p_wxWave,
25841 _swigt__p_wxFileType,
25842 _swigt__p_wxLogGui,
25843 _swigt__p_wxFont,
25844 _swigt__p_wxDataFormat,
25845 _swigt__p_wxTimerEvent,
25846 _swigt__p_wxCaret,
25847 _swigt__p_int,
25848 _swigt__p_wxSize,
25849 _swigt__p_wxClipboard,
25850 _swigt__p_wxStopWatch,
25851 _swigt__p_wxDC,
25852 _swigt__p_wxClipboardLocker,
25853 _swigt__p_wxIcon,
25854 _swigt__p_wxLogStderr,
25855 _swigt__p_wxLogTextCtrl,
25856 _swigt__p_wxTextCtrl,
25857 _swigt__p_wxBusyCursor,
25858 _swigt__p_wxFileDataObject,
25859 _swigt__p_wxPyBitmapDataObject,
25860 _swigt__p_wxPyTextDataObject,
25861 _swigt__p_wxBitmapDataObject,
25862 _swigt__p_wxTextDataObject,
25863 _swigt__p_wxDataObject,
25864 _swigt__p_wxCustomDataObject,
25865 _swigt__p_wxURLDataObject,
25866 _swigt__p_wxMetafileDataObject,
25867 _swigt__p_wxTimerRunner,
25868 _swigt__p_wxLogWindow,
25869 _swigt__p_wxTimeSpan,
25870 _swigt__p_wxArrayString,
25871 _swigt__p_wxWindowDisabler,
25872 _swigt__p_wxToolTip,
25873 _swigt__p_wxDataObjectComposite,
25874 _swigt__p_wxFileConfig,
25875 _swigt__p_wxSystemSettings,
25876 _swigt__p_wxPyDataObjectSimple,
25877 _swigt__p_wxDataObjectSimple,
25878 _swigt__p_wxEvtHandler,
25879 _swigt__p_wxRect,
25880 _swigt__p_wxSingleInstanceChecker,
25881 _swigt__p_wxFileTypeInfo,
25882 _swigt__p_wxFrame,
25883 _swigt__p_wxTimer,
25884 _swigt__p_wxMimeTypesManager,
25885 _swigt__p_wxPyArtProvider,
25886 _swigt__p_wxPyTipProvider,
25887 _swigt__p_wxTipProvider,
25888 _swigt__p_wxJoystick,
25889 _swigt__p_wxSystemOptions,
25890 _swigt__p_wxPoint,
25891 _swigt__p_wxJoystickEvent,
25892 _swigt__p_wxCursor,
25893 _swigt__p_wxObject,
25894 _swigt__p_wxOutputStream,
25895 _swigt__p_wxDateTime,
25896 _swigt__p_wxPyDropSource,
25897 _swigt__p_wxWindow,
25898 _swigt__p_wxString,
25899 _swigt__p_wxPyProcess,
25900 _swigt__p_wxBitmap,
25901 _swigt__p_wxConfig,
25902 _swigt__p_wxChar,
25903 _swigt__p_wxBusyInfo,
25904 _swigt__p_wxPyDropTarget,
25905 _swigt__p_wxPyTextDropTarget,
25906 _swigt__p_wxPyFileDropTarget,
25907 _swigt__p_wxProcessEvent,
25908 _swigt__p_wxPyLog,
25909 _swigt__p_wxLogNull,
25910 _swigt__p_wxColour,
25911 _swigt__p_wxConfigPathChanger,
25912 _swigt__p_wxPyTimer,
25913 _swigt__p_wxDateSpan,
25914 0
25915 };
25916
25917
25918 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25919
25920 static swig_const_info swig_const_table[] = {
25921 { SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
25922 { SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
25923 { SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
25924 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
25925 { SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
25926 { SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
25927 { SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
25928 { SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
25929 { SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
25930 { SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
25931 { SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
25932 { SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
25933 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
25934 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
25935 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
25936 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
25937 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
25938 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
25939 { SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
25940 { SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
25941 { SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
25942 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
25943 { SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
25944 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
25945 { SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
25946 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
25947 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
25948 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
25949 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
25950 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
25951 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
25952 { SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
25953 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
25954 { SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
25955 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
25956 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
25957 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
25958 { SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
25959 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
25960 { SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
25961 { SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
25962 { SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
25963 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
25964 { SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
25965 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
25966 { SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
25967 { SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
25968 { SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
25969 { SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
25970 { SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
25971 { SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
25972 { SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
25973 { SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
25974 { SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
25975 { SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
25976 { SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
25977 { SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
25978 { SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
25979 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
25980 { SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
25981 { SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
25982 { SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
25983 { SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
25984 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
25985 { SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
25986 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
25987 { SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
25988 { SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
25989 { SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
25990 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
25991 { SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
25992 { SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
25993 { SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
25994 { SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
25995 { SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
25996 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
25997 { SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
25998 { SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
25999 { SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26000 { SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26001 { SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26002 { SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26003 { SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26004 { SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26005 { SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26006 { SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26007 { SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26008 { SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26009 { SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26010 { SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26011 { SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26012 { SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26013 { SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26014 { SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26015 { SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26016 { SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26017 { SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26018 { SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26019 { SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26020 { SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26021 { SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26022 { SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26023 { SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26024 { SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26025 { SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26026 { SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26027 { SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26028 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26029 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26030 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26031 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26032 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26033 { SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26034 { SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26035 { SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26036 { SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26037 { SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26038 { SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26039 { SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26040 { SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26041 { SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26042 { SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26043 { SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26044 { SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26045 { SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26046 { SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26047 { SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26048 { SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26049 { SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26050 { SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26051 { SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26052 { SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26053 { SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26054 { SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26055 { SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26056 { SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26057 { SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26058 { SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26059 { SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26060 { SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26061 { SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26062 { SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26063 { SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26064 { SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26065 { SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26066 { SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26067 { SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26068 { SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26069 { SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26070 { SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26071 { SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26072 { SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26073 { SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26074 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26075 { SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26076 { SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26077 { SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26078 { SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26079 { SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26080 { SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26081 { SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26082 { SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26083 { SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26084 { SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26085 { SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26086 { SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26087 { SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26088 { SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26089 { SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26090 { SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26091 { SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26092 { SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26093 { SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26094 { SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26095 { SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26096 { SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26097 { SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26098 { SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26099 { SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26100 { SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26101 { SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26102 { SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26103 { SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26104 { SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26105 { SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26106 { SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26107 { SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26108 { SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26109 { SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26110 { SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26111 { SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26112 { SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26113 { SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26114 { SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26115 { SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26116 { SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26117 { SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26118 { SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26119 { SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26120 { SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26121 { SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26122 { SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26123 { SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26124 { SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26125 { SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26126 { SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26127 { SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26128 { SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26129 { SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26130 { SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26131 { SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26132 { SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26133 { SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26134 { SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26135 { SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26136 { SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26137 { SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26138 { SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26139 { SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26140 { SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26141 { SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26142 { SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26143 { SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26144 { SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26145 { SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26146 { SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26147 { SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26148 { SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26149 { SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26150 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26151 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26152 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26153 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26154 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26155 { SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26156 { SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26157 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26158 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26159 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26160 { SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26161 { SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26162 { SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26163 { SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26164 { SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26165 { SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26166 { SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26167 { SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26168 { SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26169 { SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26170 { SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26171 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26172 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26173 { SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26174 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26175 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26176 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26177 { SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26178 { SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26179 { SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26180 { SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26181 { SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26182 { SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26183 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26184 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26185 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26186 { SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26187 { SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26188 { SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26189 { SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26190 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26191 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26192 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26193 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26194 { SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26195 { SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26196 { SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26197 { SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26198 { SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26199 { SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26200 { SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26201 { SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26202 { SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26203 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26204 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26205 { SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26206 { SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26207 { SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26208 { SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26209 { SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26210 { SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26211 { SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26212 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26213 { SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26214 { SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26215 { SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26216 { SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26217 { SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26218 { SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26219 { SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26220 { SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26221 { SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26222 { SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26223 { SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26224 { SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26225 { SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26226 { SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26227 { SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26228 { SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26229 { SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26230 { SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26231 { SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26232 { SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26233 { SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26234 { SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26235 { SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26236 { SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26237 { SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26238 { SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26239 { SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26240 { SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26241 { SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26242 { SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26243 { SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26244 { SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26245 { SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26246 { SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26247 { SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26248 { SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26249 { SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26250 { SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26251 { SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26252 { SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26253 { SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26254 { SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26255 { SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26256 { SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26257 { SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26258 { SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26259 { SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26260 { SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26261 { SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26262 { SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26263 { SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26264 { SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26265 { SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26266 { SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26267 { SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26268 { SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26269 { SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26270 { SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26271 { SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26272 { SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26273 { SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26274 { SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26275 { SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26276 { SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26277 { SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26278 { SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26279 {0}};
26280
26281 #ifdef __cplusplus
26282 }
26283 #endif
26284
26285 #ifdef __cplusplus
26286 extern "C"
26287 #endif
26288 SWIGEXPORT(void) SWIG_init(void) {
26289 static PyObject *SWIG_globals = 0;
26290 static int typeinit = 0;
26291 PyObject *m, *d;
26292 int i;
26293 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26294 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26295 d = PyModule_GetDict(m);
26296
26297 if (!typeinit) {
26298 for (i = 0; swig_types_initial[i]; i++) {
26299 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26300 }
26301 typeinit = 1;
26302 }
26303 SWIG_InstallConstants(d,swig_const_table);
26304
26305 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26306 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26307
26308 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26309
26310 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26311 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26312 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26313 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26314 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26315 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26316 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26317 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26318 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26319 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26320 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26321 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26322 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26323 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26324 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26325 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26326 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26327 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26328 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26329 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26330 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26331 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26332 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26333 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26334 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26335 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26336 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26337 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26338 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26339 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26340 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26341 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26342 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26343 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26344 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26345 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26346 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26347 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26348 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26349 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26350 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26351 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26352 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26353 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26354
26355 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26356
26357 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26358
26359 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26360 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26361 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26362 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26363
26364 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26365 }
26366